← Back to team overview

kernel-packages team mailing list archive

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

 

mehdi@MehdiRM-PC:~$ sudo apt-get upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  linux-image-extra-3.8.0-21-generic linux-image-extra-3.8.0-22-generic linux-image-extra-3.8.0-27-generic
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 388 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 303993 files and directories currently installed.)
Removing linux-image-extra-3.8.0-21-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.8.0-21-generic /boot/vmlinuz-3.8.0-21-generic
/etc/kernel/postrm.d/initramfs-tools: 33: /etc/kernel/postrm.d/initramfs-tools: update-initramfs: not found
run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 127
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-extra-3.8.0-21-generic.postrm line 328.
dpkg: error processing linux-image-extra-3.8.0-21-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Removing linux-image-extra-3.8.0-22-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.8.0-22-generic /boot/vmlinuz-3.8.0-22-generic
/etc/kernel/postrm.d/initramfs-tools: 33: /etc/kernel/postrm.d/initramfs-tools: update-initramfs: not found
run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 127
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-extra-3.8.0-22-generic.postrm line 328.
dpkg: error processing linux-image-extra-3.8.0-22-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Removing linux-image-extra-3.8.0-27-generic ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.8.0-27-generic /boot/vmlinuz-3.8.0-27-generic
/etc/kernel/postrm.d/initramfs-tools: 33: /etc/kernel/postrm.d/initramfs-tools: update-initramfs: not found
run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 127
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-extra-3.8.0-27-generic.postrm line 328.
dpkg: error processing linux-image-extra-3.8.0-27-generic (--remove):
 subprocess installed post-removal script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 linux-image-extra-3.8.0-21-generic
 linux-image-extra-3.8.0-22-generic
 linux-image-extra-3.8.0-27-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
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/1203415

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

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  errorr during upgrading 12.10 to 13.04

  ProblemType: Package
  DistroRelease: Ubuntu 13.04
  Package: linux-image-3.8.0-26-generic
  ProcVersionSignature: Ubuntu 3.5.0-36.57-generic 3.5.7.14
  Uname: Linux 3.5.0-36-generic i686
  NonfreeKernelModules: wl
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  balqis     2283 F.... pulseaudio
  CRDA:
   country GB:
   	(2402 - 2482 @ 40), (N/A, 20)
   	(5170 - 5250 @ 40), (N/A, 20)
   	(5250 - 5330 @ 40), (N/A, 20), DFS
   	(5490 - 5710 @ 40), (N/A, 27), DFS
  Date: Sun Jul 21 01:35:43 2013
  DuplicateSignature: package:linux-image-3.8.0-26-generic:3.8.0-26.38:run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 2
  HibernationDevice: RESUME=UUID=0cc2e41b-310b-42a3-ac23-1c8550cd0198
  InstallationDate: Installed on 2013-02-22 (148 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
  MachineType: Dell Inc. Inspiron 1525
  MarkForUpload: True
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-36-generic root=UUID=64a3f902-f9b1-4075-b621-1e91fe4a8e85 ro quiet splash
  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: linux
  Title: package linux-image-3.8.0-26-generic 3.8.0-26.38 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  UpgradeStatus: Upgraded to raring on 2013-07-20 (0 days ago)
  dmi.bios.date: 10/16/2008
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A16
  dmi.board.name: 0U990C
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA16:bd10/16/2008:svnDellInc.:pnInspiron1525:pvr:rvnDellInc.:rn0U990C:rvr:cvnDellInc.:ct8:cvr:
  dmi.product.name: Inspiron 1525
  dmi.sys.vendor: Dell Inc.

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


References