Package: devscripts
Version: 2.8.14
Severity: wishlist
Hi,
I'm using deb-reversion extensively in an automatic conversion script for
amd64 biarch setups. I would like to use the default version deb-reversion
generates but that creates problems with security updates for sarge:
1.2-3 ==> 1.2-3+0.local.1
1.2-3sarge1 ==> 1.2-3sarge1+0.local.1
dpkg --compare-versions "1.2-3+0.local.1" "<=" "1.2-3sarge1+0.local.1" || echo
no
no
As you can see deb-reversion reverses the version sorting for security updates.
In my case this prevents updates from being converted and installed which is
rather dangerous.
I propose to use the followingi, less beautifull, scheme that preserves the
order of debian versions:
Append a.local.1 to the debian revision, creating an empty one if none is
present:
1.2 ==> 1.2-a.local.1
1.2-3 ==> 1.2-3a.local.1
1.2-3.1 ==> 1.2-3.1a.local.1
1.2-3.0.1 ==> 1.2-3.0.1a.local.1
1.2-0sarge1 ==> 1.2-0sarge1a.local.1
1.2sarge1 ==> 1.2sarge1-a.local.1
1.2sarge1-0.1 ==> 1.2sarge1-0.1a.local.1
1.2-3sarge1 ==> 1.2-3sarge1a.local.1
1.2-3.1sarge1 ==> 1.2-3.1sarge1a.local.1
1.2-3.0.1sarge1 ==> 1.2-3.0.1sarge1a.local.1
Note: This only works if no release codename starts with an a.
If a future one starts with an a then using a0.local.1 should solve the issue
again.
MfG
Goswin
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-rc5+skas3+acl
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages devscripts depends on:
ii debianutils 2.8.4 Miscellaneous utilities specific t
ii dpkg-dev 1.10.28 Package building tools for Debian
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii perl 5.8.4-8 Larry Wall's Practical Extraction
ii sed 4.1.2-8 The GNU sed stream editor
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]