On Fri, Oct 06, 2023 at 11:06:56AM +0200, Steve Keller wrote: > $ dpkg -S $(type -p sh) > dpkg-query: no path found matching pattern /usr/bin/sh > > And I don't see a comfortable way around this.
Yeah, usrmerge is a bit wonky in these early stages. Part of the reason for this is that it's not *mandatory*, not really. There are still Debian systems -- important ones, which run the internal infrastructure of Debian itself -- that aren't using it. So, in order to continue to accomodate the non-merged systems, packages that provide certain well-known legacy pathnames like /bin/ls must continue to do so. They can't move to providing /usr/bin/ls because that may break things on non-merged systems. Corner cases like the one you showed are going to remain in place for many years.