Package: ketchup Version: 1.0.1+git20110518+949b31b6-3 Severity: important Tags: patch upstream
Kernel patching from 3.1 to 3.1.1 fails due to program trying to download patch from wrong url. The root cause is a failing version number check. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (900, 'testing'), (800, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39.3 (SMP w/8 CPU cores) Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ketchup depends on: ii bzip2 1.0.5-6 high-quality block-sorting file co ii patch 2.6.1-1 Apply a diff file to an original ii python 2.6.6-14 interactive high-level object-orie ketchup recommends no packages. ketchup suggests no packages. -- no debconf information
diff -u a/ketchup b/ketchup --- a/ketchup 2011-11-19 15:51:34.068790594 +0200 +++ b/ketchup 2011-11-19 15:44:49.535515049 +0200 @@ -260,7 +260,7 @@ # atm we use VERSION.PATCHLEVEL for Linus' releases and EXTRAVERSION for # the -stable releases - if part['VERSION'] >= '3'and part['SUBLEVEL'] == 0: + if part['VERSION'] >= '3'and part['SUBLEVEL'] == '0': version = "%s.%s" % tuple([part[p] for p in parts[:2]]) else: version = "%s.%s.%s" % tuple([part[p] for p in parts[:3]])