Public bug reported: do-release-upgrade from bionic to focal has broken for me on at least 9 servers during release upgrade. perl tries to load /lib/x86_64-linux-gnu/libcrypt.so.1 ,which is deleted at this point, and the upgrade fails. I always manage to complete the upgrade by copying /lib/x86_64-linux-gnu/libcrypt.so.1.1.0 from a healthy system (20.04.1) and making the symlink to /lib/x86_64-linux-gnu/libcrypt.so.1 and resuming the upgrade with apt dist-upgrade.
release before upgrade: Description: Ubuntu 18.04.5 LTS Release: 18.04 ProblemType: Package DistroRelease: Ubuntu 20.04 Package: libcrypt1 1:4.4.10-10ubuntu4 ProcVersionSignature: Ubuntu 5.4.0-53.59-generic 5.4.65 Uname: Linux 5.4.0-53-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.11 Architecture: amd64 CasperMD5CheckResult: skip Date: Wed Nov 11 09:49:28 2020 DuplicateSignature: package:libcrypt1:1:4.4.10-10ubuntu4 Unpacking libc6:amd64 (2.31-0ubuntu9.1) over (2.27-3ubuntu1.3) ... /usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory dpkg: error while cleaning up: rm command for cleanup subprocess returned error exit status 127 ErrorMessage: rm command for cleanup subprocess returned error exit status 127 InstallationDate: Installed on 2015-11-12 (1825 days ago) InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021) Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2 PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-minimal, 2.7.15~rc1-1 RelatedPackageVersions: dpkg 1.19.7ubuntu3 apt 2.0.2ubuntu0.1 SourcePackage: libxcrypt Title: package libcrypt1 1:4.4.10-10ubuntu4 failed to install/upgrade: rm command for cleanup subprocess returned error exit status 127 UpgradeStatus: Upgraded to focal on 2020-11-11 (0 days ago) modified.conffile..etc.default.apport: [modified] mtime.conffile..etc.default.apport: 2015-11-12T15:12:24.016495 ** Affects: libxcrypt (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1903838 Title: package libcrypt1 1:4.4.10-10ubuntu4 failed to install/upgrade: rm command for cleanup subprocess returned error exit status 127 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libxcrypt/+bug/1903838/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs