> My problem though, was that the utility I wanted was top which is in the
> package "procps" but used to be in the package "ps".

Unfortunately you get that under Linux (it's nothing SuSE-specific).

Once you knew (and you did from pretty early on) that the problem was
"which package do I need to install to get program X", there were/are N
different ways of doing it. I'll look into again whether yast can do
it. In your case, you had a huge pile of rpms sitting on your hard
disk. With very minimal shell scripting (1 line) one can look through
them and grep for the file you're after. Or, look through the file
ARCHIVES.gz, which is on every CD/DVD and should be on the ftp server
too. It contains a list of package names and other package info. Or,
install package scriptutils from my website and create your own package
index with susegrep, then seach for anything you like. On 8.2, this
looks like this:

> susegrep -f /top\$
crossfire-server-1.3.0-105.i586.rpm.ls:/usr/share/games/crossfire/maps/santo_dominion/magara/well/top
fvwm-themes-0.4.2-539.noarch.rpm.ls:/usr/X11R6/share/fvwm/themes/redmond98/modules/taskbarpos/top
ps-2003.3.5-10.i586.rpm.ls:/usr/bin/top
xfig-3.2.3d-312.i586.rpm.ls:/usr/share/doc/packages/xfig/Examples/Libraries/Mechanical_DIN/Screws/Top

No marks for guessing which packages don't contain the top you're after.

> susegrep ^ps-
ps-2003.3.5-10.i586.rpm                             cd1  suse/i586
ps-2003.3.5-10.i586.rpm                             dvd1 suse/i586
ps-2003.3.5-10.src.rpm                              dvd2 suse/src

It's on CD 1 or DVD 1, the source is only on DVD 2 and not on any CD.

Volker

-- 
Volker Kuhlmann                 is possibly list0570 with the domain in header
http://volker.dnsalias.net/             Please do not CC list postings to me.

Reply via email to