Comment 13 for bug 2058648

Revision history for this message
Helmut Grohne (helmutg) wrote : Re: package libc6 2.35-0ubuntu3.6 [modified: usr/share/doc/libc6/NEWS.Debian.gz usr/share/doc/libc6/NEWS.gz usr/share/doc/libc6/README.hesiod.gz usr/share/doc/libc6/changelog.Debian.gz usr/share/lintian/overrides/libc6] failed to install/upgrade: new libc6:amd64 package pre-installation script subprocess returned error exit status 2

Thank you. Can you please verify which of /bin, /lib, /lib64, /sbin are symlinks on that source system?

If they are all symlinks there, your rsync copy somehow managed to unmerge the system. If they are all directories there, please try to go into more detail how that baremetal 22.04 system was originally installed (if possible).

In order to fix up your situation, you should attempt to install the `usrmerge` package (possibly from an older release if it is no longer available from noble). Failing that, copy the script `/usr/lib/usrmerge/convert-usrmerge` from any other system and run it locally. You may need to install some Perl modules to have it work. After having performed this step, `libc6.preinst` should no longer fail and your upgrade should proceed normally.

Even after fixing this, I'm still interested in how you got into that situation and identifying the root cause.