LinuxGuruz
  • Last 5 Forum Topics
    Replies
    Views
    Last post


The Web Only This Site
  • BOOKMARK

  • ADD TO FAVORITES

  • REFERENCES


  • MARC

    Mailing list ARChives
    - Search by -
     Subjects
     Authors
     Bodies





    FOLDOC

    Computing Dictionary




  • Text Link Ads






  • LINUX man pages
  • Linux Man Page Viewer


    The following form allows you to view linux man pages.

    Command:

    repoquery

    
    
    

    SYNOPSIS

           repoquery [options] <item ...>
           repoquery -a [options]
    
    
    

    DESCRIPTION

           repoquery  is  a program for querying information from YUM repositories
           similarly to rpm queries.
    
    
    

    GENERAL OPTIONS

           --querytags
                  List valid queryformat tags and exit..
    
           -v, --version
                  Report program version and exit.
    
           --repoid=<repo>
                  Specify which repository to query. Using  this  option  disables
                  all  repositories  not  explicitly  enabled with --repoid option
                  (can be used multiple times). By default repoquery uses whatever
                  repositories are enabled in YUM configuration.
    
           --enablerepo=<repo>
                  In  addition  to  the  default  set,  query the given additional
                  repository, even if it is disabled in YUM configuration.  Can be
                  used multiple times.
    
           --disablerepo=<repo>
                  Do  not query the given repository, even if it is enabled in YUM
                  configuration.  Can be used multiple times.
    
           --repofrompath=<repoid>,<path/url>
                  Specify a path or url  to  a  repository  (same  path  as  in  a
                  baseurl)  to add to the repositories for this query. This option
                  can be used multiple times. If you want to view  only  the  pkgs
                  from  this repository combine this with --repoid. The repoid for
                  the repository is specified by <repoid>.
    
           --plugins
                  Enable YUM plugin support.
    
           -q, --query
                  For rpmquery compatibility, doesn't do anything.
    
           -h, --help
                  Help; display a help message and then quit.
    
           --quiet
                  Run quietly: no warnings printed to stderr.
    
           --verbose
                  Produce verbose output.
    
    
    

    PACKAGE QUERY OPTIONS

           -i, --info
                  Show general information about package similarly to "rpm -qi"
    
           -l, --list
                  List files in package.
    
           -R, --requires
                  List package dependencies.
    
           --resolve
                  When used with --requires, resolve capabilities  to  originating
                  packages.
    
           --provides
                  List capabilities package provides.
    
           --obsoletes
                  List capabilities obsoleted by package.
    
           --conflicts
                  List capabilities conflicting with package.
    
           --changelog
                  List package changelog.
    
           --location
                  Show a location where the package could be downloaded from.  For
                  example: wget 'repoquery --location yum'
    
           -s, --source
                  Show package source RPM name.
    
           --srpm Operate on corresponding source RPM.
    
           --groupmember PACKAGE
                  List the repodata groups (yumgroups.xml) belongs to (if any).
    
           --nvr  Use name-version-release output format (rpm query default)
    
           --nevra
                  Use   name-epoch:version-release.architecture   output    format
                  (default)
    
           --envra
                  Use  epoch:name-version-release.architecture output format (eas-
                  ier to parse than nevra)
    
           --qf=FORMAT, --queryformat=FORMAT
                  Specify custom output format for queries. You can  add  ":date",
    
           --whatobsoletes CAPABILITY
                  Query all packages that obsolete CAPABILITY.
    
           --whatconflicts CAPABILITY
                  Query all packages that conflict with CAPABILITY.
    
           --whatprovides CAPABILITY
                  Query all packages that provide CAPABILITY.
    
           --whatrequires CAPABILITY
                  Query all packages that require CAPABILITY.
    
           --alldeps
                  When used with --whatrequires, use  both  automatic  and  manual
                  dependencies for the query.
    
           --recursive
                  When used with --whatrequires, query packages recursively.
    
           --archlist=ARCH1[,ARCH2...]
                  Limit the query to packages of given architecture(s). Valid val-
                  ues are all architectures known to rpm/yum such  as  'i386'  and
                  'src' for source RPMS.
    
           --pkgnarrow=WHAT
                  Limit  what  packages are considered for the query. Valid values
                  for WHAT are: installed, available, recent, updates, extras, all
                  and repository (default).
    
           --show-dupes, --show-duplicates
                  Query  all  versions of package. By default only newest packages
                  are considered.
    
    
    

    GROUP QUERY OPTIONS

           -i, --info
                  Show general information about group.
    
           -l, --list
                  List packages belonging to (required by) group.
    
           --grouppkgs=WHAT
                  Specify what type of packages are  queried  from  groups.  Valid
                  values for WHAT are all, mandatory, default, optional.
    
           --requires
                  List groups required by group.
    
    
    

    GROUP SELECTION OPTIONS

           -a     Query all available groups.
           matted:
                  repoquery -a --qf "%-20{repoid} %{name}"
    
           List name and summary of all available updates (if any), nicely format-
           ted:
                  repoquery -a --pkgnarrow=updates --qf "%{name}:\n%{summary}\n"
    
           List optional packages in base group:
                  repoquery -g --grouppkgs=optional -l base
    
           List build requirements from 'anaconda' source rpm:
                  repoquery --requires anaconda.src
    
           List packages which BuildRequire gail-devel
                  repoquery --archlist=src --whatrequires gail-devel
                    NB:  This  command  will  only  work  if you have repositories
                  enabled which include srpms.
    
    
    

    MISC

           Specifying package names
                  A package can be referred to in all queries with any of the fol-
                  lowing:
    
                  name
                  name.arch
                  name-ver
                  name-ver-rel
                  name-ver-rel.arch
                  name-epoch:ver-rel.arch
                  epoch:name-ver-rel.arch
    
                  For example: repoquery -l kernel-2.4.1-10.i686
                  Additionally wildcards (shell-style globs) can be used.
    
    
    

    FILES

           As  repoquery uses YUM libraries for retrieving all the information, it
           relies on YUM configuration for its default values like which reposito-
           ries to use. Consult YUM documentation for details:
    
           /etc/yum.conf
           /etc/yum/repos.d/
           /var/cache/yum/
    
    
    

    SEE ALSO

           yum.conf (5)
           for  Fedora/RHEL/Centos  related bugs and http://yum.baseurl.org/report
           for all other bugs.
    
    
    

    Panu Matilainen 17 October 2005 repoquery(1)

    
    
  • MORE RESOURCE


  • Linux

    The Distributions





    Linux

    The Software





    Linux

    The News



  • MARKETING






  • Toll Free

webmaster@linuxguruz.com
Copyright © 1999 - 2016 by LinuxGuruz