Moin,
sorry, didn't send this to the bts last time.
My patched packages are since then working on about 50 computers at work.
Another thought about this: this problem will re-appear if perl is upgraded
to 6.0 (or whatever will be the next upstream release).

----- Forwarded message from Henning Glawe <[EMAIL PROTECTED]> -----

Date: Mon, 13 Dec 2004 18:55:03 +0100
To: Frank Lichtenheld <[EMAIL PROTECTED]>
Subject: Re: Bug#279232: Perl related upgrade problems woody -> sarge
From: Henning Glawe <[EMAIL PROTECTED]>
X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.17.5, 
scanned=2004-12-13T17:54:44Z, spam_cutoff=9.90e-01

On Mon, Dec 13, 2004 at 05:55:10PM +0100, Frank Lichtenheld wrote:
> On Mon, Dec 13, 2004 at 05:07:15PM +0100, Henning Glawe wrote:
> > What seems to be working around the problem somehow is the following change:
> > - perl-base: 
> >   Conflicts: perl-modules (<< 5.8.4)
> >   (so perl-modules is forced to be updated in the next steps)
> > - perl-modules:
> >   Pre-Depends: perl-base (>= 5.8.4)
> > 
> > with these changes, "apt-get dist-upgrade" is forced into the following 
> > order, which fixes the problem of not-matching perl-base and perl-modules
> > during batch updates:
> > 
> > Remove   perl-modules 5.6.1
> > Replace  perl-base    5.6.1 with 5.8.4
> > Setup    perl-base    5.8.4
> > Unpack   perl-modules 5.8.4
> 
> Sorry, but that can't be. "Remove perl-modules 5.6.1" and "Unpack
> perl-modules 5.8.4" are one step, that can't be distinct, du you mean
> Replace and Setup instead?

no. my patched perl-base 5.8 conflicts with the "old" perl-modules.
apt-get dist-upgrade resolves the situation exacly like shown. Here is the
log output (stdout and stderr combined): 

-------- apt-get dist-upgrade ----------------------
[...]
Removing libi18n-langtags-perl ...
dpkg: perl-modules: dependency problems, but removing anyway as you request:
 dpkg-dev depends on perl-modules; however:
  Package perl-modules is to be removed.
 mrtg depends on perl-modules (>= 5.6.0).
 dh-make-perl depends on libpod-parser-perl; however:
  Package libpod-parser-perl is not installed.
  Package perl-modules which provides libpod-parser-perl is to be removed.
Removing perl-modules ...
tar: ./control: time stamp 2004-12-13 15:03:59 is 4351 s in the future
(Reading database ... 138752 files and directories currently installed.)
Preparing to replace perl-base 5.6.1-8.7 (using 
.../perl-base_5.8.4-5.1_i386.deb) ...
Unpacking replacement perl-base ...
Setting up perl-base (5.8.4-5.1) ...
tar: ./control: time stamp 2004-12-13 16:15:15 is 8620 s in the future
Selecting previously deselected package perl-modules.
(Reading database ... 138741 files and directories currently installed.)
Unpacking perl-modules (from .../perl-modules_5.8.4-5.1_all.deb) ...
Selecting previously deselected package liblocale-gettext-perl.
[...]
----------------------------------------------------

My modified packages are the ones with the above changes:

------- apt-cache show perl-base perl-modules ------
[...]
Package: perl-base
Essential: yes
Priority: required
Section: base
Installed-Size: 1902
Maintainer: Brendan O'Dea <[EMAIL PROTECTED]>
Architecture: i386
Source: perl
Version: 5.8.4-5.1
Replaces: perl-5.005-base (<< 6), perl-5.6-base (<< 6), perl (<< 5.8.0-9), 
perl-modules (<< 5.8.4-5), libperl5.8 (<< 5.8.0-20), libscalar-list-utils-perl, 
libclass-multimethods-perl (<< 1.70-4)
Provides: perl5-base, perlapi-5.8.0, perlapi-5.8.1, perlapi-5.8.2, 
perlapi-5.8.3, perlapi-5.8.4, data-dumper, libscalar-list-utils-perl
Pre-Depends: libc6 (>= 2.3.2.ds1-4)
Suggests: perl
Conflicts: perl-5.004-base (<< 6), perl-5.005-base (<< 6), perl-5.6-base (<< 
6), data-dumper, autoconf2.13 (<< 2.13-45), libscalar-list-utils-perl (<< 
1:1.13-1), perl-modules (<< 5.8.4-1)
Filename: sarge-workarounds/perl-base_5.8.4-5.1_i386.deb
Size: 751834
MD5sum: 7efbb33a7b57cf60b8d29340668113d9
Description: The Pathologically Eclectic Rubbish Lister
 A scripting language with delusions of full language-hood, Perl is used
 in many system scripts and utilities.
 .
 This is a stripped down Perl with only essential libraries.  To make
 full use of Perl, you'll want to install the `perl', `perl-modules' and
 optionally `perl-doc' packages which supplement this one.

Package: perl-modules
Priority: standard
Section: perl
Installed-Size: 10317
Maintainer: Brendan O'Dea <[EMAIL PROTECTED]>
Architecture: all
Source: perl
Version: 5.8.4-5.1
Replaces: libpod-parser-perl, libansicolor-perl, libfile-temp-perl, 
libnet-perl, libattribute-handlers-perl, libcgi-pm-perl, libi18n-langtags-perl, 
liblocale-maketext-perl, libmath-bigint-perl, libnet-ping-perl, 
libtest-harness-perl, libtest-simple-perl, liblocale-codes-perl
Provides: libpod-parser-perl, libansicolor-perl, libfile-temp-perl, 
libnet-perl, libattribute-handlers-perl, libcgi-pm-perl, libi18n-langtags-perl, 
liblocale-maketext-perl, libmath-bigint-perl, libnet-ping-perl, 
libtest-harness-perl, libtest-simple-perl, liblocale-codes-perl
Depends: perl (>= 5.8.4-1)
Pre-Depends: perl-base (>= 5.8.4-1)
Conflicts: libpod-parser-perl (<< 1.14-1), libansicolor-perl (<< 1.08-1), 
libfile-temp-perl (<< 0.14-1), libnet-perl (<< 1:1.17-1), 
libattribute-handlers-perl (<< 0.78-1), libcgi-pm-perl (<< 3.04-1), 
libi18n-langtags-perl (<< 0.29-1), liblocale-maketext-perl (<< 1.08-1), 
libmath-bigint-perl (<< 1.70-1), libnet-ping-perl (<< 2.31-1), 
libtest-harness-perl (<< 2.40-1), libtest-simple-perl (<< 0.47-1), 
liblocale-codes-perl (<< 2.06.1-1)
Filename: sarge-workarounds/perl-modules_5.8.4-5.1_all.deb
Size: 2197772
MD5sum: aa2ca3fc2492a86f1aac891baeca0f6f
Description: Core Perl modules
 Architecture independent Perl modules.  These modules are part of Perl and
 required if the `perl' package is installed.
[...]
----------------------------------------------------

So my changes leave "apt-get dist-upgrade" only one option to resolve the
situation. But I must admit this solution may be a bit dangerous (as always
when combining Pre-Depends and Conflicts).

-- 
c u
henning



----- End forwarded message -----

-- 
c u
henning


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to