dpkg -S does not handle symlinks
Just a quick one: dpkg -S
does not handle symlinks, and now that the usrmerge is almost passed (I think?), it's
getting more annoying:
mdione@ioniq:~$ dpkg -S /lib/x86_64-linux-gnu/libgexiv2.so.2.14.3 dpkg-query: no path found matching pattern /lib/x86_64-linux-gnu/libgexiv2.so.2.14.3 mdione@ioniq:~$ dpkg -L libgexiv2-2:amd64 /usr/lib/x86_64-linux-gnu/libgexiv2.so.2.14.3 mdione@ioniq:~$ namei -lx /lib/x86_64-linux-gnu/libgexiv2.so.2.14.3 f: /lib/x86_64-linux-gnu/libgexiv2.so.2.14.3 Drwxr-xr-x root root / lrwxrwxrwx root root lib -> usr/lib drwxr-xr-x root root usr drwxr-xr-x root root lib drwxr-xr-x root root x86_64-linux-gnu -rw-r--r-- root root libgexiv2.so.2.14.3
/lib
has been moved to /usr/lib
and symlinked for compatibility reasons. There's 22yo (!!!) bug about it, which was
deemed important 8ya. I hope it gets fixed soon :)