tags 583683 + patch thanks * Jakub Wilk <jw...@debian.org>, 2010-05-29, 17:00:
It is possible to co-install python 2.6.5-1 and python-dbg 2.5.4-9. Such a combination breaks at least debhelper's python_distutils.pm, possibly also other packages.
Please consider applying the attached patch. -- Jakub Wilk
diff -Nru python-defaults-2.6.5/debian/control python-defaults-2.6.5/debian/control --- python-defaults-2.6.5/debian/control 2010-05-12 19:56:58.000000000 +0200 +++ python-defaults-2.6.5/debian/control 2010-06-05 20:38:57.000000000 +0200 @@ -11,6 +11,7 @@ Architecture: all Priority: standard Depends: python2.6 (>= 2.6.5-2), python-minimal (>= ${binary:Version}) +Breaks: python-all (<< 2.6), python-dev (<< 2.6), python-all-dev (<< 2.6), python-dbg (<< 2.6), python-all-dbg (<< 2.6), python-examples (<< 2.6), idle (<< 2.6) Conflicts: python2.3 (<< 2.3.5-14), python2.1 (<= 2.1.2), python-xmlbase, python-csv, python-bz2, python-base, python-central (<< 0.5.5) Replaces: python2.3 (<= 2.3.2-6), python-xmlbase, python-base Provides: python-email, python-xmlbase, python-plistlib, python-ctypes, python-wsgiref @@ -30,7 +31,7 @@ Conflicts: python (<= 2.4-1), python-central (<< 0.5.5) Replaces: python (<= 2.4-1) Recommends: python -Breaks: python2.5-minimal (<< 2.5.5-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2) +Breaks: python (<< 2.6), python2.5-minimal (<< 2.5.5-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2) Description: A minimal subset of the Python language (default version) This package contains the interpreter and some essential modules. It's used in the boot process for some basic tasks. @@ -50,6 +51,7 @@ Package: python-dev Architecture: all Depends: python (>= ${binary:Version}), python2.6-dev (>= 2.6.5-2) +Breaks: python-all-dev (<< 2.6) Description: Header files and a static library for Python (default) Header files, a static library and development tools for building Python modules, extending the Python interpreter or embedding Python @@ -102,6 +104,7 @@ Section: debug Priority: extra Depends: python (>= ${binary:Version}), python2.6-dbg (>= 2.6.5-2) +Breaks: python-all-dbg (<< 2.6) Provides: python-gdbm-dbg, python-tk-dbg Description: Debug Build of the Python Interpreter (version 2.6) Python interpreter configured with --pydebug. Dynamically loaded modules are @@ -111,6 +114,7 @@ Architecture: all Priority: optional Depends: python (>= ${binary:Version}), python2.5 (>= 2.5.5-6), python2.6 (>= 2.6.5-2) +Breaks: python-all-dev (<< 2.6), python-all-dbg (<< 2.6) Description: Package depending on all supported Python runtime versions The package currently depends on python2.5 and python2.6, in the future, dependencies on jython (Python for a JVM) and ironpython (Python for Mono) diff -Nru python-defaults-2.6.5/debian/control.in python-defaults-2.6.5/debian/control.in --- python-defaults-2.6.5/debian/control.in 2010-05-12 19:56:44.000000000 +0200 +++ python-defaults-2.6.5/debian/control.in 2010-06-05 20:38:55.000000000 +0200 @@ -11,6 +11,7 @@ Architecture: all Priority: standard Depends: @PVER@ (>= @PREVVER@), python-minimal (>= ${binary:Version}) +Breaks: python-all (<< @VER@), python-dev (<< @VER@), python-all-dev (<< @VER@), python-dbg (<< @VER@), python-all-dbg (<< @VER@), python-examples (<< @VER@), idle (<< @VER@) Conflicts: python2.3 (<< 2.3.5-14), python2.1 (<= 2.1.2), python-xmlbase, python-csv, python-bz2, python-base, python-central (<< 0.5.5) Replaces: python2.3 (<= 2.3.2-6), python-xmlbase, python-base Provides: python-email, python-xmlbase, python-plistlib, python-ctypes, python-wsgiref @@ -30,7 +31,7 @@ Conflicts: python (<= 2.4-1), python-central (<< 0.5.5) Replaces: python (<= 2.4-1) Recommends: python -Breaks: python2.5-minimal (<< 2.5.5-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2) +Breaks: python (<< @VER@), python2.5-minimal (<< 2.5.5-3), python2.6-minimal (<< 2.6.5~rc2-2), python3.1-minimal (<< 3.1.2~rc1-2) Description: A minimal subset of the Python language (default version) This package contains the interpreter and some essential modules. It's used in the boot process for some basic tasks. @@ -50,6 +51,7 @@ Package: python-dev Architecture: all Depends: python (>= ${binary:Version}), @p...@-dev (>= @PREVVER@) +Breaks: python-all-dev (<< @VER@) Description: Header files and a static library for Python (default) Header files, a static library and development tools for building Python modules, extending the Python interpreter or embedding Python @@ -102,6 +104,7 @@ Section: debug Priority: extra Depends: python (>= ${binary:Version}), pyt...@ver@-dbg (>= @PREVVER@) +Breaks: python-all-dbg (<< @VER@) Provides: python-gdbm-dbg, python-tk-dbg Description: Debug Build of the Python Interpreter (version @VER@) Python interpreter configured with --pydebug. Dynamically loaded modules are @@ -111,6 +114,7 @@ Architecture: all Priority: optional Depends: python (>= ${binary:Version}), python2.5 (>= 2.5.5-6), python2.6 (>= 2.6.5-2) +Breaks: python-all-dev (<< @VER@), python-all-dbg (<< @VER@) Description: Package depending on all supported Python runtime versions The package currently depends on python2.5 and python2.6, in the future, dependencies on jython (Python for a JVM) and ironpython (Python for Mono)
signature.asc
Description: Digital signature