Public bug reported: The error message I received for this problem invited me to submit a bug report.
(1) PROBLEM: I upgraded from Ubuntu 18.04 to 20.04 on 12 Dec. 2020. I first made sure the 18.04 system was properly updated. (2) METHOD OF UPGRADE: I upgraded using the standard "Software Updater", hence I had no opportunity to make a mistake. (3) ERROR MESSAGE: The process went smoothly until the very end before "restart", when the following message appeared in a box: "The upgrade will continue but the 'linux-image-4.15.0-124-generic' package may not be in a working state. Please consider submitting a bug report about it. installed linux-image-4.15.0-124-generic package post-removal script subprocess returned error exit status 1" (4) CURRENT KERNEL: "uname -r" indicates that the current kernel is "5.4.0-58-generic". So "4.15.0-124-generic" apparently did NOT install. CURRENT MALFUNCTIONS (1) The main problem so far is that updates are not possible. Using the "Software Updater", I receive an "Not all updates can be installed" box. A "partial upgrade" says "removing linux-image-4.15.0-124" and then gives me the same message as above: "The upgrade will continue ...". Finally: "Could not install the uprades. The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg-configure -a)". Then: "Upgrade complete. The upgrade has completed but there were errors during the upgrade process." (2) The system does not awaken from sleep properly. It shows only a dark blue screen or complete multicoloured snow with vertical lines or various patterns. No login screen. I have to reboot with "Alt. PrintScr. REISUB" NORMAL FUNCTIONS SO FAR There is an internet connection, email works,browsers work and the Gnome screen shows up normally. ATTEMPTED REMEDY ~$ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED linux-image-4.15.0-124-generic 0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade. 1 not fully installed or removed. After this operation, 8,415 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 242464 files and directories currently installed.) Removing linux-image-4.15.0-124-generic (4.15.0-124.127) ... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-4.15.0-124-generic /etc/kernel/postrm.d/zz-update-grub: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-58-generic Found initrd image: /boot/initrd.img-5.4.0-58-generic Found linux image: /boot/vmlinuz-4.15.0-128-generic Found initrd image: /boot/initrd.img-4.15.0-128-generic /etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127 dpkg: error processing package linux-image-4.15.0-124-generic (--remove): installed linux-image-4.15.0-124-generic package post-removal script subprocess returned error exit status 1 dpkg: too many errors, stopping Errors were encountered while processing: linux-image-4.15.0-124-generic Processing was halted because there were too many errors. E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: ubuntu-release-upgrader-core 1:20.04.29 ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73 Uname: Linux 5.4.0-58-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.13 Architecture: amd64 CasperMD5CheckResult: skip CrashDB: ubuntu CurrentDesktop: ubuntu:GNOME Date: Sun Dec 13 12:37:58 2020 InstallationDate: Installed on 2016-01-02 (1806 days ago) InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: dist-upgrade UpgradeStatus: No upgrade log present (probably fresh install) VarLogDistupgradeAptHistorylog: Start-Date: 2020-12-12 21:40:20 Requested-By: john (1000) Remove: linux-image-4.15.0-124-generic:amd64 (4.15.0-124.127) Error: Sub-process /usr/bin/dpkg returned an error code (1) End-Date: 2020-12-12 21:40:25 VarLogDistupgradeTermlog: ** Affects: ubuntu-release-upgrader (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug dist-upgrade focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1908002 Title: installed linux-image-4.15.0-124-generic package post-removal script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1908002/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs