After upgrading from Ubuntu 20.10 to 21.04, I get the following error:
sudo dpkg --configure -a
Setting up usrmerge (24ubuntu3) ...
FATAL ERROR:
Both /lib/udev/hwdb.bin and /usr/lib/udev/hwdb.bin 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
I searched for posts and articles about this specific error but I can't find anything. Any ideas to solve it ?
dpkg -S /lib/udev/hwdb.bin; dpkg -S /usr/lib/udev/hwdb.bin
– waltinator Jun 01 '21 at 16:28$ dpkg -S /lib/udev/hwdb.bin
dpkg-query: no path found matching pattern /lib/udev/hwdb.bin
– maustruy Jun 02 '21 at 11:10$ dpkg -S /usr/lib/udev/hwdb.bin
dpkg-query: no path found matching pattern /usr/lib/udev/hwdb.bin