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

Re: Package versioning and upgrades



Turbo Fredriksson <turbo@bayour.com> writes:

> Checking the 'wheezy' and 'jessie' packages:
>
> 	$ dpkg --compare-versions 0.6.4-1.1-1-wheezy lt 0.6.4-1.1-1; echo $?
> 	1
> 	$ dpkg --compare-versions 0.6.4-12-0c60cc-wheezy lt 0.6.4-12-0c60cc; echo $?
> 	1
>
> So ISN'T true! What did I miss?

Never did work like that.

Just to prove the point, on a lenny system (as I'd expect) I also get:

=-=-=-=-
  phil@apu:~$ dpkg --version 
  Debian `dpkg' package management program version 1.14.31 (i386).
  This is free software; see the GNU General Public License version 2 or
  later for copying conditions. There is NO warranty.
  See dpkg --license for copyright and license details.

  phil@apu:~$ dpkg --compare-versions 0.6.4-1.1-1-wheezy lt 0.6.4-1.1-1; echo $?
  1

  phil@apu:~$ dpkg --compare-versions 0.6.4-12-0c60cc-wheezy lt 0.6.4-12-0c60cc; echo $?
  1
=-=-=-=-

could you perhaps have been using a terminal with fonts that make
~ (tilde) and - (minus) difficult to distinguish?

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY

Attachment: signature.asc
Description: PGP signature


Reply to: