[Bug 1313085] Re: [Initramfs] E: /usr/share/initramfs-tools/hooks/kmod failed with return 1
dino99
1313085 at bugs.launchpad.net
Sat Apr 26 17:29:00 UTC 2014
So by now the workaround is to downgrade kmod : use the Trusty one.
This let the kernels be installed as usual.
Only get that issue (but seems not a show stopper):
initrd.img(/boot/initrd.img-3.13.0-24-generic
) points to /boot/initrd.img-3.13.0-24-generic
(/boot/initrd.img-3.13.0-24-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-extra-3.13.0-24-generic.postinst line 491.
vmlinuz(/boot/vmlinuz-3.13.0-24-generic
) points to /boot/vmlinuz-3.13.0-24-generic
(/boot/vmlinuz-3.13.0-24-generic) -- doing nothing at /var/lib/dpkg/info/linux-image-extra-3.13.0-24-generic.postinst line 491.
Examining /etc/kernel/postinst.d.
Conclusion:
- that error (described as harmless, but stopped out the posinst script with the new kmod) "hci_vhci" have to be fixed with the kernels.
- and initramfs-tools might need some upgrade (Debian use 0.115)
--
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:
[Initramfs] E: /usr/share/initramfs-tools/hooks/kmod failed with
return 1
Status in tools for generating an initramfs:
New
Status in The Linux Kernel:
New
Status in “initramfs-tools” package in Ubuntu:
Confirmed
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.
Trying to reinstall it, i get:
E: Internal Error, No file name for initramfs-tools:i386
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/initramfs-tools/+bug/1313085/+subscriptions
More information about the foundations-bugs
mailing list