problem with initramfs-tools

Colin Law clanlaw at gmail.com
Wed Dec 18 09:32:07 UTC 2024


I really think that, since you have an OS that is obviously messed up
and you don't even know exactly which distribution it is supposed to
be, I think your best bet would be to start again and install either
Debian or Ubuntu.  Then at least you will know what you are dealing
with.

Colin L.

On Wed, 18 Dec 2024 at 06:33, Eyal Lebedinsky <eyal at eyal.emu.id.au> wrote:
>
> 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)
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



More information about the ubuntu-users mailing list