Package: reportbug Version: 3.19 Severity: normal Tags: patch When trying to file a bug on openssh-server 1:4.2p1-8, reportbug display a message that is version is newer than the debian version. reportbug queries http://packages.debian.org/openssh-server, and the relevant part of that page is:
* unstable (debian-installer): Secure shell server for the Debian installer 1:4.2p1-8: alpha amd64 arm hppa hurd-i386 i386 ia64 mips powerpc s390 sparc 1:4.2p1-7: kfreebsd-i386 mipsel The bug is in class PackagesParser (checkversions.py), which searches for the *word* i386 and also gets a match for the last line. With my patch a space is expected in front of the arch name (this works with the current form of the html page... reportbug is very dependent on the form of that page anyhow). ---------------------------------------------------------------- --- checkversions.py~ Sun Apr 2 08:21:06 2006 +++ checkversions.py Sun Apr 9 13:44:53 2006 @@ -39,7 +39,7 @@ self.versions = {} self.savedata = None self.row = None - arch = r'\b(all|'+re.escape(arch)+r')\b' + arch = r'\s(all|'+re.escape(arch)+r')\b' self.arch = re.compile(arch) self.dist = None ---------------------------------------------------------------- -- Package-specific info: ** /home/ad/.reportbugrc: reportbug_version "1.99.43" mode standard realname "Andreas Degert" email "[EMAIL PROTECTED]" -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-686-smp Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-15) Versions of packages reportbug depends on: ii python2.3 2.3.5-9 An interactive high-level object-o Versions of packages reportbug recommends: ii python2.3-iconvcodec 1.1.2-1 Python universal Unicode codec, us -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]