[Debconf-devel] Bug#1109170: debconf errors when attempting to remove running kernel in Trixie

Benjamin kk87 at benj.dropbear.id.au
Sun Jul 13 06:37:26 BST 2025


Package: debconf
Version: 1.5.91

Removing the currently running Linux kernel in Trixie causes debconf to 
crash instead of showing its usual confirmation prompt. After rebooting 
with the new kernel, removal of the old works normally without issue.

I have observed this with multiple kernel upgrades, here is the output 
from the latest:

Removing linux-image-6.12.33+deb13-arm64 (6.12.33-1) ...
Can't call method "description" on an undefined value at 
/usr/share/perl5/Debconf/Question.pm line 94, <GEN0> line 2.
Use of uninitialized value $ret in scalar chomp at 
/usr/share/perl5/Debconf/Client/ConfModule.pm line 133, <STDIN> line 1.
Use of uninitialized value $ret in split at 
/usr/share/perl5/Debconf/Client/ConfModule.pm line 134, <STDIN> line 1.
Use of uninitialized value $ret[0] in string eq at 
/usr/share/perl5/Debconf/Client/ConfModule.pm line 135, <STDIN> line 1.
dpkg: error processing package linux-image-6.12.33+deb13-arm64 (--remove):
  installed linux-image-6.12.33+deb13-arm64 package pre-removal script 
subprocess returned error exit status 255
dpkg: too many errors, stopping
Errors were encountered while processing:
  linux-image-6.12.33+deb13-arm64
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)


Regards,
Benjamin



More information about the Debconf-devel mailing list