[Bug 1191389] Re: package linux-image-extra-3.8.0-25-generic 3.8.0-25.37 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1

Redoubts redoubts at gmail.com
Sun Jun 16 05:03:03 UTC 2013


On a 13.04 install, apt-get crashed during a dist-update. Now, apt-get says 3 updates failed to install, namely  
linux-image-extra-3.8.0-25-generic
linux-image-generic
linux-generic

(exact error message at end.)

doing a df -h, I see my boot partition is at 96% capacity:

Filesystem                Size  Used Avail Use% Mounted on

/dev/mapper/xubuntu-root  114G   29G   79G  27% /
none                      4.0K     0  4.0K   0% /sys/fs/cgroup
udev                      1.9G  4.0K  1.9G   1% /dev
tmpfs                     378M 1004K  377M   1% /run
none                      5.0M     0  5.0M   0% /run/lock
none                      1.9G   80K  1.9G   1% /run/shm
none                      100M   12K  100M   1% /run/user

/dev/sda2                 229M  208M  9.3M  96% /boot

/dev/sda1                 190M  126K  190M   1% /boot/efi
/home/redoubts/.Private   114G   29G   79G  27% /home/redoubts


This reminds me of bugs past, where you guys resolved to clear out old kernel version from boot so this wouldn't happen. I thought that a fix was pushed into 13.04/12.04.2

https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/798414
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/923876

exact apt-get error:
"""
$ sudo apt-get upgrade 

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? 
Setting up linux-image-extra-3.8.0-25-generic (3.8.0-25.37) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.8.0-25-generic /boot/vmlinuz-3.8.0-25-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.0-25-generic /boot/vmlinuz-3.8.0-25-generic
update-initramfs: Generating /boot/initrd.img-3.8.0-25-generic

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.8.0-25-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-extra-3.8.0-25-generic.postinst line 1010.
dpkg: error processing linux-image-extra-3.8.0-25-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of linux-image-generic:
 linux-image-generic depends on linux-image-extra-3.8.0-25-generic; however:
  Package linux-image-extra-3.8.0-25-generic is not configured yet.

dpkg: error processing linux-image-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of linux-generic:
 linux-generic depends on linux-image-generic (= 3.8.0.25.43); however:
  Package linux-image-generic is not configured yet.

dpkg: error processing linux-generic (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 linux-image-extra-3.8.0-25-generic
 linux-image-generic
 linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
"""

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

Title:
  package linux-image-extra-3.8.0-25-generic 3.8.0-25.37 failed to
  install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools
  exited with return code 1

Status in “initramfs-tools” package in Ubuntu:
  Confirmed

Bug description:
  upgrading to Ubuntu 13.04, there also appeared to be a low disk space-
  I assume it was a partition that ran out of space, as I have over
  100GB free

  ProblemType: Package
  DistroRelease: Ubuntu 13.04
  Package: linux-image-extra-3.8.0-25-generic 3.8.0-25.37
  ProcVersionSignature: Ubuntu 3.5.0-32.53-generic 3.5.7.11
  Uname: Linux 3.5.0-32-generic i686
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  lunyfringe   3510 F.... pulseaudio
   /dev/snd/controlC0:  lunyfringe   3510 F.... pulseaudio
  Date: Sat Jun 15 09:15:29 2013
  DuplicateSignature: package:linux-image-extra-3.8.0-25-generic:3.8.0-25.37:run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  HibernationDevice: RESUME=UUID=f9c62f3e-8fed-49d5-99c7-53704c2d1b15
  InstallationDate: Installed on 2012-11-03 (224 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
  Lsusb:
   Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
   Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 001 Device 003: ID 03f0:231d Hewlett-Packard
  MachineType: Hewlett-Packard HP EliteBook 8440p
  MarkForUpload: True
  PccardctlStatus:
   Socket 0:
     3.3V
    16-bit
    PC Card
     Subdevice 0 (function 0) bound to driver "pata_pcmcia"
  ProcFB: 0 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.5.0-32-generic root=/dev/mapper/ubuntu-root ro quiet splash vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions: grub-pc 2.00-13ubuntu3
  SourcePackage: initramfs-tools
  Title: package linux-image-extra-3.8.0-25-generic 3.8.0-25.37 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  UpgradeStatus: Upgraded to raring on 2013-06-15 (0 days ago)
  dmi.bios.date: 03/28/2012
  dmi.bios.vendor: Hewlett-Packard
  dmi.bios.version: 68CCU Ver. F.21
  dmi.board.name: 172B
  dmi.board.vendor: Hewlett-Packard
  dmi.board.version: KBC Version 30.32
  dmi.chassis.type: 10
  dmi.chassis.vendor: Hewlett-Packard
  dmi.modalias: dmi:bvnHewlett-Packard:bvr68CCUVer.F.21:bd03/28/2012:svnHewlett-Packard:pnHPEliteBook8440p:pvr:rvnHewlett-Packard:rn172B:rvrKBCVersion30.32:cvnHewlett-Packard:ct10:cvr:
  dmi.product.name: HP EliteBook 8440p
  dmi.sys.vendor: Hewlett-Packard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1191389/+subscriptions




More information about the foundations-bugs mailing list