
當我想在 Ubuntu 軟體中心安裝任何東西時,我得到這訊息:
答案1
嘗試
sudo apt-get update
更新您的包裹清單。然後
sudo apt-get autoclean
清理任何部分包。然後
sudo apt-get clean
清理 apt 快取。
sudo apt-get autoremove
將清除任何不需要的依賴項。如果在執行此操作時您可以識別損壞的包,則此程式碼將非常有力地將其刪除。
sudo dpkg --remove -force --force-remove-reinstreq package name
當然將包名更改為真實名稱。