Open arnoldpistorius opened 3 years ago
Please run another command in this envrionment (after apt-get upgrade) and give the log
sudo update-initramfs -u -v
Please do this test:
sudo echo "RESUME=none" > /etc/initramfs-tools/conf.d/resume
After that, run apt again:
sudo apt update
sudo apt upgrade
Hi thank you for your response,
I have executed the update-initramfs command See pastebin link for logs: https://pastebin.com/6NPzyx2i
The RESUME command you mentioned didn't work, so I created the file and entered the text manually. After that I ran apt update upgrade again, still with errors:
sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
chromium-codecs-ffmpeg-extra gstreamer1.0-vaapi
libgstreamer-plugins-bad1.0-0 libllvm11 libva-wayland2
Use 'sudo apt autoremove' to remove them.
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 friendly-recovery (0.2.41ubuntu0.20.04.1) ...
/usr/sbin/grub-mkconfig: 1: /usr/sbin/grub-probe: Permission denied
dpkg: error processing package friendly-recovery (--configure):
installed friendly-recovery package post-installation script subprocess returne
d error exit status 126
Errors were encountered while processing:
friendly-recovery
E: Sub-process /usr/bin/dpkg returned an error code (1)
I see /usr/sbin/grub-probe: Permission denied
in the log.
So after you write RESUME=none
to the file.
Then run
chmod +x /usr/sbin/grub-probe
Then
sudo apt update
sudo apt upgrade
Looks like that works. Apparently when the vtoyboot.sh script is executed again, the grub-probe lost the execution rights.
So maybe this can be fixed in the script itself?
Error while installing package: installed shim-signed package post-installation script subprocess returned error exit status 32
This fails with error
Full log: