can i limit "dnf search/info" to a selected set of architectures?

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

 



  i've pawed over the man page for dnf and i can't figure out how to
do something simple -- i want to restrict the output of commands like
"dnf search" or "dnf info" to just a selected set of architectures.

  example:

$ dnf search ftp
ftp.x86_64 : The standard UNIX FTP (File Transfer Protocol) client
lftp-scripts.noarch : Scripts for lftp
vsftpd.x86_64 : Very Secure Ftp Daemon
ftplib.i686 : Library of FTP routines
ftplib.x86_64 : Library of FTP routines
... snip ...

in the above, i'm not interested in seeing any i686 arch packages, but
i can't figure out how to restrict that (if it's even possible).
ideally, i'd like to restrict package arches for these queries to
x86_64 or noarch, and "man dnf" suggests the "--arch" option, but that
doesn't have the effect i'm after:

$ dnf search ftp --arch x86_64
usage: dnf search [-c [config file]] [-q] [-v] [--version]
  ... snip ...
dnf search: error: unrecognized arguments: --arch x86_64
$

  "man dnf" suggests you can do this with the "repoquery" command:

$ dnf repoquery --whatprovides webserver --arch i686

  am i overlooking something obvious?

rday
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux