qpkg

Section: (1)
Updated: 1.6
 

NAME

qpkg - Gentoo: query package tool  

SYNOPSIS

qpkg   [options] [pkgname] [-g group]
       [-f <file>|-fp <pattern>]

qpkg    --dups  [--slot]
qpkg   --help
 

DESCRIPTION

qpkg is GenToolKit's "query package" tool, using it, you can find packages owning files on your filesystem, check the integrity of installed packages, and do other queries against installed or uninstalled packages.
 

OPTIONS

Duplicate Locating:

-d, --dups             print packages that have multiple
                               versions installed

-s, --slot             make -d SLOT only print dups of the
                               same SLOT

Package Selection:

-f, --find-file        Finds package that owns file <file>
-fp, --find-pattern    Finds to package that owns file
                               matching *<pattern>*

-I, --installed        Include only installed packages
-U, --uninstalled      Include only uninstalled packages
-g, --group            Find by group (can be combined with
                               other searches)

Information Selection:

-l, --list             List package content
-i, --info             Get package description and home page.
-ct, --check-time
-tc, --time-check      Verify package files timestamps
-cm, --check-md5
-mc, --md5-check       Verify package files md5
-c, --check            Verify mtimes and md5.
-q, --query-deps       display all installed packages
                               depending on selected packages

Operation Modifiers:

-nc, --no-color        Don't use colors
-v, --verbose          Be more verbose [2 levels]
-vv                            Same as -v -v  

NOTES

-f, -fp, -d, -l, -ct, -cm, and -c apply only to installed packages.

Short options may not be combined on the command-line, yet.
The operation of some flags has been changed in version 1.6 by the stripping of version numbers from some output to see the version numbers play with -v and -vv.
When using -f with -l or --check.. -v options, only matching files will be displayed, unless -v is doubled, (yet more verbose), equivalent to -vv.
When using -q, it is important to note that the querying of deps checks package names only, because qpkg is not advanced enough (nor can it reasonably made so) to check complete deps with versions. Please use depclean or emerge --dep-clean to more completely check the dependency sanity of your system.
 

EXAMPLES

qpkg --dups            print duplicates oldest first
qpkg --dups -v..       with versions
qpkg                           print list of packages
qpkg porta -I          print versions of installed portage
qpkg porta -i          .. + versions in portage tree +
                               descriptions and homepages

qpkg gawk -c -v        check integrity all installed versions
                               of gawk the older versions will have

                               "damaged" files.

qpkg -f /bin/ls        print package(s) that own /bin/ls  

AUTHORS

Vitaly Kushneriuk <vitaly@gentoo.org>, 2002: qpkg

Karl Trygve Kalleberg <karltk@gentoo.org>, 2002: man page
Brandon Low <lostlogic@gentoo.org>, 2002: maintainance  

SEE ALSO

ebuild(5)
The /usr/sbin/qpkg script.

 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
NOTES
EXAMPLES
AUTHORS
SEE ALSO
blog comments powered by Disqus