I had a /boot full problem but now have lots of space in /boot. But now I can´t do apt-get autoremove
or apt-get -f install
or anything else. It seems the headers are not in /boot and kept upgrading while the Linux-image did not. What should I try next?
I also tried apt-get dist-upgrade
and this also fails because of the same dependency problem.
Output of ls /var/cache/apt/archives
and /var/cache/apt/archives/partial
here.
root@ethan:/boot# apt-get clean
root@ethan:/boot# apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@ethan:/boot# apt-get install linux-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-generic : Depends: linux-image-generic (= 3.2.0.76.90) but it is not going to be installed
Depends: linux-headers-generic (= 3.2.0.76.90) but it is not going to be installed
linux-server : Depends: linux-image-server (= 3.2.0.69.82) but 3.2.0.76.90 is to be installed
Depends: linux-headers-server (= 3.2.0.69.82) but 3.2.0.76.90 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@ethan:/boot# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-headers-3.2.0-61 linux-headers-3.2.0-64 linux-headers-3.2.0-67
linux-headers-3.2.0-61-generic linux-headers-3.2.0-64-generic
linux-headers-3.2.0-67-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-server
The following packages will be upgraded:
linux-server
1 upgraded, 0 newly installed, 0 to remove and 158 not upgraded.
1 not fully installed or removed.
Need to get 1,724 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ai.archive.ubuntu.com/ubuntu/ precise-updates/main linux-server amd64 3.2.0.76.90 [1,724 B]
Fetched 1,724 B in 0s (2,544 B/s)
dpkg: dependency problems prevent configuration of linux-server:
linux-server depends on linux-image-server (= 3.2.0.69.82); however:
Version of linux-image-server on system is 3.2.0.76.90.
linux-server depends on linux-headers-server (= 3.2.0.69.82); however:
Version of linux-headers-server on system is 3.2.0.76.90.
dpkg: error processing linux-server (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
linux-server
E: Sub-process /usr/bin/dpkg returned an error code (1)