我在突触中遇到了错误的计数并且无法通过运行来修复它:
sudo apt-get -f install
Run Code Online (Sandbox Code Playgroud)
以下是终端的摘录:
$ sudo apt-get check
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:
linux-generic-pae : Depends: linux-image-generic-pae (= 3.2.0.37.44) but 3.2.0.37.45 is installed
Depends: linux-headers-generic-pae (= 3.2.0.37.44) but 3.2.0.37.45 is installed
N: Ignoring file '50unattended-upgrades.distrib' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
E: Unmet dependencies. Try using -f.
Run Code Online (Sandbox Code Playgroud)
运行后的摘录sudo apt-get -f …