On Wed, 31 Aug 2011, Michael Schwendt wrote:
On Wed, 31 Aug 2011 00:41:18 -0500 (CDT), MH (Michael) wrote:
> yum and rpm have different ideas about wether three packages are installed:
>
> [root@localhost log]# rpm -V 1:tk-8.5.9-2.fc14.i686
> 1:tix-8.4.3-5.fc13.i686 1:numpy-1.4.1-6.fc14.i686
> package 1:tk-8.5.9-2.fc14.i686 is not installed
> package 1:tix-8.4.3-5.fc13.i686 is not installed
> package 1:numpy-1.4.1-6.fc14.i686 is not installed
The leading 1: is the Epoch, which is usually hidden in RPM and not
displayed unless you query package details or the Epoch explicitly. E.g.
Thanks.
$ rpm -qi tix | grep Epoch
Epoch : 1
$ rpm -q --qf %{epoch}\\n tix
1
Omit it when querying RPM. Run just
rpm -V tk-8.5.9-2.fc14.i686 tix-8.4.3-5.fc13.i686 numpy-1.4.1-6.fc14.i686
or leave out the version-release.arch part. Notice that RPM does not
print the Epoch, try:
rpm -q tk tix numpy
--
Michael hennebry(a)web.cs.ndsu.NoDak.edu
"Pessimist: The glass is half empty.
Optimist: The glass is half full.
Engineer: The glass is twice as big as it needs to be."