mkinitramfs failure cpio 141 lzma 1

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
c.monty

mkinitramfs failure cpio 141 lzma 1

Post by c.monty »

Hello!

For unknown reason I get the error below whenever I try to install a program:

Code: Select all

user@vm2-lmde ~/Downloads $ sudo apt-get -f install
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Statusinformationen werden eingelesen... Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 47 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
initramfs-tools (0.98.8) wird eingerichtet ...
update-initramfs: deferring update (trigger activated)
Trigger für initramfs-tools werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
lzma: Encoder error: -2147467259
E: mkinitramfs failure cpio 141 lzma 1
update-initramfs: failed for /boot/initrd.img-2.6.32-5-686
dpkg: Fehler beim Bearbeiten von initramfs-tools (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert 1 zurück
configured to not write apport reports
                                      Fehler traten auf beim Bearbeiten von:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can you assist me resolving this issue?

THX
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: mkinitramfs failure cpio 141 lzma 1

Post by AlbertP »

You can re-try updating the initrd using:

Code: Select all

sudo update-initramfs
If you're lucky, all is OK this time and you can do this command to continue updating:

Code: Select all

sudo dpkg --configure -a
After this command, open the updater again and check for other updates.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
c.monty

Re: mkinitramfs failure cpio 141 lzma 1

Post by c.monty »

I've deleted the existing initramfs and then created a new one:

Code: Select all

user@vm2-lmde ~ $ sudo update-initramfs -k all -c
user@vm2-lmde ~ $ sudo dpkg --configure -a
initramfs-tools (0.98.8) wird eingerichtet ...
update-initramfs: deferring update (trigger activated)
Trigger für initramfs-tools werden verarbeitet ...
Issue resolved.
Locked

Return to “Installation & Boot”