Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  4.4.1 kernel fails to generate initrd.img to /boot on this system [SOLVED]  (Read 2878 times)

thunderrd

  • Guest
It's been about a month since last d-u, and I get this result, failing to install the new kernel:

Quote
root@Q6600:/home/thunderrd# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  metacity-common
0 upgraded, 0 newly installed, 0 to remove and 1 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 initramfs-tools (0.123) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-4.4.1-towo.1-siduction-amd64 (4.4-3) ...
vmlinuz(/boot/vmlinuz-4.4.1-towo.1-siduction-amd64
) points to /boot/vmlinuz-4.4.1-towo.1-siduction-amd64
 (/boot/vmlinuz-4.4.1-towo.1-siduction-amd64) -- doing nothing at /var/lib/dpkg/info/linux-image-4.4.1-towo.1-siduction-amd64.postinst line 263.
The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.1-towo.1-siduction-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.4.1-towo.1-siduction-amd64
E: busybox or busybox-static, version 1:1.22.0-17~ or later, is required but not installed
update-initramfs: failed for /boot/initrd.img-4.4.1-towo.1-siduction-amd64 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-4.4.1-towo.1-siduction-amd64.postinst line 634.
dpkg: error processing package linux-image-4.4.1-towo.1-siduction-amd64 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-siduction-amd64:
 linux-image-siduction-amd64 depends on linux-image-4.4.1-towo.1-siduction-amd64 (= 4.4-3); however:
  Package linux-image-4.4.1-towo.1-siduction-amd64 is not configured yet.

dpkg: error processing package linux-image-siduction-amd64 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.123) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-towo.1-siduction-amd64
E: busybox or busybox-static, version 1:1.22.0-17~ or later, is required but not installed
update-initramfs: failed for /boot/initrd.img-4.4.0-towo.1-siduction-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 linux-image-4.4.1-towo.1-siduction-amd64
 linux-image-siduction-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm not sure what to do here, I tried deleting the dead links, and running the d-u again, with the same result.
« Last Edit: 2016/02/15, 17:06:27 by thunderrd »

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Quote
E: busybox or busybox-static, version 1:1.22.0-17~ or later, is required but not installed
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.838
I also had an error yeasterday while dist-upgrading, that there was no initrd for 4.4.1. on my system


greetz
devil

thunderrd

  • Guest
Yeah, I got some help on IRC.  I missed the bit about busybox in the output but can't understand where busybox went; it's very weird for it to have gone away.  I mean, it's part of the base system, and certainly I did not remove it manually, so something caused its demise.

Anyhow, thanks for the answers, it's solved.