Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 46986 Details for
Bug 75802
qpkg is deprecated, unmaintained and unsupported
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gentqpkg.patch
gentoolk.patch (text/plain), 9.54 KB, created by
Stefano Pacella (RETIRED)
on 2004-12-27 12:05:58 UTC
(
hide
)
Description:
gentqpkg.patch
Filename:
MIME Type:
Creator:
Stefano Pacella (RETIRED)
Created:
2004-12-27 12:05:58 UTC
Size:
9.54 KB
patch
obsolete
>? gentoolk.patch >? handbook/so04122004.patch >Index: gentoolkit.xml >=================================================================== >RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoolkit.xml,v >retrieving revision 1.17 >diff -u -t -r1.17 gentoolkit.xml >--- gentoolkit.xml 24 Oct 2004 22:48:37 -0000 1.17 >+++ gentoolkit.xml 27 Dec 2004 19:53:43 -0000 >@@ -28,8 +28,8 @@ > This document covers the basics of some of the tools present in Gentoolkit. > </abstract> > >-<version>1.4</version> >-<date>August 25, 2004</date> >+<version>1.5</version> >+<date>2004-12-27</date> > > <chapter> > <title>Introduction</title> >@@ -96,289 +96,14 @@ > </chapter> > >-<chapter> >-<title>Querying Package Data with qpkg</title> >-<section> >-<title>Introduction</title> >-<body> >- >-<p> >-<c>qpkg</c> is a flexible tool for determining information about installed >-ebuilds. It can provide information about what files belong to which ebuilds, >-whether multiple versions of the same package are installed and what a >-particular ebuild does. It can also be used to query some information about >-ebuilds that have not been installed. >-</p> >- >-<p> >-Calling <c>qpkg</c> with no arguments prints a list of all ebuilds with >-asterisks (*) next to the packages that are installed on the system. >-</p> >- >-<note> >-By default, <c>qpkg</c> prints output in color. To turn this off on the command >-line, use the <c>--no-color</c> or <c>-nc</c> flag. >-</note> >- >-</body> >-</section> >-<section> >-<title>Querying Package Information</title> >-<body> >- >-<p> >-One of the most common uses for <c>qpkg</c> is determining what a given package >-is. For instance, while looking through <path>net-misc</path>, I saw a package >-called <path>neon</path>. Having no idea what it was, I ran qpkg. >-</p> >- >-<pre caption="Package Information"> >-# <i>qpkg -i net-misc/neon</i> >-net-misc/neon-0.24.4 >- HTTP and WebDAV client library [ http://www.webdav.org/neon ] >-net-misc/neon-0.23.8 >- HTTP and WebDAV client library [ http://www.webdav.org/neon ] >-net-misc/neon-0.24.6 >- HTTP and WebDAV client library [ http://www.webdav.org/neon/ ] >-net-misc/neon-0.24.5 >- HTTP and WebDAV client library [ http://www.webdav.org/neon ] >-net-misc/neon-0.24.0 >- HTTP and WebDAV client library [ http://www.webdav.org/neon ] >-net-misc/neon-0.21.3 >- HTTP and WebDAV client library [ http://www.webdav.org/neon ] >-net-misc/neon-0.23.9 >- HTTP and WebDAV client library [ http://www.webdav.org/neon ] >-net-misc/neon-0.24.7 >- HTTP and WebDAV client library [ http://www.webdav.org/neon/ ] >-net-misc/neon-0.24.2 >- HTTP and WebDAV client library [ http://www.webdav.org/neon ] >-</pre> >- >-<p> >-<c>qpkg</c> read through the ebuild files for the nine >-<path>net-misc/neon</path> ebuilds and printed out the information stored in >-DESCRIPTION and HOMEPAGE. >-</p> >- >-</body> >-</section> >-<section> >-<title>Listing Files Belonging to an Ebuild</title> >-<body> >- >-<p> >-<c>qpkg</c> can also list the files that belong to an installed ebuild. I >-know that gentoolkit installed several tools, but I don't know what they >-all are. To find out, I can do a <c>qpkg -l</c>. >-</p> >- >-<pre caption="Package File list using qpkg"> >-# <i>qpkg -l app-portage/gentoolkit</i> >-app-portage/gentoolkit-0.2.0_pre8 * >-CONTENTS: >-/usr >-/usr/bin >-/usr/bin/euse >-/usr/bin/qpkg >-/usr/bin/etcat >-/usr/bin/revdep-rebuild >-/usr/bin/glsa-check >-/usr/bin/dep-clean >-/usr/bin/equery >-/usr/bin/ewhich >-/usr/bin/pkg-size >-/usr/lib >-/usr/lib/gentoolkit >-/usr/lib/gentoolkit/pym >-/usr/lib/gentoolkit/pym/glsa.py >-/usr/lib/gentoolkit/pym/gentoolkit.py >-/usr/sbin >-/usr/sbin/pkg-clean >-/usr/sbin/mkebuild >-/usr/share >-/usr/share/doc >-/usr/share/doc/gentoolkit-0.2.0_pre8 >-/usr/share/doc/gentoolkit-0.2.0_pre8/NEWS >-/usr/share/doc/gentoolkit-0.2.0_pre8/TODO >-/usr/share/doc/gentoolkit-0.2.0_pre8/euse >-/usr/share/doc/gentoolkit-0.2.0_pre8/euse/TODO >-/usr/share/doc/gentoolkit-0.2.0_pre8/euse/README >-/usr/share/doc/gentoolkit-0.2.0_pre8/euse/AUTHORS >-/usr/share/doc/gentoolkit-0.2.0_pre8/euse/ChangeLog >-/usr/share/doc/gentoolkit-0.2.0_pre8/qpkg >-/usr/share/doc/gentoolkit-0.2.0_pre8/qpkg/README >-/usr/share/doc/gentoolkit-0.2.0_pre8/qpkg/AUTHORS >-/usr/share/doc/gentoolkit-0.2.0_pre8/qpkg/ChangeLog >-/usr/share/doc/gentoolkit-0.2.0_pre8/etcat >-/usr/share/doc/gentoolkit-0.2.0_pre8/etcat/README >-/usr/share/doc/gentoolkit-0.2.0_pre8/etcat/AUTHORS >-/usr/share/doc/gentoolkit-0.2.0_pre8/revdep-rebuild >-/usr/share/doc/gentoolkit-0.2.0_pre8/revdep-rebuild/TODO >-/usr/share/doc/gentoolkit-0.2.0_pre8/revdep-rebuild/README >-/usr/share/doc/gentoolkit-0.2.0_pre8/revdep-rebuild/AUTHORS >-/usr/share/doc/gentoolkit-0.2.0_pre8/README >-/usr/share/doc/gentoolkit-0.2.0_pre8/equery >-/usr/share/doc/gentoolkit-0.2.0_pre8/equery/README >-/usr/share/doc/gentoolkit-0.2.0_pre8/equery/AUTHORS >-/usr/share/doc/gentoolkit-0.2.0_pre8/AUTHORS >-/usr/share/doc/gentoolkit-0.2.0_pre8/gentoolkit >-/usr/share/doc/gentoolkit-0.2.0_pre8/gentoolkit/TODO >-/usr/share/doc/gentoolkit-0.2.0_pre8/gentoolkit/README >-/usr/share/doc/gentoolkit-0.2.0_pre8/gentoolkit/AUTHORS >-/usr/share/doc/gentoolkit-0.2.0_pre8/gentoolkit/ChangeLog >-/usr/share/doc/gentoolkit-0.2.0_pre8/ChangeLog >-/usr/share/doc/gentoolkit-0.2.0_pre8/COPYING >-/usr/share/man >-/usr/share/man/man1 >-/usr/share/man/man1/revdep-rebuild.1.gz >-/usr/share/man/man1/mkebuild.1.gz >-/usr/share/man/man1/qpkg.1.gz >-/usr/share/man/man1/pkg-clean.1.gz >-/usr/share/man/man1/etcat.1.gz >-/usr/share/man/man1/ewhich.1.gz >-/usr/share/man/man1/equery.1.gz >-/usr/share/man/man1/euse.1.gz >-/usr/share/man/man1/dep-clean.1.gz >-/usr/share/man/man1/pkg-size.1.gz >-</pre> >- >-<note> >-In case you have gentoolkit-dev installed, <c>qpkg</c> will list out files for >-that as well, i.e. it displays the file list for all installed packages with >-the name gentoolkit. >-</note> >- >-</body> >-</section> >-<section> >-<title>Finding the Package That a File Came From</title> >-<body> >- >-<p> >-To find the package that a file came from, use the <c>-f</c> or >-<c>--find-file</c> flag. >-</p> >- >-<pre caption="Finding the ebuild that installed a given file"> >-# <i>qpkg -f /usr/lib/mozilla</i> >-net-www/mozilla * >-</pre> >- >-</body> >-</section> >-<section> >-<title>Listing Duplicate Packages</title> >-<body> >- >-<p> >-Sometimes multiple versions of the same package may exist. <c>qpkg --dups</c> >-will print a list of duplicate packages. The existence of a duplicate package >-though may not indicate that the older version may be removed. They may fill >-different slots. To look for duplicates in the same slot, use <c>qpkg --dups >---slot</c>. I just updated KDE from 3.0 to 3.0.2, so I have some duplicates in >-the same slot. >-</p> >- >-<pre caption="Finding duplicate packages"> >-# <i>qpkg --dups --slot</i> >-app-portage/gentoolkit >-kde-base/kdeaddons >-kde-base/kdeadmin >-kde-base/kdeartwork >-kde-base/kdebase >-kde-base/kdegames >-kde-base/kdelibs >-kde-base/kdemultimedia >-kde-base/kdenetwork >-kde-base/kdetoys >-kde-base/kdeutils >-media-libs/freetype >-x11-libs/qt >-</pre> >- >-</body> >-</section> >-<section> >-<title>Verifying Package Integrity</title> >-<body> >- >-<p> >-Sometimes it is useful to check a package's integrity to know that files have >-not been replaced since they were installed. <c>qpkg</c> can verify md5 sums as >-well as install times to indicate whether files for the package might have been >-corrupted, replaced, or removed. >-</p> >- >-<p> >-To check both mtimes and md5 sums, use the <c>-c</c> flag. >-</p> >- >-<pre caption="See the Difference?"> >-# <i>qpkg cdrtools -c -v</i> >-app-cdr/cdrtools-2.01_alpha25 * >-/etc/default/rscsi.dfl !mtime! >-/usr/bin/devdump !md5! !mtime! >-/usr/bin/mkisofs !md5! !mtime! >-/usr/bin/isovfy !md5! !mtime! >-/usr/bin/readcd !md5! !mtime! >-/usr/bin/cdda2wav !md5! !mtime! >-/usr/bin/cdrecord !md5! !mtime! >-/usr/bin/isodump !md5! !mtime! >-/usr/bin/isoinfo !md5! !mtime! >-/usr/lib/libfile.a !md5! !mtime! >-/usr/lib/librscg.a !md5! !mtime! >-/usr/lib/libunls.a !md5! !mtime! >-/usr/lib/libedc_ecc.a !md5! !mtime! >-/usr/lib/libdeflt.a !md5! !mtime! >-/usr/lib/libhfs.a !md5! !mtime! >-/usr/lib/libscg.a !md5! !mtime! >-/usr/lib/libparanoia.a !md5! !mtime! >-/usr/lib/libschily.a !md5! !mtime! >-/usr/sbin/rscsi !md5! !mtime! >-/usr/share/man/man1/cdrecord.1.gz !md5! !mtime! >-/usr/share/man/man1/readcd.1.gz !md5! !mtime! >-/usr/share/man/man1/cdda2wav.1.gz !md5! !mtime! >-/usr/share/man/man8/mkisofs.8.gz !md5! !mtime! >-76/150 >- >-app-cdr/cdrtools-2.01_alpha37 * >-0/122 >-</pre> >- >-<p> >-As you can see, I have more than one version of cdrtools installed. <c>qpkg</c> >-reports that many of the files from the older version have been changed since I >-installed it. Those packages were most likely modified when I updated from >-<path>cdrtools-2.01_alpha25</path> to <path>cdrtools-2.01_alpha37</path>. Note >-that the last two lines indicate that 0 of 122 files from <path>cdrtools-2.01 >-_alpha37</path> have been changed since I installed. That is good. If any of >-them had been changed, I would be worried. >-</p> >- >-</body> >-</section> >-<section> >-<title>But Wait... There's More</title> >-<body> >- >-<p> >-<c>qpkg</c> can be used for other querying tasks that I will not cover here. >-There is a very complete man page for <c>qpkg</c>. Please read it for more >-information. >-</p> >- >-</body> >-</section> >-</chapter> > > <chapter> > <title>equery</title> > <section> > <title>Introduction</title> > <body> > > <p> >-<c>equery</c> is a tool that supports features that <c>qpkg</c> and <c>epm</c> >-have but has its own set of features that make it really useful. <c>equery >+<c>equery</c> is a tool that supports features that <c>epm</c> >+has but has its own set of features that make it really useful. <c>equery > --help</c> gives you the full set of options. <c>equery</c> will eventually > replace <c>etcat</c> at some point of time. > </p>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 75802
: 46986 |
46987