問題:
執行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