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

Bug #1258143 reported by PabloPsicotico
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Error appears when installing the Kernell update in Ubuntu 12.04.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: linux-headers-3.2.0-57-generic (not installed)
ProcVersionSignature: Ubuntu 3.2.0-57.87-generic 3.2.52
Uname: Linux 3.2.0-57-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: usuario 11716 F.... pulseaudio
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfeb80000 irq 45'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,8086d608,00100001'
   Controls : 38
   Simple ctrls : 20
CurrentDmesg:

Date: Thu Dec 5 10:03:31 2013
ErrorMessage: 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
HibernationDevice: RESUME=UUID=5fbdc745-b99c-4567-8be4-7700937fe21e
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MarkForUpload: True
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-57-generic root=UUID=3dbaa6e8-375a-4a76-a4e2-f24e7958597c ro recovery nomodeset
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions: grub-pc 1.99-21ubuntu3.10
RfKill:

SourcePackage: linux
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
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/12/2008
dmi.bios.vendor: Intel Corp.
dmi.bios.version: PRG3110H.86A.0052.2008.0612.1910
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: DG31PR
dmi.board.vendor: Intel Corporation
dmi.board.version: AAD97573-305
dmi.chassis.type: 3
dmi.modalias: dmi:bvnIntelCorp.:bvrPRG3110H.86A.0052.2008.0612.1910:bd06/12/2008:svn:pn:pvr:rvnIntelCorporation:rnDG31PR:rvrAAD97573-305:cvn:ct3:cvr:

Revision history for this message
PabloPsicotico (merodeador2002) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Brad Figg (brad-figg) wrote : BOT: Examined VarLogDistupgradeApttermlog.gz

   Desempaquetando linux-headers-3.2.0-57-generic (de .../linux-headers-3.2.0-57-generic_3.2.0-57.87_i386.deb) ...
   dpkg: error al procesar /var/cache/apt/archives/linux-headers-3.2.0-57-generic_3.2.0-57.87_i386.deb (--unpack):
    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

   dpkg: error al procesar /var/cache/apt/archives/linux-headers-3.2.0-57-generic_3.2.0-57.87_i386.deb (--unpack):
    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
   dpkg-deb: error: el subproceso copiado se mató con la señal (Tubería rota)

tags: added: varlogdistupgradeapttermlog-examined
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

You may need to run the following:

sudo apt-get install -f
sudo apt-get clean
sudo apt-get update

Then re-install the package.

If that does not resolve your issue, please mark the bug as "Confirmed"

Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
PabloPsicotico (merodeador2002) wrote :

I tried the commands and re-installing but it did not work.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
description: updated
Revision history for this message
Alfredo Ristro (amanecemetropolis) wrote :

I have the same problem.

Revision history for this message
PabloPsicotico (merodeador2002) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.