[olug] Confused
Tom
huber28 at cox.net
Tue Sep 23 00:40:56 UTC 2003
Yea I don't know what I did the first time but retried it today with a fresh
head and it worked as prescribed, thanks to all who responded.
Tom
-----Original Message-----
From: olug-bounces at olug.org [mailto:olug-bounces at olug.org]On Behalf Of
Daniel G. Linder
Sent: Monday, September 22, 2003 8:55 AM
To: Omaha Linux User Group
Subject: RE: [olug] Confused
Tom [mailto:huber28 at cox.net] wrote:
> rpm -q gtk+-1.2.10-22.i386.rpm
> gives me "package not installed
>
> rpm -qa | grep -i gtk+-1.2.10-22.i386.rpm
> runs for a bit then just gives another prompt,
> like it is doing something
> but nothing shows.
Well, it was running for a bit, but "grep" didn't show you anything
because there was no exact match. When using grep and a long string
doesn't match, try shortening the string and trying again.
In this case, try doing this:
rpm -qa | grep -i gtk
The extra stuff -- "+-1.2.10-22.i386.rpm" -- are the version number
(1.2.10), the system architecture (i386), and the package type (rpm).
Most output from the run of "rpm -qa" looks like this:
$ rpm -qa | head
redhat-logos-1.1.3-1
cracklib-2.7-12
dosfstools-2.7-1
gdbm-1.8.0-10
ksymoops-2.4.1-1
mktemp-1.5-11
...and so on...
This shows that I have a program called "dosfstools" installed, version
2.7-12. Note that the ".i386.rpm" is not shown at all so that is
probably the reason your grep command above didn't work.
Give the shorter version a try and go again.
Dan
_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug
More information about the OLUG
mailing list