Re: [opensuse-factory] Alpha7 and RPM db
Patrick Shanahan wrote: * Bart Whiteley <[EMAIL PROTECTED]> [08-17-07 18:27]: Bash expanded '*' to the contents of Don's current working directory. Don had a file or directory called Amarok in this directory, and this is the only item in the directory that matched a package name in the RPM database. Yes, one of those elderly moments on my part. Bart is correct - I use Amarok all the time because it is one of the greatest music players out there. It also shows why I like the source file and not the distro RPMs that much. Thanks to all that sort out my goof. -- 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] Alpha7 and RPM db
* Bart Whiteley <[EMAIL PROTECTED]> [08-17-07 18:27]: > Bash expanded '*' to the contents of Don's current working directory. > Don had a file or directory called Amarok in this directory, and this is > the only item in the directory that matched a package name in the RPM > database. Yes, one of those elderly moments on my part. -- Patrick Shanahan Plainfield, Indiana, USAHOG # 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]
Re: [opensuse-factory] Alpha7 and RPM db
Patrick Shanahan wrote: > * 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. > > Bash expanded '*' to the contents of Don's current working directory. Don had a file or directory called Amarok in this directory, and this is the only item in the directory that matched a package name in the RPM database. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] Alpha7 and RPM db
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Shanahan wrote: > * Donn Washburn <[EMAIL PROTECTED]> [08-17-07 17:06]: [...] >> 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. "rpm -q *" doesn't work "rpm -qa" does. When invoking "rpm -qa", there is no need to pass "*" as well, hence the proper usage is: rpm -qa and not rpm -qa * Also, be careful with using * on a command-line. Unlike DOS or windows, the "*" is being replaced with proper values by the shell _before_ calling the actual program. Which means that if you're in /home/foo and you do this in a shell: rpm -qa * the command that will actually be executed is the following: rpm -qa Desktop Documents bin public_html because the * is resolved by the shell before calling rpm -qa. Make sure to escape the "*", either like this: rpm -qa \* or like this: rpm -qa "*" or even like this: rpm -qa '*' More information on that can be found in the bash manual (man bash, or if you're using KDE, type "man:/bash" as the URL in konqueror). But as said "rpm -qa \*" is useless, just do "rpm -qa" You could do this though: rpm -qa amarok\* In that case, rpm will only list the packages that have a name starting with "amarok" hope this helps cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> _\_v The more things change, the more they stay insane. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD4DBQFGxhvAr3NMWliFcXcRArK+AKCsBnbNlE/xyYTOEvaML6zbxOBjMACXXkah ibY7kC03AT5Nl6k9Uf+Vdg== =dsdf -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [opensuse-factory] Alpha7 and RPM db
* 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 " --help". There is also "man ". try: rpm --help and man rpm rpm -qa works for me, as does rpm -qa |grep or, when memory might be faulty rpm -qa |grep -i > 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, USAHOG # 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]