Attempted removing diversions: # dpkg-divert --quiet --remove --rename --package base-files --divert "/lib.usr-is-merged" "/lib" # dpkg-divert --quiet --remove --rename --divert "/lib/ld-linux.so.2.usr-is-merged" "/lib/ld-linux.so.2"
# apt-get install -f Reading package lists... Done Building dependency tree... Done Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libopts25 php8.2-mysql sntp Use 'apt autoremove' to remove them. The following additional packages will be installed: libc6 Suggested packages: glibc-doc The following packages will be upgraded: libc6 1 upgraded, 0 newly installed, 0 to remove and 2382 not upgraded. 10 not fully installed or removed. Need to get 0 B/3,262 kB of archives. After this operation, 172 kB disk space will be freed. Do you want to continue? [Y/n] y locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by locale) locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by locale) locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by locale) Preconfiguring packages ... (Reading database ... 361971 files and directories currently installed.) Preparing to unpack .../libc6_2.39-0ubuntu2_amd64.deb ... locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.36' not found (required by locale) locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by locale) locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by locale) Checking for services that may need to be restarted... Checking init scripts... Checking for services that may need to be restarted... Checking init scripts... Stopping some services possibly affected by the upgrade (will be restarted later): dpkg-divert: error: cannot divert directories Use --help for help about diverting files. dpkg: error processing archive /var/cache/apt/archives/libc6_2.39-0ubuntu2_amd64.deb (--unpack): new libc6:amd64 package pre-installation script subprocess returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/libc6_2.39-0ubuntu2_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) -- 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