I'm trying to free space on disk, because when I try to install anything I get back
The following packages have unmet dependencies:
linux-image-extra-4.4.0-133-generic : Depends: linux-image-4.4.0-133-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.15.0-64-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
linux-modules-extra-4.15.0-64-generic : Depends: linux-image-4.15.0-64-generic but it is not going to be installed or
linux-image-unsigned-4.15.0-64-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Also when i try to remove old kernels I got same message. Ofc I tried -f and other techniques from this answer How do I resolve unmet dependencies after adding a PPA? But nothing help. Any clue how can i remove old kernels and get rid of those unmet dependencies?
-f
, post its full output. – fkraiem Sep 26 '19 at 08:29dpkg -r
requires a careful, methodical, double-checking approach. It's easier to useapt
, when possible. Try uninstallinglinux-image-extra-4.4.0-133-generic
andlinux-modules-extra-4.15.0-64-generic
. Use apt to reinstalllinux-image-generic
so it picks up the correct dependencies. – user535733 Sep 26 '19 at 08:50