fadora 23 dnf 更新錯誤

問題:

執行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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章