Package: linux-image-4.7.0-1-amd64
Version: 4.7.6-1
Severity: serious

I you have linux-image-4.7.0-1-amd64 installed, then upgrading to linux-image-4.7.0-1-amd64-unsigned fails:

# apt-get install linux-image-4.7.0-1-amd64-unsigned
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  linux-doc-4.7 (4.7.8-1)
  debian-kernel-handbook (1.0.17)
  grub-pc (2.02~beta3-1)
  | grub-efi-amd64 (2.02~beta3-1)
  | extlinux (3:6.03+dfsg-14)
Recommended packages:
  firmware-linux-free (3.4)
  irqbalance (1.1.0-2)
The following packages will be REMOVED:
  linux-image-4.7.0-1-amd64* (4.7.6-1)
The following NEW packages will be installed:
  linux-image-4.7.0-1-amd64-unsigned (4.7.8-1)
0 upgraded, 1 newly installed, 1 to remove and 35 not upgraded.
Need to get 36.8 MB of archives.
After this operation, 1709 kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 http://ftp.debian.org/debian unstable/main amd64 
linux-image-4.7.0-1-amd64-unsigned amd64 4.7.8-1 [36.8 MB]
Fetched 36.8 MB in 1s (28.7 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 14226 files and directories currently installed.)
Removing linux-image-4.7.0-1-amd64 (4.7.6-1) ...
W: Last kernel image has been removed, so removing the default symlinks
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.7.0-1-amd64
Selecting previously unselected package linux-image-4.7.0-1-amd64-unsigned.
(Reading database ... 10177 files and directories currently installed.)
Preparing to unpack .../linux-image-4.7.0-1-amd64-unsigned_4.7.8-1_amd64.deb ...
Unpacking linux-image-4.7.0-1-amd64-unsigned (4.7.8-1) ...
Setting up linux-image-4.7.0-1-amd64-unsigned (4.7.8-1) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.7.0-1-amd64
I: /initrd.img.old is now a symlink to boot/initrd.img-4.7.0-1-amd64
I: /vmlinuz is now a symlink to boot/vmlinuz-4.7.0-1-amd64
I: /initrd.img is now a symlink to boot/initrd.img-4.7.0-1-amd64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.7.0-1-amd64
cp: cannot stat '/etc/modprobe.d/*': No such file or directory
(Reading database ... 14224 files and directories currently installed.)
Removing linux-image-4.7.0-1-amd64 (4.7.6-1) ...
Purging configuration files for linux-image-4.7.0-1-amd64 (4.7.6-1) ...
W: Last kernel image has been removed, so removing the default symlinks
rmdir: failed to remove '/lib/modules/4.7.0-1-amd64': Directory not empty
dpkg: error processing package linux-image-4.7.0-1-amd64 (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-image-4.7.0-1-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- System Information:
Debian Release: stretch/sid
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages linux-image-4.7.0-1-amd64 depends on:
ii  initramfs-tools [linux-initramfs-tool]  0.125
ii  kmod                                    22-1.1
ii  linux-base                              4.5

--
Jakub Wilk

Reply via email to