每当我尝试安装任何软件包时,都会看到以下错误
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gparted : Depends: libgtkmm-2.4-1v5 (>= 1:2.24.0) but it is not going to be installed
Depends: libparted-fs-resize0 (>= 3.1) but it is not going to be installed
linux-image-extra-4.8.0-52-generic : Depends: linux-image-4.8.0-52-generic but it is not going to be installed
linux-image-generic-hwe-16.04 : Depends: linux-image-4.8.0-52-generic but it is not going to be installed
linux-signed-image-4.8.0-52-generic : Depends: linux-image-4.8.0-52-generic (= 4.8.0-52.55~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).
我的 /boot 设备已满。请给我解决方案。
答案1
问题是您正在尝试安装一个存在几个未满足的依赖项的包,即 gparted 所依赖的其他包。
您可以尝试:
sudo apt-get -f install
或者手动安装每个依赖项,例如:
sudo apt-get install libgtkmm-2.4-1v5
无论哪种方式,如果您想安装 gparted,您需要清除一些存储空间。