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

Re: Versioning question



On Thu, Mar 18, 2004 at 12:55:33PM -0500, Stephen Gran wrote:
> This may be a simple thing that has been solved many times before, but I
> am apparently being stupid about it.  I am packaging the newest release
> of one of my packages, and I am having some trouble ensuring
> upgradeability.
> 
> The version for this release is 0.70-rc, and upstream says the next
> release will be 0.70.  The obvious problem is:
> steve@gashuffer:~$ dpkg --compare-versions 0.70-rc-1 lt 0.70-1 && echo yes
> steve@gashuffer:~$
> 
> That won't upgrade, so I need some hack to do it.  I could go with
> something like 0.70-0rc1, but then I have to change the name of the
> upstream tarball as well to a version that it really isn't, correct?
> Anybody already faced this problem and come up with a reasonable
> solution?

There's ~, but you can't use that until sarge has been released.

In the absence of that, something like 0.69-really-0.70-rc-1 (or what
you suggest) is a common workaround. It's not too bad to change the
tarball name.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: