* Donn Washburn <[EMAIL PROTECTED]> [08-17-07 17:06]: > I was going to check the RPM database for various pieces of software > versions. Say like Open Office by "rpm --qa *".
first, there is no option "--qa", its "-qa", and the asterisk is superfluous. > To which the rpm database comes up with Amarok-1.4.6 only. this makes NO sense, "Amarok...", *unless* your database is totally corrupt. > I would have expected a dump of the programss. given the correct syntax... > So I did a remake of the RPM database "rpm --rebuilddb" then "rpm > --initdb" and still it finds only Amarok. show the EXACT command you typed as this still makes no sense. > This was done as "root". not necessary to show installed pgms, but is for the rebuild and/or initdb. > Am I doing it wrong or is there some other new trick. "rpm -q" > rpmfilename seems to work but rpm "-q *" or "-qa *" fails to work. Is > this a Senior Moment or bad memory problem. "Senior" no, but perhaps bad memory. More likely you do not know the command structure/syntax. IN LINUX command-line applications, *usually* the proper command syntax may be displayed via "<command> --help". There is also "man <command>". try: rpm --help and man rpm rpm -qa <app-name> works for me, as does rpm -qa |grep <app-name> or, when memory might be faulty rpm -qa |grep -i <app-name> > Ultimately I was going to "rpm -qa * | grep open" But you didn't ???? > -- > 73 de Donn Washburn > 307 Savoy Street Email: " [EMAIL PROTECTED] " > Sugar Land, TX 77478 LL# 1.281.242.3256 > Ham Callsign N5XWB HAMs : " [EMAIL PROTECTED] " > VoIP via Gizmo: bmw_87kbike / via Skype: n5xwbg > BMW MOA #: 4146 - Ambassador > " http://counter.li.org " #279316 > > Did you know? > The transistor was invented by three white men. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ is this a vain attempt at racial bigotry or just a red-neck showing his true colors. ?? 10 line sig ?? -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]