I am trying to install the
linux-image-extra-* packages, (which are a prerequisite for Docker) following the instructions here.
sudo apt-get install linux-image-extra-$(uname -r) linux-image-extra-virtual
But i get the following error message:
Reading package lists... Done Building dependency tree Reading state information... Done linux-image-extra-3.19.0-32-generic is already the newest version. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: linux-image-extra-virtual : Depends: linux-image-generic (= 126.96.36.199.115) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
I tried fixing any broken dependencies using the following command:
sudo apt-get -f install
Which gives me the following output:
Reading package lists... Done Building dependency tree Reading state information... Done 0 to upgrade, 0 to newly install, 0 to remove and 152 not to upgrade.
And then ran the command to install the linux-image-extra-* kernel packages, but i still get the same error.
sudo apt-get update followed by the command to install the linux-image-extra-* kernel packages, but the same thing still.
What could the issue be? And how do i resolve it?
The output of
uname -r is:
The output of
dpkg --list | egrep -i --color 'linux-image|linux-headers' is
ii linux-headers-3.19.0-32 3.19.0-32.37~14.04.1 all Header files related to Linux kernel version 3.19.0 ii linux-headers-3.19.0-32-generic 3.19.0-32.37~14.04.1 amd64 Linux kernel headers for version 3.19.0 on 64 bit x86 SMP ii linux-image-3.19.0-32-generic 3.19.0-32.37~14.04.1 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP ii linux-image-extra-3.19.0-32-generic 3.19.0-32.37~14.04.1 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
Similar but not actually related posts
- This one had similar errors, but was an issue with too many items in boot partition, which doesn't appear to be the case for me.
- I came accross this post which might be worth a try? It involves removing any lines of code related to the relevant package from the
dpkg statusfile. But I am worried that removing kernel image information from this file might break my computer.