Fedora packages versioning problem

Henrik Nordstrom hno at squid-cache.org
Tue Feb 8 09:52:19 GMT 2005

On Tue, 8 Feb 2005, Olaf [iso-8859-2] Fr±czyk wrote:

> The 3.0.11rc1 packages are assumed as newer than 3.0.11.

This is normal when using RPM or pretty much any other tool which looks at 
version numbers to determine which one is newest.

You can manually tell rpm that the 3.0.11 package is newer when installing 
by using the --oldpackage option.

The only reasonable way around this is to always use versioning schemes 
which sorts naturally, which unfortunately is normally not an option if 
one wants to have sane x.y.z version numbers in released packages.

It is possible to work around this version numbering ambigiouity when 
packaging the RPM by rearranging the version number to be different than 
the official release candidate version number, for example by using the 
rpm version number 3.0.11-0.rc1 instead of 3.0.11rc1-1, but this risks 
causing confusion with some users..


More information about the samba-technical mailing list