[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: usrmerge in bookworm



Am 06.10.2023 schrieb Steve Keller <keller.steve@gmx.de>:

> I have upgraded from bullseye to bookworm and it seems the package
> usrmerge is installed forcedly now.  At least it has been installed
> and I haven't been asked about it :-(
> 
> I have always been sceptical about /usr merge, since all binaries now
> appear in two places, "type sh" in bash gives the strange looking
> /usr/bin/sh where all Uni*ers are strongly used to /bin/sh.  But also
> things like the following don't work anymore:

Historic reasons, they don't exist anymore on current systems.

>     $ dpkg -S $(type -p sh)
>     dpkg-query: no path found matching pattern /usr/bin/sh

That is because /bin is now a symlink to /usr/bin and the file isn't
provided in /usr/bin by the package.

> And I don't see a comfortable way around this.

One way would be to strip off /usr from the string to search.


Reply to: