* Bastian Kleineidam: > Package: debsecan > Version: 0.4.9
This version has got a dependency on python-apt, and if this package is installed (and the Python module it provides can be imported), debsecan can handle ~ version numbers. (If python-apt can be installed without properly working, it's likely that its dependencies are broken.) > Here is a patch that allows '~' in the version string, which is compatible > with the algorithm mention in [1]. > [1] http://lists.debian.org/debian-devel-announce/2006/08/msg00006.html This may be the case, but according to my testing, this is not the algorithm used by APT. For instance, your patch causes 1.0 to sort before 1.0-~0, but the other way round is correct as far as APT is concerned. This is not your fault. The Version class was implemented based on the description in the Policy, and the algorithm described there does not match what APT and dpkg actually do. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]