Package: dpkg
Version: 1.17.23
Severity: wishlist
Tags: patch
Hello,
I've expanded the dpkg man page section on --compare-versions as
follows:
--compare-versions ver1 op ver2
...
... These are provided only for compatibility with control file syntax:
< << <= = >= >> >, are deprecated and should not be used, due to
confusing semantics. To illustrate: 0.1 < 0.1 evaluates as true.
You can find the respective commit here:
http://anonscm.debian.org/cgit/users/tpo/dpkg.git/commit/?id=83a79497628da68d4d96ba22233b0b1ea2dceb82
And can pull from here:
git://git.debian.org/users/tpo/dpkg.git
I've spend an hour or two before figuring out, that it was the weird '<' '>'
semantics that is "broken". So I'd be glad if you could include more
explicit documentation of the problem and spare others wasting their time
debuging the fallout of these particular semantics.
Please pull. Thanks,
*t
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_CH.utf8, LC_CTYPE=de_CH.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages dpkg depends on:
ii libbz2-1.0 1.0.6-7+b2
ii libc6 2.19-13
ii liblzma5 5.1.1alpha+20120614-2+b3
ii libselinux1 2.3-2
ii tar 1.27.1-2+b1
ii zlib1g 1:1.2.8.dfsg-2+b1
dpkg recommends no packages.
Versions of packages dpkg suggests:
ii apt 1.0.9.6
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]