package: dpkg
version: 1.21.22 (amd64)

 Using Discover update following error occurred:

<html>Package failed to install:<br/><br/>Error while installing package:
installed linux-image-6.1.0-32-amd64 package post-installation script
subprocess returned error exit status 1</html>

Ran following:

uname -r
6.1.0-31-amd64
barryn@debian:~$ dpkg --list | grep linux-image
ic  linux-image-6.1.0-20-amd64                    6.1.85-1
               amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-21-amd64                    6.1.90-1
               amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-22-amd64                    6.1.94-1
               amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-23-amd64                    6.1.99-1
               amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-25-amd64                    6.1.106-3
              amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-26-amd64                    6.1.112-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-27-amd64                    6.1.115-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-28-amd64                    6.1.119-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-30-amd64                    6.1.124-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
rF  linux-image-6.1.0-31-amd64                    6.1.128-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
iF  linux-image-6.1.0-32-amd64                    6.1.129-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
iU  linux-image-amd64                             6.1.129-1
              amd64        Linux for 64-bit PCs (meta-package)

barryn@debian:~$ sudo apt-get --dry-run purge linux-image-6.1.0-20-amd64
linux-image-6.1.0-21-amd64 linux-image-6.1.0-22-amd64
linux-image-6.1.0-23-amd64 linux-image-6.1.0-25-amd64
linux-image-6.1.0-26-amd64 linux-image-6.1.0-27-amd64
linux-image-6.1.0-28-amd64 linux-image-6.1.0-30-amd64
[sudo] password for barryn:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-6.1.0-20-amd64* linux-image-6.1.0-21-amd64*
linux-image-6.1.0-22-amd64* linux-image-6.1.0-23-amd64*
linux-image-6.1.0-25-amd64*
  linux-image-6.1.0-26-amd64* linux-image-6.1.0-27-amd64*
linux-image-6.1.0-28-amd64* linux-image-6.1.0-30-amd64*
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
4 not fully installed or removed.
Purg linux-image-6.1.0-20-amd64
Purg linux-image-6.1.0-21-amd64
Purg linux-image-6.1.0-22-amd64
Purg linux-image-6.1.0-23-amd64
Purg linux-image-6.1.0-25-amd64
Purg linux-image-6.1.0-26-amd64
Purg linux-image-6.1.0-27-amd64
Purg linux-image-6.1.0-28-amd64
Purg linux-image-6.1.0-30-amd64
Conf linux-image-6.1.0-32-amd64 (6.1.129-1 Debian:12.10/stable [amd64])
Conf linux-image-amd64 (6.1.129-1 Debian:12.10/stable [amd64])
Conf linux-image-6.1.0-31-amd64 (6.1.128-1
Debian-Security:12/stable-security [amd64])
Conf initramfs-tools (0.142+deb12u1 Debian:12.10/stable [all])

barryn@debian:~$ sudo apt-get purge linux-image-6.1.0-20-amd64
linux-image-6.1.0-21-amd64 linux-image-6.1.0-22-amd64
linux-image-6.1.0-23-amd64 linux-image-6.1.0-25-amd64
linux-image-6.1.0-26-amd64 linux-image-6.1.0-27-amd64
linux-image-6.1.0-28-amd64 linux-image-6.1.0-30-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-6.1.0-20-amd64* linux-image-6.1.0-21-amd64*
linux-image-6.1.0-22-amd64* linux-image-6.1.0-23-amd64*
linux-image-6.1.0-25-amd64*
  linux-image-6.1.0-26-amd64* linux-image-6.1.0-27-amd64*
linux-image-6.1.0-28-amd64* linux-image-6.1.0-30-amd64*
0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.142+deb12u1) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-6.1.0-32-amd64 (6.1.129-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-32-amd64.
dkms: autoinstall for kernel: 6.1.0-32-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-32-amd64
cpio: write error: No space left on device
E: mkinitramfs failure cpio 2
update-initramfs: failed for /boot/initrd.img-6.1.0-32-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-32-amd64 (--configure):
 installed linux-image-6.1.0-32-amd64 package post-installation script
subprocess returned error exit status 1
Setting up linux-image-6.1.0-31-amd64 (6.1.128-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-31-amd64.
dkms: autoinstall for kernel: 6.1.0-31-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-31-amd64
cpio: write error: No space left on device
E: mkinitramfs failure cpio 2
update-initramfs: failed for /boot/initrd.img-6.1.0-31-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-31-amd64 (--configure):
 installed linux-image-6.1.0-31-amd64 package post-installation script
subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-32-amd64 (= 6.1.129-1);
however:
  Package linux-image-6.1.0-32-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-6.1.0-32-amd64
 linux-image-6.1.0-31-amd64
 linux-image-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

barryn@debian:~$ uname -r
6.1.0-31-amd64
barryn@debian:~$ dpkg --list | grep linux-image
ic  linux-image-6.1.0-20-amd64                    6.1.85-1
               amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-21-amd64                    6.1.90-1
               amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-22-amd64                    6.1.94-1
               amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-23-amd64                    6.1.99-1
               amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-25-amd64                    6.1.106-3
              amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-26-amd64                    6.1.112-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-27-amd64                    6.1.115-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-28-amd64                    6.1.119-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
ic  linux-image-6.1.0-30-amd64                    6.1.124-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
rF  linux-image-6.1.0-31-amd64                    6.1.128-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
iF  linux-image-6.1.0-32-amd64                    6.1.129-1
              amd64        Linux 6.1 for 64-bit PCs (signed)
iU  linux-image-amd64                             6.1.129-1
              amd64        Linux for 64-bit PCs (meta-package)
barryn@debian:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up linux-image-6.1.0-32-amd64 (6.1.129-1) ...
I: /initrd.img is now a symlink to boot/initrd.img-6.1.0-32-amd64
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-32-amd64.
dkms: autoinstall for kernel: 6.1.0-32-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-32-amd64
cpio: write error: No space left on device
E: mkinitramfs failure cpio 2
update-initramfs: failed for /boot/initrd.img-6.1.0-32-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-32-amd64 (--configure):
 installed linux-image-6.1.0-32-amd64 package post-installation script
subprocess returned error exit status 1
Setting up linux-image-6.1.0-31-amd64 (6.1.128-1) ...
/etc/kernel/postinst.d/dkms:
dkms: running auto installation service for kernel 6.1.0-31-amd64.
dkms: autoinstall for kernel: 6.1.0-31-amd64.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-31-amd64
cpio: write error: No space left on device
E: mkinitramfs failure cpio 2
update-initramfs: failed for /boot/initrd.img-6.1.0-31-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-31-amd64 (--configure):
 installed linux-image-6.1.0-31-amd64 package post-installation script
subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-amd64:
 linux-image-amd64 depends on linux-image-6.1.0-32-amd64 (= 6.1.129-1);
however:
  Package linux-image-6.1.0-32-amd64 is not configured yet.

dpkg: error processing package linux-image-amd64 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.142+deb12u1) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-31-amd64
cpio: write error: No space left on device
E: mkinitramfs failure cpio 2
update-initramfs: failed for /boot/initrd.img-6.1.0-31-amd64 with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess
returned error exit status 1
Errors were encountered while processing:
 linux-image-6.1.0-32-amd64
 linux-image-6.1.0-31-amd64
 linux-image-amd64
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reply via email to