Den 2018-03-08 kl. 11:45, skrev Robert P. J. Day: > > 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 >From the man page I read that "--arch" is option only used by the "repoquery" command. See the man page section "Repoquery Command" > > am i overlooking something obvious? > > rday > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > -- Regards Jon Ingason _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx