Eric Huff wrote:
Hello,
How can i search the names of rpms, and show the summary and description?
If i urpmf, it appears to search more.
The more you specify a file path to urpmf, the less it will return as relevant, and vice-versa. However, if urpmf returns nothing for a specific library, for instance, it might be useful to cut pieces from the end of the library argument you are searching on, bit-by-bit, to get some clue of what package might be related to your search.
What i'd like is a command line version of what rpmdrake does: once i get it open, it very nicely shows only packages with "nmh" (for example) in the name and i can quickly see the description and summary.
You can look for a certain package name or name containing a certain string with urpmq; also try urpmq --fuzzy for a broader search (see man urpmq):
[EMAIL PROTECTED] rolf]$ urpmq bit The following packages contain bit: bittorrent-shadowsclient fonts-bitmap-tscii libebits1 libebits1-devel libitclib0 libitclib0-devel libitclib0-static-devel orbital_eunuchs_sniper pyorbit pyorbit-devel
You can use the -i option for urpmq:
[EMAIL PROTECTED] rolf]$ urpmq -i bittorrent-shadowsclient
Name : bittorrent-shadowsclient
Version : 5.8.3
Release : 1mdk
Group : Networking/File transfer
Size : 890705 Architecture: noarch
Summary : BitTorrent is a tool for copying files from one machine to another
It also, on the same page, shows the current version i have installed, if any.
Use rpm -q to see installed version, if any:
[EMAIL PROTECTED] rolf]$ rpm -q pyorbit package pyorbit is not installed
Also, use urpmq --sources to find the path to an uninstalled rpm in your sources and read the package information with rpm -qip (man rpm):
[EMAIL PROTECTED] rolf]$ urpmq --sources pyorbit
file://contrib/i586/pyorbit-2.0.0-1mdk.i586.rpm
[EMAIL PROTECTED] rolf]$ rpm -qip /contrib/i586/pyorbit-2.0.0-1mdk.i586.rpm
Name : pyorbit Relocations: (not relocateable)
Version : 2.0.0 Vendor: MandrakeSoft
Release : 1mdk Build Date: Tue 02 Sep 2003 02:24:11 AM PDT
Install Date: (not installed) Build Host: klama.mandrake.org
Group : Development/GNOME and GTK+ Source RPM: pyorbit-2.0.0-1mdk.src.rpm
Size : 107274 License: LGPL
Signature : (none)
Packager : G�tz Waschk <[EMAIL PROTECTED]>
URL : ftp://ftp.gnome.org/pub/GNOME/sources/pyorbit/
Summary : Python bindings for ORBit2.
Description :
pyorbit is an extension module for python that gives you access
to the ORBit2 CORBA ORB.
Is there a line (or lines) for urpm* that i can use?
I find the urpm*/rpm tools to be more convenient, quick, and flexible than rpmdrake, once I have got the hang of them.
Rolf
Thanks, eric
------------------------------------------------------------------------
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
