Re: how to fix rpm database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

  $ 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
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux