GregoryMA
March 10th, 2013, 01:37 AM
Hi,
I have had a problem since (I think) 12.10 came out. The old kernels never get deleted automatically. So, the partition they are on is constantly filling up. Then I have to go in an manually delete them. I guess I wasn't on the ball enough because now the partition is full. This is creating huge problems for me because some dependancies are broken which makes my computer completely useless after about 4 or 5 minutes (it just turns off after freezing). When I try to fix this I get this error message.
greg@box:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-headers-3.2.0-38-generic
The following NEW packages will be installed:
linux-headers-3.2.0-38-generic
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
2 not fully installed or removed.
Need to get 0 B/985 kB of archives.
After this operation, 11.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 465779 files and directories currently installed.)
Unpacking linux-headers-3.2.0-38-generic (from .../linux-headers-3.2.0-38-generic_3.2.0-38.61_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-38-generic_3.2.0-38.61_amd64.deb (--unpack):
unable to create `/usr/src/linux-headers-3.2.0-38-generic/include/config/afs/fs.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-38-generic/include/config/afs/fs.h'): No space left on device
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.2.0-38-generic_3.2.0-38.61_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
When I try to remove an old kernel to make space I get this error message:
greg@box:~$ sudo apt-get remove linux-image-3.2.0-29-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-image-3.2.0-29-generic is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-headers-generic : Depends: linux-headers-3.2.0-38-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
This catch 22 is beyond me. I need help to sort this out.
Thanks, Greg
I have had a problem since (I think) 12.10 came out. The old kernels never get deleted automatically. So, the partition they are on is constantly filling up. Then I have to go in an manually delete them. I guess I wasn't on the ball enough because now the partition is full. This is creating huge problems for me because some dependancies are broken which makes my computer completely useless after about 4 or 5 minutes (it just turns off after freezing). When I try to fix this I get this error message.
greg@box:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-headers-3.2.0-38-generic
The following NEW packages will be installed:
linux-headers-3.2.0-38-generic
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
2 not fully installed or removed.
Need to get 0 B/985 kB of archives.
After this operation, 11.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 465779 files and directories currently installed.)
Unpacking linux-headers-3.2.0-38-generic (from .../linux-headers-3.2.0-38-generic_3.2.0-38.61_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-38-generic_3.2.0-38.61_amd64.deb (--unpack):
unable to create `/usr/src/linux-headers-3.2.0-38-generic/include/config/afs/fs.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-38-generic/include/config/afs/fs.h'): No space left on device
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.2.0-38-generic_3.2.0-38.61_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
When I try to remove an old kernel to make space I get this error message:
greg@box:~$ sudo apt-get remove linux-image-3.2.0-29-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-image-3.2.0-29-generic is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-headers-generic : Depends: linux-headers-3.2.0-38-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
This catch 22 is beyond me. I need help to sort this out.
Thanks, Greg