Running Debian 12.6, then upgrading to 12.8, I get an error.

Trying again I still get:

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 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+rpt2+deb12u1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142+rpt2+deb12u1) ...
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:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

## Following hints (on the ubuntu-users list) I download the older packages and 
do:

$ sudo dpkg -i initramfs-tools-core_0.142+rpt1+deb12u1_all.deb 
initramfs-tools_0.142+rpt1+deb12u1_all.deb
dpkg: warning: downgrading initramfs-tools-core from 0.142+rpt2+deb12u1 to 
0.142+rpt1+deb12u1
(Reading database ... 281488 files and directories currently installed.)
Preparing to unpack initramfs-tools-core_0.142+rpt1+deb12u1_all.deb ...
Unpacking initramfs-tools-core (0.142+rpt1+deb12u1) over (0.142+rpt2+deb12u1) 
...
Preparing to unpack initramfs-tools_0.142+rpt1+deb12u1_all.deb ...
Unpacking initramfs-tools (0.142+rpt1+deb12u1) over (0.142+rpt1+deb12u1) ...
Setting up initramfs-tools-core (0.142+rpt1+deb12u1) ...
Setting up initramfs-tools (0.142+rpt1+deb12u1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for initramfs-tools (0.142+rpt1+deb12u1) ...
update-initramfs: Generating /boot/initrd.img-6.1.0-27-686-pae
W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays.
W: mdadm: failed to auto-generate temporary mdadm.conf file.

$ apt list initramfs-tools-core initramfs-tools
Listing... Done
initramfs-tools-core/stable,stable 0.142+rpt2+deb12u1 all [upgradable from: 
0.142+rpt1+deb12u1]
initramfs-tools/stable,stable 0.142+rpt2+deb12u1 all [upgradable from: 
0.142+rpt1+deb12u1]

## Then just to confirm this was the problem, allow the upgrade:

$ sudo apt upgrade
        upgrades +rpt1 to +rpt2 and reinstates the failure...

FYI

--
Eyal at Home (e...@eyal.emu.id.au)

Reply via email to