Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90467 - gentoolkit-0.2.1-pre2: How do I get a package description (formerly qpkg -i) now?
Summary: gentoolkit-0.2.1-pre2: How do I get a package description (formerly qpkg -i) ...
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-26 01:39 UTC by Duncan
Modified: 2005-04-29 07:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info output (emerge.info,2.75 KB, text/plain)
2005-04-26 01:39 UTC, Duncan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2005-04-26 01:39:02 UTC
man equery isn't any help with this, nor is anything else I can think of.  What's the fast way to get a package description, comparable to qpkg -i, now that qpkg is deprecated?  I do /not/ want a full emerge -s, with possibly many packages and their descriptions returned, just a simple description of the package I'm requesting info on.  This is a serious regression in functionality, since I use this type of query often when I'm checking out packages.  I expected the functionality would be there by the time qpkg got deprecated out of use, but I don't see it.

Reproducible: Always
Steps to Reproduce:




emerge info to be attached
Comment 1 Duncan 2005-04-26 01:39:53 UTC
Created attachment 57260 [details]
emerge info output
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-04-26 02:14:06 UTC
emerge esearch && eupdatedb && man esearch ;-)

I suggest that you gunzip /usr/share/doc/esearch*/eupdatedb.cron.gz to /etc/cron.daily and chmod +x it to have the index refreshed on a regular basis. 

>I do /not/ want a full emerge -s, with possibly many packages and their >descriptions returned, just a simple description of the package I'm requesting >info on.

I don
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-04-26 02:14:06 UTC
emerge esearch && eupdatedb && man esearch ;-)

I suggest that you gunzip /usr/share/doc/esearch*/eupdatedb.cron.gz to /etc/cron.daily and chmod +x it to have the index refreshed on a regular basis. 

>I do /not/ want a full emerge -s, with possibly many packages and their >descriptions returned, just a simple description of the package I'm requesting >info on.

I don´t understand the difference, qpkg -i returned as many packages matching the query as emerge -s... 
Comment 4 Peter Humphrey 2005-04-26 03:19:54 UTC
equery just isn't an adequate replacement for qpkg. I use qpkg daily to summarise available packages as well as installed ones. More seriously, the Depend function of equery has not yet been implemented, and I use that often too. If you insist on removing qpkg from the standard gentoolkit, please include proper installation instructions for qpkg in place of the contemptuous "if you *really* want to use them". Until then I will be keeping ">app-portage/gentoolkit-0.2.0" in /etc/portage/package.mask.

While I'm at it, please make the -U parameter to qpkg work. Last time I tried it, it was apparently ignored.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-04-26 03:35:59 UTC
Comment #3: Symlink /usr/share/doc/gentoolkit-0.2.1_pre2/deprecated/qpkg/qpkg to somewhere in your path, if you want it. As for the second one, requesting new features for a deprecated package won
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-04-26 03:35:59 UTC
Comment #3: Symlink /usr/share/doc/gentoolkit-0.2.1_pre2/deprecated/qpkg/qpkg to somewhere in your path, if you want it. As for the second one, requesting new features for a deprecated package won´t attract much development effort, I´m pretty sure. :-)

While talking about this, there is a typo in man esearch 

 --verbose, -b
              Give a lot of additional information (slow!)

should obviously be -v

Error: option -b not recognized (see --help for all options)
Comment 7 Peter Humphrey 2005-04-26 12:15:42 UTC
I'm not asking for a new feature, only that an existing one be made to work.
Comment 8 Peter Humphrey 2005-04-26 12:18:48 UTC
Oh, and of course I should have thanked you for the symlink advice. Sorry Jakub.
Comment 9 Duncan 2005-04-29 06:53:15 UTC
re comment #2, last sentence, the difference between qpkg -i and emerge -s:

I guess you are right, it shows the same packages, but in a different format, more concise if all one is looking for is the description, as finding what's installed and/or available is a simple matter once one knows what package one is looking for.

I guess the ideal would be something less than emerge -s, less than qpkg -i, but more than emerge -sq, having /just/ the package name and the description.  Maybe it's time to have degrees of q and v, so single q shuts off the version info, but leaves the description, double q emerge -sqq produces just the names, as single q emerge -sq now does.
Comment 10 Duncan 2005-04-29 07:28:38 UTC
Finally merged esearch.  That compact mode (-c) does /exactly/ what I want!

I hadn't merged it b4 because I thought the db would take too long to update.  Turns out with my gig of memory, if I do it after an emerge sync, the info it needs is already in cache, and the update is less than 30 seconds worth! =8^)  Not bad at all, after sitting there waiting for the rsync and metadata update steps!  It's already added to my "esync" script. =8^)

I think this is now resolved/invalid.  I believe esearch just became one of my favorite Gentoo apps!