我已经尝试了所有常见的修复方法,但目前还没有成功
sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libglib2.0-0:i386 libhwloc-plugins
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
以下均无帮助
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install
答案1
只需复制保留的包名称并将其添加到apt-get install
声明中即可。
sudo apt-get install package-names
您的案例将是:
sudo apt-get install libglib2.0-0:i386 libhwloc-plugins