I can't update my Ubuntu!
From the output above notice this:
error creating directory `./usr/src/linux-headers-3.2.0-31-generic/include/config/comedi/usb': No space left on device
unable to create `/usr/src/linux-headers-3.2.0-31-generic-pae/include/config/comedi/addi/apci/3001.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-31-generic-pae/include/config/comedi/addi/apci/3001.h'): No space left on device
Then as a result of your df
:
/dev/sda14 6.9G 5.0G 1.7G 76% /usr
It means that you have 1.7G free in /usr
. linux-headers-3.2.0-31-generic
and linux-headers-3.2.0-31-generic-pae
will be installed in the /usr/src/
directory.
This is your error so you have to clean up in /usr
.
Try to clean the old kernel images and headers found in /usr/src
.
Here is the secret:
No apport report written because the error message indicates a disk full error.
So, the solution is to free up some disk space first!
You can do this in many ways:
- first I would try to clean up the apt's cache with:
sudo apt-get clean
, - after that to clear the browser's cache if the
/home/
directory is not on separate partition, - also delete the thumbnail cache with
rm -rf ~/.thumbnails
, - eventually to check and delete the old log files in
/var/log/
directory.
These are painless disk freeing tricks.
* Update
If none of these helped you then you probably ran out of inodes, so you should recreate your FS with more inodes, or try to keep the partition clean.