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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2058648

Title:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2058648/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to