0

I'm new to Ubuntu.

I'm trying to install a new application but unmet dependency errors have arisen.

After entering the command sudo apt-get install, I get this error:

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-image-extra-4.4.0-87-generic : Depends: linux-image-4.4.0-87-generic but it is not going to be installed
linux-image-extra-4.4.0-92-generic : Depends: linux-image-4.4.0-92-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-92-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed

However, after I had run the command sudo apt-get -f install, it still has the same unmet dependencies error:

dpkg: error processing archieve/var/cache/apt/archives/linux-image-4.4.0-92-generic.dpkg: erro processing archives /var/cache/apt/archieves/linux-image-4.4.0-92-generic_4.4.0-92.115_amd64.deb (--unpack):
cannot copy extracted data for './boot/abi-4.4.0-92-generic' to '/boot/abi-4.4.0-92-generic-new': failed to written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
^[[BExamining /etc/kernel/postrm.d
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-92-generic /boot/vmlinuz-4.4.0-92-generic
run-parts:executing /etc/kernel/postrm.d/zz-update-grub 4.4.92-generic /boot/vmlinuz-4.4.0-92generic
Errors were encounted while processing:
/var/cache/apt/archives/linux-image-4.4.0-92-generic_4.4.0-92.115_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Zanna
  • 72,312
Yan
  • 11

1 Answers1

1

the error message indicates a disk full error

is the key here: There seems to be not enough free disk space to install the unmet dependencies, and until these problems are not solved, the package system refuses to install new packages.

Free some space by moving files, emptying the trash and sudo apt clean, then repair the package system with sudo apt-get -f install and you should be good to go.

Old kernel images tend to eat up a lot of disk space, this question here shows how to remove them: How do I remove old kernel versions to clean up the boot menu?

If your boot partition is full and you're not able to remove old kernel images due to the unmet dependencies, this question can help: Boot partition full, failing to delete old kernels. Broken packages

dessert
  • 40,956