Error: Failed to synchronize cache for repo 'fedora'
来源:互联网 发布:mac如何卸载梦幻西游 编辑:程序博客网 时间:2024/06/08 00:54
执行dnf update时遇到了下面的问题:
[zhangz@zwfedora23 ~]$ sudo dnf update[sudo] password for zhangz: Error: Failed to synchronize cache for repo 'fedora'[zhangz@zwfedora23 ~]$
后来发现是之前设置的代理问题:
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
把上面的proxy那一行注释掉就可以了。
之所有存在proxy那一行,是因为我在公司里面需要一个代理,否则连接外网时连不上,在家里直接拨号上网就不存在使用代理的问题了,10网段的那个局域网地址也不存在,所以使用dnf时会提示错误。
0 0
- Error: Failed to synchronize cache for repo 'fedora'
- Failed to synchronize cache for repo 'fedora'
- repo sync error: Failed connect to android.googlesource.com:443
- PostgreSQL ERROR: cache lookup failed for function 98810
- Error launching ... failed to get the task for process ...
- cache lookup failed for attribute
- use update cache to synchronize the part in the cache with the library
- Error:(24, 13) Failed to resolve: com.android.support:recyclerview-v7:20.+ <a href="install.m2.repo"
- Error:(22, 13) Failed to resolve: com.android.support:appcompat-v7:14.+ <a href="install.m2.repo">In
- Error:(37, 13) Failed to resolve: com.android.support:appcompat-v7:26 <a href="install.m2.repo">Inst
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- 解决错误Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- 【Android studio】Error:Failed to open zip file. Gradle’s dependency cache may be corrupt
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- As导入新项目 Error:Failed to open zip file. Gradle's dependency cache may be corrupt ...
- studio编译错误Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- Error:Failed to open zip file. Gradle's dependency cache may be corrupt
- Android studio——启动时禁止更新
- 文件服务器—NFS
- 知识总结5.14
- 哈希表——概念
- Jar包冲突解决方法 Unknown lifecycle phase "mvn" Eclipse中执行maven命令
- Error: Failed to synchronize cache for repo 'fedora'
- P1034 矩形覆盖
- Linux用户和组的管理
- Cesium热力图实现
- [DP]暗黑破坏神
- Java中 == 和 equlas() 的区别
- MyFlag Step3: 界面设计初步
- 乐学成语
- lca的tarjan算法(离线)