Re: New APT Repo for Tripwire project - added pan-0.14.2.90-1.fdr.1

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

 



On Sun, 30 Nov 2003 05:37:37 +0000, Keith G. Robertson-Turner wrote:

> On Sun, 30 Nov 2003 05:32:30 +0100, Michael Schwendt wrote:
> 
> > On Sun, 30 Nov 2003 02:36:55 +0000, Keith G. Robertson-Turner wrote:
> 
> >> Michael, I must admit that I really don't understand Epochs.
> 
> Ok, so now I understand the theory, but it doesn't bear out in practise.
> 
> I just used apt to fetch pan, and it superseded 1:0.14.2.90-0.fdr.1 with
> 1:0.14.2-1.rhfc1.dag.

I doubt that. 

Most likely you've had an Epoch 0 in your 0.14.2.90 package.

  $ fedora-rpmvercmp 1 0.14.2 1.rhfc1.dag 1 0.14.2.90 0.fdr.1
  1:0.14.2.90-0.fdr.1 is newer

  $ fedora-rpmvercmp 
  Epoch1 :1
  Version1 :0.14.2
  Release1 :1.rhfc1.dag
  Epoch2 :1
  Version2 :0.14.2.90
  Release2 :0.fdr.1
  1:0.14.2.90-0.fdr.1 is newer

> Is 14.2 release 1 newer than 14.2.90 release 0?

No. The release is irrelevant in this case, since 0.14.2.90 is greater
than 0.14.2 already. RPM versiong comparison splits %{version} at every
dot and then compares the segments to eachother. The package version with
the first higher segment wins. Since 0.14.2 and 0.14.2.90 are equal up to
the last segment "90", the longer version wins. If both packages' versions
are equal, RPM version comparison continues with comparing package
%{release}.

%{epoch} comparison overrides %{version}-%{release} comparison.
Package with higher Epoch wins regardless of version-release.

-- 

Attachment: pgptTOmGqD27A.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux