I had cache limit problems with GPG keys. A post here solved that, and now sudo apt-get update
runs without any errors. Now sudo apt-get upgrade
does not work. It tells me to try sudo apt-get -f install
and when I run it I get the errors shown below:
:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating dependencies... Done
The packages listed below were installed automatically and are no longer needed.
linux-headers-3.13.0-35 linux-headers-3.13.0-35-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
linux-headers-3.13.0-46
The following new packages will be installed:
linux-headers-3.13.0-46
0 updated, 1 will be installed, 0 to remove 455 not updated.
2 not fully installed or removed.
You need to download 0 B/8.877 kB of packages.
This operation will require 63.3 MB of additional disk space.
Do you want to continue? [Y/n] y
(Reading the database ... 1181689 files or directories are now installed.)
Preparing to unpack .../linux-headers-3.13.0-46_3.13.0-46.79_all.deb ...
Unpacking linux-headers-3.13.0-46 (3.13.0-46.79) ...
dpkg: error processing the archive /var/cache/apt/archives/linux-headers-3.13.0-46_3.13.0-46.79_all.deb (--unpack):
Could not create `/usr/src/linux-headers-3.13.0-46/arch/ia64/include/asm/cache.h.dpkg-new' (while processing `./usr/src/linux-headers-3.13.0-46/arch/ia64/include/asm/cache.h'):
No space left on device.
No apport report written because MaxReports is reached already.
dpkg-deb: error: error: subprocess paste was killed by signal (Broken pipe).
The following errors were encountered during processing:
/var/cache/apt/archives/linux-headers-3.13.0-46_3.13.0-46.79_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
}
/var/cache/apt/archives/linux-headers-3.13.0-46_3.13.0-46.79_all.deb
– TheWanderer May 15 '15 at 15:51sudo apt-get autoclean
to remove all no longer needed cached packages . – Thiago Zanetti May 15 '15 at 16:46