Ubuntu 16.04 LTS:
apt-get update 失败处理 Aborted (core dumped)
使用命令:
sudo apt-get purge libappstream3
or
sudo apt-get remove libappstream3
sudo apt-get update命令时出现如下错误:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
Unable to lock directory /var/lib/apt/lists
使用命令:
sudo rm /var/lib/apt/lists/lock
出现apt 安装版本不兼容的情况:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apache2 : Depends: apache2-bin (= 2.4.18-2ubuntu3.4) but it is not going to be installed
Depends: apache2-utils (>= 2.4)
Depends: apache2-data (= 2.4.18-2ubuntu3.4) but it is not going to be installed
Recommends: ssl-cert but it is not going to be installed
linux-image-extra-4.4.0-51-generic : Depends: linux-image-4.4.0-51-generic but it is not going to be installed
linux-image-extra-4.4.0-93-generic : Depends: linux-image-4.4.0-93-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-93-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
可以通过图形界面打开system setting ==> software & Update ==> 勾选Unsupported updates,使之支持不兼容的库。(不可用于工程)