Re: F40 Change Proposal: F40 Change Proposal: Unify /usr/bin and /usr/sbin (System-Wide)

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

 



On Tue, Jan 09, 2024 at 02:34:05PM +0100, Petr Pisar wrote:
> 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@xxxxxxxxx> 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.
(That was supposed to be dnf-4 and dnf5.)

> > 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>.

$ dnf5 repoquery --whatprovides /usr/sbin/exabgp-healthcheck              
exabgp-0:4.2.21-7.fc39.noarch
exabgp-0:4.2.21-8.fc39.noarch

$ dnf5 repoquery --whatprovides '/usr/sbin/exabpg-*'
(no answer)

But
$ dnf5 repoquery --whatprovides '/usr/sbin/mkfs*'
dosfstools-0:4.2-7.fc39.x86_64
e2fsprogs-0:1.47.0-2.fc39.x86_64
xfsprogs-0:6.4.0-1.fc39.i686
xfsprogs-0:6.4.0-1.fc39.x86_64

So a glob works in some cases but not others? I'm confused.

Zbyszek
--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux