When executing DNF Update, you encountered the following problem:
[zhangz@zwfedora23 ~]$ sudo dnf update
[sudo] password for zhangz:
Error: Failed to synchronize cache for repo 'fedora'
[zhangz@zwfedora23 ~]$
Later, it was found that the agent problem was set before:
1 [main]
2 gpgcheck=1
3 installonly_limit=3
4 clean_requirements_on_remove=True
5
6 #proxy=http://10.0.13.109:808
~
~
~
~
~
~
~
~
~
~
~
/etc/dnf/dnf.conf [TYPE=] [POS=0006,0001][100%] [LEN=6]
"/etc/dnf/dnf.conf" [readonly] 6L, 103C
Just comment out the proxy line above.
all the existing proxy line, because I need a proxy in the company, otherwise when I connect to the external network, direct dial-up Internet at home there is no proxy problem, the 10 network segment of the LAN address does not exist, so the use of DNF will prompt an error.
Read More:
- Centos8 Install Failed to synchronize cache for repo ‘AppStream’, ignoring this repo.
- Alicloud centos8 reports an error “error: failed to synchronize cache for repo ‘EPEL modular’”
- After installation, Ubuntu encountered [SDB] asking for cache data failed assembling drive cache: write through
- Solve runtimeerror: reduce failed to synchronize: device side assert triggered problem
- Fedora32 start container error – OCI runtime create failed: This version of runc doesn’t work on cgroups V2: unknown
- Failed to mount / cache (no such device)
- Failed to load resource: net::ERR_ CACHE_ READ_ Failure solution
- Chrome Failed to load resource: net::ERR_CACHE_MISS
- Vue cli · failed to download repo vuejs templates / webpack: read econnreset
- Solution to Vue cli · failed to download repo vuejs templates/webpack: connect etimeout followed by an IP digital error message
- Condahttperror:HTTP000 Connection Failed for URL https://repo.anaconda.com/pkgs/main/win-6
- Fedora 14 yum Error: Cannot retrieve repository metadata (repomd.xml) for repository
- The solution to frequently pop up “cannot find a valid baseurl for repo” error prompt box in CentOS 6.7
- [Python CONDA error] cache entry design failed, entry ignored error resolution
- IOS automation: error dyld in Xcode compilation_ shared_ cache_ extract_ Dylibs failed — the solution is as follows
- Solve to the cache because there was insufficient free space available after evict
- Android 9 (P) recovery upgrade Map of ‘@/cache/recovery/block.map’ failed problem analysis guide
- CentOS 7 installation error: Cannot find a valid baseurl for repo: base/7/x86_6
- PHP artisan cache: clear command reports an error
- On the use of NPM cache clean — force