FEDORA26 DNF更新不起作用。

问题描述 投票:0回答:1
在fedora 26我这样做时,我会得到错误

  
Error:无法同步缓存以返回'updates'

i在dnf.conf中配置了我的全系统代理和代理。其他连接(例如浏览器)可以与此代理使用。

我可以解决这个问题吗?

login tosuperuser

sudo dnf update
proxy dnf fedora-26
1个回答
1
投票
Edit配置文件

su
添加您的值

vi /etc/dnf/dnf.conf
NOW UPDATE

[main] gpgcheck=1 installonly_limit=3 clean_requirements_on_remove=True proxy=http://172.31.1.6:8080 proxy_username=chuttu proxy_password=verma


您可能需要在dnf.conf中指定基本验证方法

dnf update -y

	
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.