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

Re: debian, package and other version info



Thanks a lot Roberto.
 
Now, does "4" in 4Sarge5 correspond to the Debian stable release number? When you download the Debian installers, you see the versions:
 
3.1_r0
3.1_r1
.
.
3.1_r5
 
So this means Debian 3.1_r5 already includes mysql-server-4.1/4.1.11a-5? And then any new patches since -5, would rename this to mysql-server-4.1/4.1.11a-5sarge1, mysql-server-4.1/4.1.11a-5sarge2 etc.?


"Roberto C. Sanchez" <roberto@connexer.com> wrote:
On Mon, Feb 26, 2007 at 01:22:45PM -0800, Petra Kabayo wrote:
> Hi,
>
> I'm trying to discern the versioning info being used. Take this mysql bug report:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=369735
>
> Says fixed in version mysql-server-4.1/4.1.11a-4sarge4. I figure "4.1/4.1.11a" is the mysql version number, and "4sarge4" is specific to Debian? But what do the numbers before and after "sarge" signify? When is the number before/after incremented? ie when do we get 5sarge4 or 4sarge5? Can I assume that mysql-server-4.1/4.1.11a-5sarge4 or mysql-server-4.1/4.1.11a-4sarge5 would already contain the same fixes?
>
Actually, mysql-server-4.1 is the name of the package. The 4.1 is
simply there so that the name can distinguish it from the
mysql-server-5.0 package, for example. The version is 4.1.11a-4sarge4.
In any Debian package, the Debian-specific part of the version is
anything after the last hyphen. So, 4.1.11a is the upstream version
number and 4sarge4 is the Debian part. Generally, Debian packages have
numbers like -2, -5.1 or something like that. Now, in the case of a
stable release update (for security fixes) there needs to bo a way to
make sure that it won't prevent a newer version from overwriting it when
the whole OS is upgraded.

So, barring any other updates from upstream, if a security fix is
released, the first time it changes the version from 4.1.11a-4 to
4.1.11a-4sarge1. Now, the maintainer uploads version 4.1.11a-5 to
unstable. When you upgrade the OS, you want the -5 package to be able
to be considered "better" than the version from stable.

Regards,

-Roberto
--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
Reply to: