apt安裝時提示“The following packages have unmet dependencies”錯誤的解決方法

apt 按照擴展的時候出現以下錯誤

 

解決方法:可以通過安裝強大的安裝工具aptitude來安裝

1.安裝 aptitude,輸入命令:sudo apt-get install aptitude

root@U-NAS:/# sudo apt-get install aptitude

2.利用 aptitude 來安裝,輸入命令:sudo aptitude install xxx,xxx爲軟件包名稱,下方示例以 gnome-core 爲演示

root@U-NAS:/# sudo aptitude install gnome-core

aptitude與apt-get的區別和聯繫

aptitude 與 apt-get 都是Debian及其衍生系統中的包管理工具。aptitude 在處理包依賴問題上更好。

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