V Mon, Jan 08, 2024 at 09:42:41PM +0000, Zbigniew Jędrzejewski-Szmek napsal(a):
On Mon, Jan 08, 2024 at 03:26:45PM +0000, Gary Buhrmaster wrote:
> On Mon, Jan 8, 2024 at 1:37 PM Zbigniew Jędrzejewski-Szmek
> <zbyszek(a)in.waw.pl> wrote:
> > $ dnf5 repoquery -l $(dnf5 repoquery --whatprovides '/usr/sbin/*' --qf
'%{name}\n') | rg '/usr/s?bin/' | sed -r 's|(.*)/([^/]*)$|\2|' |
sort | uniq -c | rg -w 2
> >
> > says that /usr/sbin/{makemap,rpcinfo,rpcbind,sestatus,udevadm}
> > "shadow" files in /usr/bin. But those are all symlinks, i.e. they
will
> > need just to be dropped to prevent a FTBFS. I added this list with
> > four packages to the Scope section.
>
> Thanks, but I think the query does not produce
> all possible results, as I know for a fact that there is
> a package (exabgp) that has both a /usr/sbin/exabgp-healthcheck
> and a (different) /usr/bin/exabgp-healthcheck file
> (which is why I prompted my query, as I expect
> there might be others (I plan to fix exabgp)).
Indeed. With both dnf-5 and dnf5, the inner repoquery doesn't list exabgp.
Either a bug or I'm doing something wrong.
Thanks for testing DNF5. I notified DNF5 maintainers
<
https://github.com/rpm-software-management/dnf5/issues/1153>.
-- Petr