Page 4 of 4

Re: initramfs unpacking failed: Decoding failed

Posted: Tue Jan 12, 2021 8:39 am
by gungosh
Kadaitcha Man wrote:
Mon Jun 29, 2020 3:35 am
Change COMPRESS=lz4 to COMPRESS=gzip
Thank you.

I'd like to add that I also can confirm this bug comment on my notebook
- change to gzip
- update
- don't boot
- change back to lz4
- update
- boot
- no error message

Re: [SOLVED] initramfs unpacking failed: Decoding failed

Posted: Tue Jan 12, 2021 3:12 pm
by dpbe
Tried all the solutions but after regenerating iniramfs I get this error:

Code: Select all

update-initramfs: Generating /boot/initrd.img-5.4.0-60-generic
cp: cannot stat '/var/lib/acpi-override/*': No such file or directory
E: /usr/share/initramfs-tools/hooks/acpi-override failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-60-generic with 1.

Re: [SOLVED] initramfs unpacking failed: Decoding failed

Posted: Tue Jan 12, 2021 3:58 pm
by LanceM
dpbe wrote:
Tue Jan 12, 2021 3:12 pm
Tried all the solutions but after regenerating iniramfs I get this error:

Code: Select all

update-initramfs: Generating /boot/initrd.img-5.4.0-60-generic
cp: cannot stat '/var/lib/acpi-override/*': No such file or directory
E: /usr/share/initramfs-tools/hooks/acpi-override failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.4.0-60-generic with 1.
Did you do the update with

Code: Select all

sudo update-initramfs -u

Re: [SOLVED] initramfs unpacking failed: Decoding failed

Posted: Tue Jan 12, 2021 4:30 pm
by dpbe
LanceM wrote:
Tue Jan 12, 2021 3:58 pm
Did you do the update with

Code: Select all

sudo update-initramfs -u
Yes, the error messages occur when updating initramfs...

Re: [SOLVED] initramfs unpacking failed: Decoding failed

Posted: Tue Jan 12, 2021 5:28 pm
by LanceM
dpbe wrote:
Tue Jan 12, 2021 4:30 pm
LanceM wrote:
Tue Jan 12, 2021 3:58 pm
Did you do the update with

Code: Select all

sudo update-initramfs -u
Yes, the error messages occur when updating initramfs...
You might try one or both of the suggestions here: viewtopic.php?t=230967

Re: [SOLVED] initramfs unpacking failed: Decoding failed

Posted: Wed Jan 13, 2021 2:02 pm
by dpbe
LanceM wrote:
Tue Jan 12, 2021 5:28 pm
You might try one or both of the suggestions here: viewtopic.php?t=230967
Thanks, but I get the same error... Here is an explanation, but no solution...
https://bugs.launchpad.net/ubuntu/+sour ... ug/1892035

Re: [SOLVED] initramfs unpacking failed: Decoding failed

Posted: Wed Jan 13, 2021 2:47 pm
by LanceM
dpbe wrote:
Wed Jan 13, 2021 2:02 pm
LanceM wrote:
Tue Jan 12, 2021 5:28 pm
You might try one or both of the suggestions here: viewtopic.php?t=230967
Thanks, but I get the same error... Here is an explanation, but no solution...
https://bugs.launchpad.net/ubuntu/+sour ... ug/1892035
Did you try going back to lz4? Do you have a Timeshift restore snapshot?

Re: [SOLVED] initramfs unpacking failed: Decoding failed

Posted: Thu Jan 14, 2021 12:18 pm
by inot12
Solution that worked for me:

Recently installed MATE 20 and the message showed during first boot session. Immediately after that I applied the proprietary graphics driver through Driver Manager. A reboot or two later I noticed that the message was gone.

Today I updated the kernel and the message showed up again. I tried to reapply the proprietary graphics driver and the message was gone:

Apply open source driver.
Reboot.
Reapply proprietary driver.
Reboot.

cat /etc/initramfs-tools/initramfs.conf still shows COMPRESS=lz4.

Hope this helps.

Re: [SOLVED] initramfs unpacking failed: Decoding failed

Posted: Thu Jan 14, 2021 2:16 pm
by dpbe
LanceM wrote:
Wed Jan 13, 2021 2:47 pm
Did you try going back to lz4? Do you have a Timeshift restore snapshot?
Yes, I went back to lz4. I did a fresh install of LM 20 and right after the install the message appeared so I have no snapshot to restore.

I created an empty file and put it at /var/lib/acpi-override/
The error is gone now but I don't know if something is corrupt now. In this bug the submitter says the script tries to copy files from a directory but there is nothing to copy and so the error message will appear. By creating the empty file this error is skipped and the script will finish.
https://bugs.launchpad.net/ubuntu/+sour ... ug/1892035
inot12 wrote:
Thu Jan 14, 2021 12:18 pm
Solution that worked for me:

Apply open source driver.
Reboot.
Reapply proprietary driver.
Reboot.

Hope this helps.
That did not work for me. I am using an Nvidia graphics card which is somehow problematic to install in LM, so I won't touch the video driver anymore.

Re: [SOLVED] initramfs unpacking failed: Decoding failed

Posted: Thu Jan 14, 2021 5:02 pm
by LanceM
Clean install using Edge iso Mint 20.1 Cinnamon, I am not getting the error even after today's kernel 5.8 updates with lz4.

Code: Select all

sudo cat /etc/initramfs-tools/initramfs.conf
Returns

Code: Select all

# COMPRESS: [ gzip | bzip2 | lz4 | lzma | lzop | xz ]
#

COMPRESS=1z4
And

Code: Select all

lance@LM:~$ dmesg -l emerg,alert,crit,err
lance@LM:~$ 
However both my other systems that were upgraded from Mint 20 to 20.1 have the error with

Code: Select all

 lz4
I may try going with 5.8 kernel on one of them to see.

Re: [SOLVED] initramfs unpacking failed: Decoding failed

Posted: Thu Jan 14, 2021 6:47 pm
by LanceM
I may try going with 5.8 kernel on one of them to see.
Well, I tried it with the newest 5.8 Kernel in Update Manager on the upgraded 20.0 to 20.1 Cinnamon, and with lz4 the error is still there. I put it back with Timeshift to Kernel 5.4 and gzip with Timeshift.