Your message dated Tue, 25 Mar 2025 04:31:57 +0100
with message-id <[email protected]>
and subject line Re: Bug#1101189: Linux image package install failure
has caused the Debian Bug report #1101189,
regarding Linux image package install failure
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1101189: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101189
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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)

--- End Message ---
--- Begin Message ---
Hi!

On Mon, 2025-03-24 at 08:06:57 -0500, Barry Newberger wrote:
> 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>

> 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)

Yes, it cannot proceed, because there is not enough space left on the
device that holds /boot. I guess you'll have to make more space there,
and check whether the partition is too small.

I'm closing this, because this is not a dpkg bug, dpkg is just
reporting that the linux packages failed to get removed while apt
requested for the new kernel version to get configured.

If you feel this is really a bug, then you could reopen, but then
please reassign it to some other package (but I'm not entirely sure
which, given that I think this is not a bug :).

Thanks,
Guillem

--- End Message ---

Reply via email to