I was able to reproduce this issue. The problem occurs when safe-rm is
installed.
How to reproduce using lxc:
lxc launch images:ubuntu/18.04 bughunt
lxc exec bughunt bash
once you're inside the container run:
apt install ubuntu-release-upgrader-core safe-rm
do-release-upgrade
answer yes so
This issue occured again today when upgrading another server from 18.04
to 20.04
here is a snippet and i'll try to guess what may be happening
==
Stopping some services possibly affected by the upgrade (will be restarted
later):
cron: stopping...done.
Unpacking libc6:amd64
Method from Alan Orth (aorth) worked for me. To clarify, you need to
get a copy of libcrypt.so.1.1.0 BEFORE attempting upgrade, as by the
time it borks, you might have trouble getting the file onto the system,
as many utils won't run.
For me, I got the file from here and extracted it:
Year old bug that leaves you with a borked upgrade and no official fix?
--
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:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: libxcrypt (Ubuntu)
Status: New => Confirmed
--
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:
I just hit this issue on a server as well. I had to copy the
libcrypt.so.1.1.0 from a healthy Ubuntu 20.04 server via HTTP, as scp
wasn't working so I assumed anything using https wouldn't either:
# wget http://server:8000/libcrypt.so.1.1.0
# mv libcrypt.so.1.1.0
** Tags removed: need-duplicate-check
--
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