Comment 16 for bug 2058648

Revision history for this message
Brian Wilson (bdwilson) wrote :

Thank you for your help triaging this! This is from the source system. It is possible that I upgraded from another LTS to 22.04. I've only used LTS releases. See below for usrmerge installation output on the source system.

$ ls -lath
total 2.1G
drwxrwxrwt 38 root root 36K Mar 22 09:04 tmp
drwxr-xr-x 55 root root 1.6K Mar 22 09:03 run
drwxr-xr-x 4 root root 4.0K Mar 20 06:33 boot
drwxr-xr-x 189 root root 12K Mar 20 06:32 etc
drwxr-xr-x 2 root root 4.0K Mar 20 06:32 bin
drwx------ 29 root root 4.0K Mar 19 19:39 root
drwxr-xr-x 21 root root 5.0K Mar 18 16:54 dev
drwxrwxrwx 17 wilson frontrow 4.0K Mar 16 07:41 storage
dr-xr-xr-x 534 root root 0 Mar 16 07:41 proc
dr-xr-xr-x 13 root root 0 Mar 16 07:41 sys
drwxr-xr-x 2 root root 4.0K Mar 15 15:16 sbin
drwxr-xr-x 17 root root 4.0K Mar 13 12:57 var
drwxr-xr-x 16 root root 4.0K Jan 27 22:38 opt
drwxr-xr-x 19 root root 4.0K Jan 12 06:24 lib
drwxr-xr-x 2 root root 4.0K Jan 12 06:24 lib64
drwxr-xr-x 2 root root 4.0K Jan 12 06:24 libx32
drwxr-xr-x 2 root root 4.0K Jan 12 06:24 lib32
drwxr-xr-x 4 root root 4.0K Aug 11 2023 srv
drwxr-xr-x 32 root root 4.0K Feb 4 2023 .
drwxr-xr-x 32 root root 4.0K Feb 4 2023 ..
drwxrwxrwx 3 root root 4.0K Feb 4 2023 evs_temp
drwxr-xr-x 9 root root 4.0K Jan 8 2023 mnt
drwxr-xr-x 5 root root 4.0K Jan 7 2023 storage.old
drwxr-xr-x 4 root root 4.0K Dec 29 2022 media
drwxr-xr-x 15 root root 4.0K Dec 26 2022 usr
drwxr-xr-x 20 root root 4.0K Dec 26 2022 snap
lrwxrwxrwx 1 root root 34 Sep 30 2021 initrd.img -> boot/initrd.img-4.15.0-159-generic
lrwxrwxrwx 1 root root 34 Sep 30 2021 initrd.img.old -> boot/initrd.img-4.15.0-158-generic
lrwxrwxrwx 1 root root 31 Sep 30 2021 vmlinuz -> boot/vmlinuz-4.15.0-159-generic
lrwxrwxrwx 1 root root 31 Sep 30 2021 vmlinuz.old -> boot/vmlinuz-4.15.0-158-generic
drwxr-xr-x 15 root root 4.0K Feb 24 2021 home
drwxr-xr-x 2 root root 4.0K Feb 24 2021 code
drwxr-xr-x 3 root root 4.0K Jul 12 2020 new
-rw------- 1 root root 5.1M Jan 17 2020 core
drwxr-xr-x 2 root root 4.0K May 27 2019 storage-new
drwxrwxr-x 2 root root 4.0K May 26 2018 cdrom
-rw------- 1 root root 2.0G May 26 2018 swapfile
drwx------ 2 root root 16K May 26 2018 lost+found

On the source system:
# apt-get install usrmerge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libopts25 sntp
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  usrmerge
0 upgraded, 1 newly installed, 0 to remove and 138 not upgraded.
Need to get 54.7 kB of archives.
After this operation, 205 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 usrmerge all 25ubuntu2 [54.7 kB]
Fetched 54.7 kB in 0s (314 kB/s)
Selecting previously unselected package usrmerge.
(Reading database ... 361142 files and directories currently installed.)
Preparing to unpack .../usrmerge_25ubuntu2_all.deb ...
Unpacking usrmerge (25ubuntu2) ...
Setting up usrmerge (25ubuntu2) ...
Smartmatch is experimental at /usr/lib/usrmerge/convert-usrmerge line 172.

FATAL ERROR:
Both /lib/x86_64-linux-gnu/libc.so.6 and /usr/lib/x86_64-linux-gnu/libc.so.6 exist.

You can try correcting the errors reported and running again
/usr/lib/usrmerge/convert-usrmerge until it will complete without errors.
Do not install or update other Debian packages until the program
has been run successfully.

dpkg: error processing package usrmerge (--configure):
 installed usrmerge package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 usrmerge
E: Sub-process /usr/bin/dpkg returned an error code (1)

root@host:/lib# ls -lath /lib/x86_64-linux-gnu/libc.so.6
-rwxr-xr-x 1 root root 2.2M Jan 2 08:22 /lib/x86_64-linux-gnu/libc.so.6
root@host:/lib# ls -lath /usr/lib/x86_64-linux-gnu/libc.so.6
-rw-r--r-- 1 root root 2.2M Jul 6 2022 /usr/lib/x86_64-linux-gnu/libc.so.6