I'm trying to install the zip package on my ubuntu 16.04.2 LTS server, but when I run the command apt-get install zip
I get the following output
The following packages have unmet dependencies:
linux-image-extra-4.4.0-121-generic : Depends: linux-image-4.4.0-121-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I have tried to run apt-get -f install
but it fails because there's no available sapce on the boot disk, I think it wants to install the new 18.04.2 LTS release. But I don't want to update the Ubuntu release, I just want to install the zip package, what can I do?
/boot/
. You can try to free space there by removing previous kernels.apt-get -f install
will update it?apt-get -f install
would update it, if/boot/
had enough space. You can add space to/boot/
by: (1) cleaning it from garbage (but it's unlikely that is there any garbage there), (2) expanding/boot/
in order to fit your new kernel (but I don't know if you are running LVM, so am not sure how feasible is at your host), (3) usingapt
to purge any potential previous kernel not the exact which you are running.aptitude
. Unluckily, I don't know how to do that without usingaptitude
.