Your message dated Tue, 29 Sep 2015 14:39:02 +0200
with message-id <[email protected]>
and subject line Re: Bug#800439: dpkg: version comparison does not treat ~ as 
“lower what’s before” always
has caused the Debian Bug report #800439,
regarding dpkg: version comparison does not treat ~ as “lower what’s before” 
always
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
800439: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800439
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg
Version: 1.18.3
Severity: normal

root@ci-busyapps:~ # dpkg --compare-versions '2015.20150917-1~+without-ruby' gt 
2015.20150917-1; echo $?
0
root@ci-busyapps:~ # dpkg --compare-versions '2015.20150917-1~' gt 
2015.20150917-1; echo $?
1
root@ci-busyapps:~ # dpkg --compare-versions '2015.20150917-1~+' gt 
2015.20150917-1; echo $?
1
root@ci-busyapps:~ # dpkg --compare-versions '2015.20150917-1~+-' gt 
2015.20150917-1; echo $?
0

Expected for all four to return 1.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-8
ii  libc6        2.19-22
ii  liblzma5     5.1.1alpha+20120614-2.1
ii  libselinux1  2.3-2+b1
ii  tar          1.28-1
ii  zlib1g       1:1.2.8.dfsg-2+b1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  1.0.10.2

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi!

On Tue, 2015-09-29 at 12:49:20 +0200, Thorsten Glaser wrote:
> Package: dpkg
> Version: 1.18.3
> Severity: normal

> root@ci-busyapps:~ # dpkg --compare-versions '2015.20150917-1~+without-ruby' 
> gt 2015.20150917-1; echo $?
> 0

You are comparing:

  Upstream                     Revision
  '2015.20150917-1~+without' - 'ruby' against
  '2015.20150917'            - '1'

> root@ci-busyapps:~ # dpkg --compare-versions '2015.20150917-1~' gt 
> 2015.20150917-1; echo $?
> 1
> root@ci-busyapps:~ # dpkg --compare-versions '2015.20150917-1~+' gt 
> 2015.20150917-1; echo $?
> 1
> root@ci-busyapps:~ # dpkg --compare-versions '2015.20150917-1~+-' gt 
> 2015.20150917-1; echo $?
> 0

You are comparing:

  Upstream              Revision
  '2015.20150917-1~+' - ''
  '2015.20150917'     - '1'

> Expected for all four to return 1.

Not really. :) Closing now.

Thanks,
Guillem

--- End Message ---

Reply via email to