On Thu, Mar 18, 2004 at 01:17:52PM -0500, Stephen Gran wrote: > This one time, at band camp, Michael Koch said: > > On Thu, Mar 18, 2004 at 12:55:33PM -0500, Stephen Gran wrote: > > > Hello all, > > > > > > 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: > > > [EMAIL PROTECTED]:~$ dpkg --compare-versions 0.70-rc-1 lt 0.70-1 && echo yes > > > [EMAIL PROTECTED]:~$ > > > > > > 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? > > > > You could use 0.70-release-1 (or 0.70-rel1). > > [EMAIL PROTECTED]:~$ dpkg --compare-versions 0.70-release-1 lt 0.70-1 && echo yes > [EMAIL PROTECTED]:~$ dpkg --compare-versions 0.70-rel1 lt 0.70-1 && echo yes > [EMAIL PROTECTED]:~$
Do you search a version for the RC package or the RELEASE package ? If you search for the RC why is 0.70-0rc1 not working ? Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]