Package: perl
Version: 5.14.2-6
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Hi folks,

I've filed bug #665335 against the mono package in Debian, about the fact
that a script which is called whenever a -cil package is removed has a
spurious dependency on perl-modules, making upgrades brittle across new
upstream versions of perl.

Once this bug is fixed in mono (speculatively in version 2.10.8.1-3), I
think the right course of action is for perl to conflict with the old
versions of mono-gac to ensure mono-gac gets upgraded before any of the perl
packages are unpacked.  The attached patch should do this.

This change is currently being tested in Ubuntu precise, which has similar
upgrade constraints for lucid->precise upgrades.  I'll let you know if we
find any problems introduced by this conflict.

Thanks for considering the patch.
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
=== modified file 'debian/control'
--- debian/control	2011-12-16 12:25:31 +0000
+++ debian/control	2012-03-23 06:51:33 +0000
@@ -19,7 +19,7 @@
 Pre-Depends: ${shlibs:Depends}, dpkg (>= 1.14.20)
 Conflicts: safe-rm (<< 0.8),
  update-inetd (<< 4.41),
- doc-base (<< 0.10.3)
+ doc-base (<< 0.10.3), mono-gac (<< 2.10.8.1-3)
 Breaks: autoconf2.13 (<< 2.13-45),
  libscalar-list-utils-perl (<< 1:1.23),
  libfile-spec-perl (<< 3.3300),
@@ -220,7 +220,7 @@
  libfile-path-perl,
  libshell-perl,
  libperl4-corelibs-perl
-Conflicts: doc-base (<< 0.10.3)
+Conflicts: doc-base (<< 0.10.3), mono-gac (<< 2.10.8.1-3)
 Description: Core Perl modules
  Architecture independent Perl modules.  These modules are part of Perl and
  required if the `perl' package is installed.
@@ -271,7 +271,7 @@
 Priority: standard
 Architecture: any
 Depends: perl-base (= ${binary:Version}), perl-modules (>= ${source:Version}), ${shlibs:Depends}
-Conflicts: libjson-pp-perl (<< 2.27200-2), doc-base (<< 0.10.3)
+Conflicts: libjson-pp-perl (<< 2.27200-2), doc-base (<< 0.10.3), mono-gac (<< 2.10.8.1-3)
 Breaks: perl-doc (<< ${Upstream-Version}-1),
  libdigest-md5-perl (<< 2.51),
  libmime-base64-perl (<< 3.13),

Reply via email to