problem with initramfs-tools

Eyal Lebedinsky eyal at eyal.emu.id.au
Wed Dec 18 06:31:02 UTC 2024


On 18/12/24 3:39 pm, Ralf Mardorf via ubuntu-users wrote:
> On Wed, 2024-12-18 at 05:33 +0100, Ralf Mardorf wrote:
>> On Wed, 2024-12-18 at 11:15 +1100, Eyal Lebedinsky wrote:
>>> Setting up initramfs-tools (0.142+rpt2+deb12u1) ...
>>               ^^^^^^^^^^^^^^^        ^^^^
>>
>> "stable: 0.142+deb12u1" -
>> https://tracker.debian.org/pkg/initramfs-tools
>>
>> It's crazy to ask a Debian-specific question in an Ubuntu mailing list
>> because something is wrong with a package from a third-party
>> repository that is neither Ubuntu nor Debian.
> 
> The package initramfs-tools_0.142+rpt2+deb12u1_all.deb is from
> https://archive.raspberrypi.org/debian/pool/main/i/initramfs-tools/ .

I now took the discussion to the debian-user list.

Still, as this is a general problem, what I did to get past the problem:

## download the older packages from URL listed above.

$ 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]

## and doing the upgrade again:

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

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




More information about the ubuntu-users mailing list