[Bug 1062699] Re: package linux-image-3.2.0-31-generic 3.2.0-31.50 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 [/dev/disk/by-uuid: Is a directory , mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry]

Benjamin Drung 1062699 at bugs.launchpad.net
Fri Oct 4 10:31:21 UTC 2024


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Ubuntu 12.04 (precise) reached end-of-life on April 28, 2017.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested
in discussing it anymore. But if you are then please upgrade to the
latest Ubuntu version and re-test. If you then find the bug is still
present in the newer Ubuntu version, please add a comment here telling
us which new version it is in.

** Changed in: initramfs-tools (Ubuntu)
       Status: Confirmed => Incomplete

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

Title:
  package linux-image-3.2.0-31-generic 3.2.0-31.50 failed to
  install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools
  exited with return code 1 [/dev/disk/by-uuid: Is a directory ,
  mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid
  /sys/block/ entry]

Status in initramfs-tools package in Ubuntu:
  Incomplete

Bug description:
  Selecting previously unselected package linux-image-3.2.0-31-generic.
  (Reading database ... 275104 files and directories currently installed.)
  Unpacking linux-image-3.2.0-31-generic (from .../linux-image-3.2.0-31-generic_3.2.0-31.50_amd64.deb) ...
  Done.
  Selecting previously unselected package linux-image-generic.
  Unpacking linux-image-generic (from .../linux-image-generic_3.2.0.31.34_amd64.deb) ...
  Selecting previously unselected package linux-image.
  Unpacking linux-image (from .../linux-image_3.2.0.31.34_amd64.deb) ...
  Setting up linux-image-3.2.0-31-generic (3.2.0-31.50) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-31-generic /boot/vmlinuz-3.2.0-31-generic
  update-initramfs: Generating /boot/initrd.img-3.2.0-31-generic
  /dev/disk/by-uuid: Is a directory
  mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry
  mkinitramfs: workaround is MODULES=most
  mkinitramfs: Error please report the bug
  update-initramfs: failed for /boot/initrd.img-3.2.0-31-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-3.2.0-31-generic.postinst line 1010.
  dpkg: error processing linux-image-3.2.0-31-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of linux-image-generic:
   linux-image-generic depends on linux-image-3.2.0-31-generic; however:
    Package linux-image-3.2.0-31-generic is not configured yet.
  dpkg: error processing linux-image-generic (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of linux-image:
   linux-image depends on linux-image-generic (= 3.2.0.31.34); however:
    Package linux-image-generic is not configured yet.
  dpkg: error processing linux-image (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup error from a previous failure.
                            No apport report written because the error message indicates its a followup error from a previous failure.
                                                      Errors were encountered while processing:
   linux-image-3.2.0-31-generic
   linux-image-generic
   linux-image
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:
  Setting up linux-image-3.2.0-31-generic (3.2.0-31.50) ...
  Running depmod.
  update-initramfs: deferring update (hook will be called later)
  The link /initrd.img is a dangling linkto /boot/initrd.img-3.2.0-31-generic
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-31-generic /boot/vmlinuz-3.2.0-31-generic
  update-initramfs: Generating /boot/initrd.img-3.2.0-31-generic
  /dev/disk/by-uuid: Is a directory
  mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry
  mkinitramfs: workaround is MODULES=most
  mkinitramfs: Error please report the bug
  update-initramfs: failed for /boot/initrd.img-3.2.0-31-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-3.2.0-31-generic.postinst line 1010.
  dpkg: error processing linux-image-3.2.0-31-generic (--configure):
   subprocess installed post-installation script returned error exit status 2
  dpkg: dependency problems prevent configuration of linux-image-generic:
   linux-image-generic depends on linux-image-3.2.0-31-generic; however:
    Package linux-image-3.2.0-31-generic is not configured yet.
  dpkg: error processing linux-image-generic (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of linux-image:
   linux-image depends on linux-image-generic (= 3.2.0.31.34); however:
    Package linux-image-generic is not configured yet.
  dpkg: error processing linux-image (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   linux-image-3.2.0-31-generic
   linux-image-generic
   linux-image

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-31-generic 3.2.0-31.50
  ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
  Uname: Linux 3.2.0-26-generic x86_64
  NonfreeKernelModules: btrfs zlib_deflate libcrc32c ufs qnx4 hfsplus hfs minix ntfs vfat msdos fat jfs xfs reiserfs ext2 tcp_diag inet_diag xt_multiport iptable_filter nls_utf8 udf crc_itu_t ses enclosure usb_storage pci_stub vboxpci vboxnetadp vboxnetflt vboxdrv rfcomm bnep bluetooth parport_pc ppdev binfmt_misc ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables joydev usbhid cdc_ether usbnet hid uas i7core_edac edac_core bnx2 ioatdma dca serio_raw shpchp tpm_tis megaraid_sas mac_hid lp parport
  ApportVersion: 2.0.1-0ubuntu11
  Architecture: amd64
  Date: Sat Oct  6 09:10:36 2012
  ErrorMessage: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
  SourcePackage: initramfs-tools
  Title: package linux-image-3.2.0-31-generic 3.2.0-31.50 failed to install/upgrade: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
  UpgradeStatus: Upgraded to precise on 2012-04-30 (158 days ago)

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




More information about the foundations-bugs mailing list