This is an old problem and I found the solution for this, a time ago, in
this blog (in Spanish) http://blog.desdelinux.net/error-al-actualizar-
instalar-paquetes-problemas-de-espacio-liberar-inodos/ Its applicable to
the problem of update of another packages or problems installing
packages where the same error message appears.

The problem was that the root partition has 100% of inodes used. An
inode is, in the words of Dennis Ritchie, “ an Index” because of the
slightly unusual file system structure that stored the access
information of files as a flat array on the disk, with all the
hierarchical directory information living aside from this.

We can see this with the command:

df -i

With this command, we can see the total numbers of inodes, used inodes
and the free inodes.

It may happen that for a certain file system still exists free space to
store files, but there are no inodes available for indexing because
there are many files in the system and therefore can not create new
ones.

In some cases, the highest number of entries are related to old kernel
and their headers, we can eliminated these old files using the following
commands:

DO THIS WITH EXTREME CAUTION!!

Just uninstall the old kernels, you have to leave the last 2 o 3 kernel
installed for safety.

First, we look for kernels installed with the following command;

dpkg --get-selections | grep linux-image

We proceed to uninstal with;

sudo apt-get purge “package”

Were “package” is the name of the kernel to uninstall, but this does not
uninstall the headers of this kernels. We can do this with the following
commands:

dpkg --get-selections | grep linux

And then;

sudo apt-get purge linux-headers-X

Where linux-headers-X are the headers to uninstall.

Then we check the number of free inodes with: df -i
And we try to update or install the packages again.

I hope this will be helpful.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258143

Title:
  package linux-headers-3.2.0-57-generic (not installed) failed to
  install/upgrade: ErrorMessage: no se pudo crear `/usr/src/linux-
  headers-3.2.0-57-generic/include/config/ir/rc5/sz/decoder.h.dpkg-new'
  (mientras se procesaba `./usr/src/linux-
  headers-3.2.0-57-generic/include/config/ir/rc5/sz/decoder.h'): No
  queda espacio en el dispositivo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1258143/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to