>From Jeffrey's log: Preparing to unpack .../libcrypt1_1%3a4.4.10-10ubuntu1_amd64.deb ... Unpacking libcrypt1:amd64 (1:4.4.10-10ubuntu1) ... Setting up libcrypt1:amd64 (1:4.4.10-10ubuntu1) ...
Yes, this shows that you had the buggy libcrypt1 installed, which satisfies the dependency of libc6 but has a problem that libc6 and libcrypt1 don't agree on the path of libcrypt.so.1 in the dpkg database, causing the Replaces: to go wrong and remove this file from disk. Specifically, the old version of libcrypt1 considers /usr/lib/$arch/libcrypt.so.1 to be the authoritative path of this file. The new version of libcrypt1 has been fixed to match libc6, and consider /lib/$arch/libcrypt.so.1 as the authoritative path of the file. If your system has usrmerge, then /lib is a symlink to /usr/lib on the filesystem, so these paths resolve to the same thing, but dpkg doesn't know it, so cannot correctly handle the upgrade. The wrong path in libcrypt1 was resolved in libxcrypt 1:4.4.10-10ubuntu4, which is the version that just migrated to the release pocket together with glibc 2.31. Unfortunately, libxcrypt 1:4.4.10-10ubuntu1 somehow managed to make it into the release pocket earlier (it shouldn't have, and I don't know exactly how this happened), so some users already had it installed. And if they had this wrong version installed, libc6 does not force upgrade to the fixed version of libcrypt1 first, so you still hit the bug. After you've hit this problem, installing/reinstalling the *new* version of libcrypt1 (1:4.4.10-10ubuntu4) should be enough to correct the failure. It will take some time to sort out an archive-side solution that would prevent propagating this damage to more users of focal who had the buggy libcrypt1 version installed. At minimum it's going to require a reupload of glibc with a bumped versioned dependency on libcrypt1, and probably one of libxcrypt as well to manually handle the dpkg database breakage. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1867431 Title: ERROR got an error from dpkg for pkg: 'libc6' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1867431/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs