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

Re: Incorrect versioning



On Fri, Sep 24, 1999 at 09:48:42AM -0500, Justin Penney wrote:
> I noticed that visual-tcl was orphaned quite some time ago and i got the
> source package and got the newest version. I closed the bugs that were
> outstanding but ran into a weird (annoying) problem.
> 
> The current version is 1.2.0. The old version is 1.010. It was packaged as
> 1.10. So when i installed my newer 1.2 package... It said that i was
> downgrading. I realize that this isn't really a big issue but it's still
> annoying and might confuse some users.
> 
> Any thoughts on what to do?

The version in slink is "1.10-0.2". You can make the new version
"1.20-1" and it'll be fine. No need for epoch, at least not right now.

Anyway, you can test what does dpkg think of version relations with this:

$ dpkg --compare-versions 1.10-0.2 \< 1.20-1 >/dev/null && echo true || echo false
                          ~~~~~~~~~~~~~~~~~~
Of course, change the test to whatever you want.

-- 
enJoy -*/\*- don't even try to pronounce my first name


Reply to: