您的位置:首页 > 其它

fadora 23 dnf 更新错误

2016-07-22 08:29 387 查看

问题:

执行
sudo dnf update
报错:

上次元数据过期检查:0:27:28 前,执行于 Fri Jul 22 07:42:36 2016。

依赖关系解决。

错误:该操作将导致移除已启动的内核:kernel-core-4.5.7-202.fc23.x86_64 。

解决方法:

编辑文件
/etc/dnf/dnf.conf
,移除或注释掉
installonlypkgs=electron


下面是旧的解决方案,忽略:

sudo dnf remove python3-dnf-plugins-core -y


参考:

https://bugzilla.redhat.com/show_bug.cgi?id=1348766

Installing VS Code can break DNF

Electron inserts itself into dnf.conf and breaks kernel update procedure on Fedora

Configuring Yum and Yum Repositories
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息