Yum oddness

Mamoru Tasaka mtasaka at ioa.s.u-tokyo.ac.jp
Wed Jul 21 18:49:01 UTC 2010


Stephen Gallagher wrote, at 07/22/2010 03:21 AM +9:00:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/21/2010 11:14 AM, Patrick O'Callaghan wrote:
>>
>> Thanks Stephen (and Mamoru). I did notice the epoch number but "rpm -qi"
>> on the current version (2.2.9) doesn't show the epoch so I wasn't sure.
>>
>> poc
>>
>
> No epoch is equivalent to epoch zero. That's why it wasn't displayed.

To be clear:
By default "$ rpm -q" ($ rpm -qi) does not show epoch information even if
the rpm actually has epoch. e.g.

[tasaka1 at localhost ~]$ rpm -q xscreensaver-base
xscreensaver-base-5.11-7.fc14.respin1.i686
[tasaka1 at localhost ~]$ rpm -q --qf '%{name}-%{evr}.%{arch}\n' xscreensaver-base
xscreensaver-base-1:5.11-7.fc14.respin1.i686
[tasaka1 at localhost ~]$ env LANG=C yum info xscreensaver-base
Installed Packages
Name        : xscreensaver-base
Arch        : i686
Epoch       : 1
Version     : 5.11
Release     : 7.fc14.respin1
Size        : 1.3 M
Repo        : installed
....
....

Regards,
Mamoru


More information about the users mailing list