Bug#648954: [patch] doc-base Conflicts are insufficient

Martin Pitt martin.pitt at ubuntu.com
Fri Dec 16 11:35:49 UTC 2011


found 648954 5.14.2-6
tag 648954 patch
thanks

Hello Niko, Dominic,

we still got quite a lot of upgrade failures with -6
(https://launchpad.net/bugs/902553).

-6 adds a Conflicts: doc-base (<< 0.10.3) to perl-base. This correctly
prevents unpacking of perl-base 5.14 and breaking the doc-base
trigger. However, in above LP bug we see

Preparing to replace libuuid-perl 0.02-4build1 (using .../libuuid-perl_0.02-4build2_i386.deb) ...
Unpacking replacement libuuid-perl ...
Preparing to replace update-inetd 4.38+nmu1 (using .../update-inetd_4.41_all.deb) ...
Unpacking replacement update-inetd ...
Preparing to replace perl-modules 5.12.4-4 (using .../perl-modules_5.14.2-6_all.deb) ...
Unpacking replacement perl-modules ...
Preparing to replace perl 5.12.4-4 (using .../perl_5.14.2-6_i386.deb) ...
Unpacking replacement perl ...
Selecting previously deselected package libperl5.14.
Unpacking libperl5.14 (from .../libperl5.14_5.14.2-6_i386.deb) ...
[...]
Unpacking replacement libpurple0 ...
[...]
Processing triggers for doc-base ...
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/auto/UUID/UUID.so: undefined symbol: Perl_xs_apiversion_bootcheck
dpkg: error processing doc-base (--unpack):
 subprocess installed post-installation script returned error exit status 127

At this point neither doc-base nor perl-base was unpacked (which is
what -5 and -6 fixed). Full logs are in the LP bug and its duplicates,
but above is the gist of it.

So we need to Conflicts: harder. Patch attached.

Thanks for considering,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
diff -Nru perl-5.14.2/debian/changelog perl-5.14.2/debian/changelog
--- perl-5.14.2/debian/changelog	2011-11-28 21:05:37.000000000 +0100
+++ perl-5.14.2/debian/changelog	2011-12-16 12:31:26.000000000 +0100
@@ -1,3 +1,12 @@
+perl (5.14.2-6ubuntu1) precise; urgency=low
+
+  * debian/control: Add doc-base conflict also to perl, perl-modules, and
+    libperl5.14. Otherwise they can get unpacked before upgrading perl-base
+    and doc-base and thus still cause symbol lookup errors in the doc-base
+    trigger. (Closes: #648954, LP: #902553)
+
+ -- Martin Pitt <martin.pitt at ubuntu.com>  Fri, 16 Dec 2011 12:25:31 +0100
+
 perl (5.14.2-6) unstable; urgency=low
 
   [ Niko Tyni ]
diff -Nru perl-5.14.2/debian/control perl-5.14.2/debian/control
--- perl-5.14.2/debian/control	2011-11-28 21:05:37.000000000 +0100
+++ perl-5.14.2/debian/control	2011-12-16 12:31:05.000000000 +0100
@@ -219,6 +220,7 @@
  libfile-path-perl,
  libshell-perl,
  libperl4-corelibs-perl
+Conflicts: doc-base (<< 0.10.3)
 Description: Core Perl modules
  Architecture independent Perl modules.  These modules are part of Perl and
  required if the `perl' package is installed.
@@ -247,6 +249,7 @@
 Priority: optional
 Architecture: any
 Depends: ${shlibs:Depends}, perl-base (= ${binary:Version})
+Conflicts: doc-base (<< 0.10.3)
 Replaces: perl-base (<= 5.8.7-4)
 Description: shared Perl library
  This package is required by programs which embed a Perl interpreter to
@@ -268,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)
+Conflicts: libjson-pp-perl (<< 2.27200-2), doc-base (<< 0.10.3)
 Breaks: perl-doc (<< ${Upstream-Version}-1),
  libdigest-md5-perl (<< 2.51),
  libmime-base64-perl (<< 3.13),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20111216/848b7097/attachment.pgp>


More information about the Perl-maintainers mailing list