無法安裝啟動修復或作業系統卸載程序

無法安裝啟動修復或作業系統卸載程序

我無法安裝啟動修復或作業系統卸載程序

You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: boot-repair : Depends: boot-sav but it is not going to be installed libgl1-mesa-dri-lts-utopic:i386 : Depends: libllvm3.5:i386 (>= 1:3.5~+rc3) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libgl1-mesa-dri-lts-utopic:i386 : Depends: libllvm3.5:i386 (>= 1:3.5~+rc3) but it is not going to be installed os-uninstaller : Depends: boot-sav but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

答案1

Ubuntu 19.10 Live (USB/CD) 會導致類似的問題,但依賴性不同。原因是universe未啟用儲存庫,並且python未找到依賴項。

使用以下方法可以輕鬆修復此問題:

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

然後再嘗試安裝boot-repair

答案2

您是否嘗試過它的建議並使用

sudo apt-get install -f boot-repair

也嘗試一下

sudo apt-get autoremove
sudo apt-get dist-upgrade
sudo apt-get upgrade
sudo apt-get update
sudo ap-get install libgl1-mesa-dri-lts-utopic:i386

然後嘗試重新安裝

相關內容