[Bug 1313085] [NEW] E: /usr/share/initramfs-tools/hooks/kmod failed with return 1

dino99 1313085 at bugs.launchpad.net
Sat Apr 26 12:46:50 UTC 2014


Public bug reported:

This happen after trusty migration to utopic and purging an old installed kernel.
Then initramfs fail to configure the kernel(s)

oem at dev32:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
cp: cannot stat ‘/lib/modprobe.d/*’: No such file or directory
E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.13.0-24-generic with 1.

So it seems that the latest kmod (16.2ubuntu1) upgrade into utopic have broken the not yet upgraded initramfs-tools package.
The problem also exist with a newer kernel:

 run-parts: executing /etc/kernel/header_postinst.d/dkms 3.14.1-031401-generic /boot/vmlinuz-3.14.1-031401-generic
dpkg: dependency problems prevent configuration of linux-image-3.14.1-031401-generic:
 linux-image-3.14.1-031401-generic depends on initramfs-tools (>= 0.36ubuntu6); however:
 Package initramfs-tools is not configured yet.

dpkg: error processing package linux-image-3.14.1-031401-generic (--install):
dependency problems - leaving unconfigured

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: initramfs-tools 0.103ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CurrentDesktop: GNOME
Date: Sat Apr 26 14:34:47 2014
InstallationDate: Installed on 2013-10-25 (182 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20131021.1)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 third-party-packages utopic

** Description changed:

  This happen after trusty migration to utopic and purging an old installed kernel.
  Then initramfs fail to configure the kernel(s)
  
  oem at dev32:~$ sudo update-initramfs -u
  update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
  cp: cannot stat ‘/lib/modprobe.d/*’: No such file or directory
  E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
  update-initramfs: failed for /boot/initrd.img-3.13.0-24-generic with 1.
  
- So it seems that the latest kmod upgrade into utopic have broken the not yet upgraded initramfs-tools package.
+ So it seems that the latest kmod (16.2ubuntu1) upgrade into utopic have broken the not yet upgraded initramfs-tools package.
  The problem also exist with a newer kernel:
  
-  run-parts: executing /etc/kernel/header_postinst.d/dkms 3.14.1-031401-generic /boot/vmlinuz-3.14.1-031401-generic
+  run-parts: executing /etc/kernel/header_postinst.d/dkms 3.14.1-031401-generic /boot/vmlinuz-3.14.1-031401-generic
  dpkg: dependency problems prevent configuration of linux-image-3.14.1-031401-generic:
-  linux-image-3.14.1-031401-generic depends on initramfs-tools (>= 0.36ubuntu6); however:
-  Package initramfs-tools is not configured yet.
+  linux-image-3.14.1-031401-generic depends on initramfs-tools (>= 0.36ubuntu6); however:
+  Package initramfs-tools is not configured yet.
  
  dpkg: error processing package linux-image-3.14.1-031401-generic (--install):
  dependency problems - leaving unconfigured
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: initramfs-tools 0.103ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  CurrentDesktop: GNOME
  Date: Sat Apr 26 14:34:47 2014
  InstallationDate: Installed on 2013-10-25 (182 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20131021.1)
  PackageArchitecture: all
  SourcePackage: initramfs-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  E: /usr/share/initramfs-tools/hooks/kmod  failed with return 1

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

Bug description:
  This happen after trusty migration to utopic and purging an old installed kernel.
  Then initramfs fail to configure the kernel(s)

  oem at dev32:~$ sudo update-initramfs -u
  update-initramfs: Generating /boot/initrd.img-3.13.0-24-generic
  cp: cannot stat ‘/lib/modprobe.d/*’: No such file or directory
  E: /usr/share/initramfs-tools/hooks/kmod failed with return 1.
  update-initramfs: failed for /boot/initrd.img-3.13.0-24-generic with 1.

  So it seems that the latest kmod (16.2ubuntu1) upgrade into utopic have broken the not yet upgraded initramfs-tools package.
  The problem also exist with a newer kernel:

   run-parts: executing /etc/kernel/header_postinst.d/dkms 3.14.1-031401-generic /boot/vmlinuz-3.14.1-031401-generic
  dpkg: dependency problems prevent configuration of linux-image-3.14.1-031401-generic:
   linux-image-3.14.1-031401-generic depends on initramfs-tools (>= 0.36ubuntu6); however:
   Package initramfs-tools is not configured yet.

  dpkg: error processing package linux-image-3.14.1-031401-generic (--install):
  dependency problems - leaving unconfigured

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: initramfs-tools 0.103ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: i386
  CurrentDesktop: GNOME
  Date: Sat Apr 26 14:34:47 2014
  InstallationDate: Installed on 2013-10-25 (182 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20131021.1)
  PackageArchitecture: all
  SourcePackage: initramfs-tools
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list