无法在 Ubuntu 16.04 中安装任何软件包

无法在 Ubuntu 16.04 中安装任何软件包

我无法在我的 Ubuntu 机器上安装任何东西。它显示以下错误:

montichandra@montichandra-HP-ProBook-430-G3:~$ **sudo apt-get install sshfs**

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-image-extra-4.13.0-41-generic : Depends: linux-image-4.13.0-41-generic but it is not going to be installed
linux-image-extra-4.13.0-43-generic : Depends: linux-image-4.13.0-43-generic but it is not going to be installed
linux-image-generic-hwe-16.04 : Depends: linux-image-4.13.0-43-generic but it is not going to be installed
linux-signed-image-4.13.0-41-generic : Depends: linux-image-4.13.0-41-generic (= 4.13.0-41.46~16.04.1) but it is not going to be installed
linux-signed-image-4.13.0-43-generic : Depends: linux-image-4.13.0-43-generic (= 4.13.0-43.48~16.04.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

我陷入困境,无法在系统中安装任何软件包。我如何解决它?

答案1

运行以下命令即可解决此问题

sudo apt --fix-broken install sshfs

相关内容