Rpmbuild Precedence Problem

Alexander Dalloz ad+lists at uni-x.org
Wed Jul 20 22:19:32 UTC 2005


Am Do, den 21.07.2005 schrieb David Cary Hart um 0:12:

> > >         "package postfix-2.2.4-1.FC4 (which is newer than
> > >         postfix-2.2.5-3.FC4) is already installed"

> > Try this: 
> > 
> > rpm -q --qf '%{epoch}:%{version}-%{release}\n' postfix

query the rpm_db for package name postfix with query format "epoch:
version - release"

> > rpm -qp --qf '%{epoch}:%{version}-%{release}\n' postfix-2.2.5-3.FC4*.rpm

query the postfix rpm from file with query format "epoch: version -
release"

> What does that do? I cannot follow the commands.

The sense is to see whether postfix-2.2.4-1.FC4 has a higher epoch set
than postfix-2.2.5-3.FC4 - which is to be expected and the cause of
above message which you got.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 00:16:45 up 5 days, 4:49, load average: 0.24, 0.21, 0.18 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20050721/936be1fe/attachment-0002.bin 


More information about the users mailing list