Bug#814648: initrd missing from backport build (Failed to copy /boot/initrd.img-4.3.0-0.bpo.1-amd64 to /initrd.img)
Package: linux-image-4.3.0-0.bpo.1-amd64
Version: 4.3.3-7~bpo8+1
Severity: normal
This version of the backport seems to fail to install properly:
$ sudo apt install -t jessie-backports linux-image-4.3.0-0.bpo.1-amd64
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
linux-doc-4.3 debian-kernel-handbook
The following NEW packages will be installed:
linux-image-4.3.0-0.bpo.1-amd64
0 upgraded, 1 newly installed, 0 to remove and 210 not upgraded.
Need to get 0 B/35.5 MB of archives.
After this operation, 173 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package linux-image-4.3.0-0.bpo.1-amd64.
(Reading database ... 447530 files and directories currently installed.)
Preparing to unpack .../linux-image-4.3.0-0.bpo.1-amd64_4.3.3-7~bpo8+1_amd64.deb ...
Unpacking linux-image-4.3.0-0.bpo.1-amd64 (4.3.3-7~bpo8+1) ...
Setting up linux-image-4.3.0-0.bpo.1-amd64 (4.3.3-7~bpo8+1) ...
cp: cannot stat '/boot/initrd.img-4.3.0-0.bpo.1-amd64': No such file or directory
Failed to copy /boot/initrd.img-4.3.0-0.bpo.1-amd64 to /initrd.img .
dpkg: error processing package linux-image-4.3.0-0.bpo.1-amd64 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-4.3.0-0.bpo.1-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
and indeed, the initrd is not in /boot:
[1012]anarcat@angela:~100$ ls -al /boot/
total 73248K
drwxr-xr-x 5 root root 1024 Feb 13 12:26 .
drwxr-xr-x 26 root root 4096 Feb 13 12:26 ..
-rw-r--r-- 1 root root 2676277 Jan 17 16:30 System.map-3.16.0-4-amd64
-rw-r--r-- 1 root root 2889500 Dec 15 05:16 System.map-4.2.0-0.bpo.1-amd64
-rw-r--r-- 1 root root 2949440 Jan 20 18:17 System.map-4.3.0-0.bpo.1-amd64
-rw-r--r-- 1 root root 157726 Jan 17 16:30 config-3.16.0-4-amd64
-rw-r--r-- 1 root root 169935 Dec 15 05:16 config-4.2.0-0.bpo.1-amd64
-rw-r--r-- 1 root root 171928 Jan 20 18:17 config-4.3.0-0.bpo.1-amd64
drwxr-xr-x 5 root root 7168 Feb 13 12:24 grub
drwxr-xr-x 2 root root 1024 Sep 24 21:54 images
-rw-r--r-- 1 root root 27164630 Jan 23 12:19 initrd.img-3.16.0-4-amd64
-rw-r--r-- 1 root root 28134677 Jan 23 12:20 initrd.img-4.2.0-0.bpo.1-amd64
drwx------ 2 root root 12288 Mar 29 2010 lost+found
-rw-r--r-- 1 root root 25372 Sep 24 21:50 memdisk
-rw-r--r-- 1 root root 182704 Sep 10 2014 memtest86+.bin
-rw-r--r-- 1 root root 184840 Sep 10 2014 memtest86+_multiboot.bin
-rw-r--r-- 1 root root 98964 Mar 10 2015 memtest86.bin
-rw-r--r-- 1 root root 3119888 Jan 17 16:27 vmlinuz-3.16.0-4-amd64
-rw-r--r-- 1 root root 3480512 Dec 15 05:15 vmlinuz-4.2.0-0.bpo.1-amd64
-rw-r--r-- 1 root root 3566064 Jan 20 18:14 vmlinuz-4.3.0-0.bpo.1-amd64
Heck, it's not even in the package itself:
$ dpkg -c /var/cache/apt/archives/linux-image-4.3.0-0.bpo.1-amd64_4.3.3-7~bpo8+1_amd64.deb | grep /boot/
drwxr-xr-x root/root 0 2016-01-20 18:17 ./boot/
-rw-r--r-- root/root 2949440 2016-01-20 18:17 ./boot/System.map-4.3.0-0.bpo.1-amd64
-rw-r--r-- root/root 171928 2016-01-20 18:17 ./boot/config-4.3.0-0.bpo.1-amd64
-rw-r--r-- root/root 3566064 2016-01-20 18:14 ./boot/vmlinuz-4.3.0-0.bpo.1-amd64
Something really wrong happened when this backport was built...
a.
-- System Information:
Debian Release: 8.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable'), (500, 'oldstable'), (1, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.2.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages linux-image-4.3.0-0.bpo.1-amd64 depends on:
ii debconf [debconf-2.0] 1.5.56
ii initramfs-tools [linux-initramfs-tool] 0.120
ii kmod 18-3
ii linux-base 3.5
Versions of packages linux-image-4.3.0-0.bpo.1-amd64 recommends:
ii firmware-linux-free 3.3
ii irqbalance 1.0.6-3
Versions of packages linux-image-4.3.0-0.bpo.1-amd64 suggests:
pn debian-kernel-handbook <none>
ii grub-pc 2.02~beta2-22+deb8u1
pn linux-doc-4.3 <none>
-- debconf information:
linux-image-4.3.0-0.bpo.1-amd64/postinst/depmod-error-initrd-4.3.0-0.bpo.1-amd64: false
linux-image-4.3.0-0.bpo.1-amd64/prerm/removing-running-kernel-4.3.0-0.bpo.1-amd64: true
linux-image-4.3.0-0.bpo.1-amd64/postinst/mips-initrd-4.3.0-0.bpo.1-amd64:
Reply to: