← Back to team overview

kernel-packages team mailing list archive

[Bug 1200117] Re: package linux-headers-3.2.0-49 (not installed) failed to install/upgrade: ErrorMessage: unable to create `/usr/src/linux-headers-3.2.0-49/include/asm-generic/cmpxchg-local.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-49/include/asm-generic/cmpxchg-local.h'): No space left on device

 

I found this problem and the most common cause.

The filesystem runs out of inodes even if it has many gigabytes of
spaces left. Check your systems with df -i. If you have plenty of
i-nodes left  then is a apt database corruption. My recent experience
with several systems running 12.04 is this case of running out of
inodes.

Previous versions of the linux-headers-generic package as well as the
linux-images packages never got removed. If it was the last two or three
no problem, but there were almost 20 versions of the kernel and kernel
headers. the linux-headers package has a huge number of files, which
eats up all your i-nodes. With removing all but the last tree kernels
headers (previous linux-headers-generic-3.2.0-?) I went down from 100%
i-nodes used to 45% used.

For example on one PC  I checked my i-nodes count and was a 100% full,
well in practice like 200 free inodes from almost 700.000.

Just removing the previous linux-headers packages does the trick.
Synaptic makes it easier with the GUI + search feature and order
feature.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1200117

Title:
  package linux-headers-3.2.0-49 (not installed) failed to
  install/upgrade: ErrorMessage: unable to create `/usr/src/linux-
  headers-3.2.0-49/include/asm-generic/cmpxchg-local.h.dpkg-new' (while
  processing `./usr/src/linux-headers-3.2.0-49/include/asm-generic
  /cmpxchg-local.h'): No space left on device

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  The error message sayed 'Not enought space on device' but I've 55 Gb
  free on disk.

  Bug report added.

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: linux-headers-3.2.0-49 (not installed)
  ProcVersionSignature: Ubuntu 3.2.0-48.74-generic 3.2.46
  Uname: Linux 3.2.0-48-generic x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu17.3
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  vincent    1994 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 0xd0120000 irq 43'
     Mixer name	: 'Analog Devices AD1983'
     Components	: 'HDA:11d41983,17aa1012,00100400'
     Controls      : 26
     Simple ctrls  : 15
  Date: Thu Jul 11 10:02:52 2013
  ErrorMessage: ErrorMessage: unable to create `/usr/src/linux-headers-3.2.0-49/include/asm-generic/cmpxchg-local.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-49/include/asm-generic/cmpxchg-local.h'): No space left on device
  HibernationDevice: RESUME=UUID=18d95f1d-ab77-45ac-ad11-3f7abe137da8
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
  MachineType: LENOVO 88089WG
  MarkForUpload: True
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-48-generic root=UUID=e9d35162-1e39-4168-b188-5d5ea8d0a781 ro quiet splash vt.handoff=7
  ProcModules: Error: command ['sort', '/proc/modules'] failed with exit code 2: sort: cannot create temporary file in `/tmp': No space left on device
  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.9
  RfKill:
   
  SourcePackage: linux
  StagingDrivers: mei
  Title: package linux-headers-3.2.0-49 (not installed) failed to install/upgrade: ErrorMessage: unable to create `/usr/src/linux-headers-3.2.0-49/include/asm-generic/cmpxchg-local.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-49/include/asm-generic/cmpxchg-local.h'): No space left on device
  UpgradeStatus: No upgrade log present (probably fresh install)
  WifiSyslog:
   Jul 11 10:02:30 djoliba NetworkManager[776]: <info> kernel firmware directory '/lib/firmware' changed
   Jul 11 10:03:58 djoliba kernel: [  857.620936] audit_printk_skb: 33 callbacks suppressed
   Jul 11 10:03:58 djoliba kernel: [  857.620940] type=1400 audit(1373529838.499:23): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm/lightdm-guest-session-wrapper" pid=4181 comm="apparmor_parser"
   Jul 11 10:03:58 djoliba kernel: [  857.621279] type=1400 audit(1373529838.499:24): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm/lightdm-guest-session-wrapper//chromium_browser" pid=4181 comm="apparmor_parser"
  dmi.bios.date: 07/24/2007
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 2MKT37AFR
  dmi.board.name: LENOVO
  dmi.board.vendor: LENOVO
  dmi.board.version: NONE
  dmi.chassis.asset.tag: �������������������������
  dmi.chassis.type: 4
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: NONE
  dmi.modalias: dmi:bvnLENOVO:bvr2MKT37AFR:bd07/24/2007:svnLENOVO:pn88089WG:pvrThinkCentreM55p:rvnLENOVO:rnLENOVO:rvrNONE:cvnLENOVO:ct4:cvrNONE:
  dmi.product.name: 88089WG
  dmi.product.version: ThinkCentre M55p
  dmi.sys.vendor: LENOVO

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