Your message dated Sun, 20 Apr 2008 21:27:37 +0300
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#145061: Perl upgrade resulted in dependency chaos.
has caused the Debian Bug report #145061,
regarding Perl upgrade resulted in dependency chaos.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
145061: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=145061
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: perl-5.6
Version: 6.1
I just installed Package: sympa, Version: 3.3.3-2.
Sympa has the following rather impressive dependency list:
Depends: fileutils (>= 4.1), sendmail (>= 8.9) | sendmail-tls (>= 8.9) |
mail-transport-agent, perl, libdbi-perl (>= 1.06), libdbd-mysql-perl |
libdbd-pg-perl, libmailtools-perl (>= 1.13), libmd5-perl (>= 2.02),
libmsgcat-perl (>= 1.0), libmime-perl (>= 5.209), libmime-base64-perl (>= 1.0),
libio-stringy-perl, sysklogd (>= 1.3-27) | system-log-daemon, adduser, debconf,
libc6 (>= 2.2.4-4)
Still, the installation twice bombed out on me with a
"MIME/something.pm not found in INC" message.
The first time, I healed it by installing libmime-perl.
The second time, by installing libmime-base64-perl.
This should not have been necessary! After all, both of
these are in the dependency list of sympa already.
I remembered I recently had installed perl 5.6.
This installation did not remove the previous perl-5.005
installation I've been using. The latter still sits there
to this moment. No, wait - it's a bogus "nothing there"
package that sits there. See below for details.
I faintly remember having both those libmime-*perl packages
installed under perl-5.005. So those dependencies where
met, the dependency system concluded. But, alas, the
5.6-binary of Perl did not find those package files.
I understand this is exactly the kind of mess that
perl-5.xxx packages should keep me out. So I decide to file
this bug against the newer of those packages. Maybe that's
not the appropriate place, though.
By virtue of the installation of the new versions of the two
libmime-*perl packages, I do no longer have the old versions
around. But, after some poking, I found a similar problem
with the library pilot-link-perl that I used to use a long
time ago:
> $ dpkg -S Pilot.pm
> pilot-link-perl: /usr/lib/perl5/5.005/i386-linux/PDA/Pilot.pm
(That file is indeed there, as I saw during the "poking".)
> $ dpkg -s pilot-link-perl
> Package: pilot-link-perl
> Status: install ok installed
> Priority: extra
> Section: devel
> Installed-Size: 177
> Maintainer: Dermot Bradley <[EMAIL PROTECTED]>
> Source: pilot-link
> Version: 0.9.3-0.2
> Depends: libc6 (>= 2.1), libpisock3, perl-5.005
> Description: Perl tools to communicate with a 3COM Pilot PDA over a serial
> port.
> This package provides Perl programs with a means of communicating directly
> with a Pilot.
> $ perl -we 'use PDA::Pilot;'
> Can't locate PDA/Pilot.pm in @INC (@INC contains: /usr/local/lib/perl/5.6.1
> /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5
> /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl
> /usr/local/lib/perl/5.6.0 /usr/local/share/perl/5.6.0 .) at -e line 1.
> BEGIN failed--compilation aborted at -e line 1.
- which is exactly the kind of error I saw from sympa.
It was very instructive to see what happened once I decided
to follow the hint and "safely removed" both perl-5.005 and
perl-5.6. I attache a script output at the end of my mail.
Regards
Andreas
[EMAIL PROTECTED]
PGP-Schlüssel 0xA207E340 (http://www.pca.dfn.de/dfnpca/pgpkserv/)
Fingerprint B46B C7BA FFEE AD41 35DD 49C3 9D6A E529 A207 E340
$ dpkg -s apt sympa perl perl-5.005 perl-5.6
Package: apt
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1896
Maintainer: APT Development Team <[EMAIL PROTECTED]>
Version: 0.5.3
Replaces: libapt-pkg-doc (<< 0.3.7), libapt-pkg-dev (<< 0.3.7)
Provides: libapt-pkg-libc6.2-3-2-3.1
Depends: libc6 (>= 2.2.1-2), libstdc++2.10-glibc2.2
Suggests: dpkg-dev
Description: Advanced front-end for dpkg
This is Debian's next generation front-end for the dpkg package manager.
It provides the apt-get utility and APT dselect method that provides a
simpler, safer way to install and upgrade packages.
.
APT features complete installation ordering, multiple source capability
and several other unique features, see the Users Guide in
/usr/share/doc/apt/guide.text.gz
Package: sympa
Status: install ok installed
Priority: optional
Section: mail
Installed-Size: 3244
Maintainer: Jerome Marant <[EMAIL PROTECTED]>
Version: 3.3.3-2
Replaces: sympa-db
Provides: sympa-db
Depends: fileutils (>= 4.1), sendmail (>= 8.9) | sendmail-tls (>= 8.9) |
mail-transport-agent, perl, libdbi-perl (>= 1.06), libdbd-mysql-perl |
libdbd-pg-perl, libmailtools-perl (>= 1.13), libmd5-perl (>= 2.02),
libmsgcat-perl (>= 1.0), libmime-perl (>= 5.209), libmime-base64-perl (>= 1.0),
libio-stringy-perl, sysklogd (>= 1.3-27) | system-log-daemon, adduser, debconf,
libc6 (>= 2.2.4-4)
Recommends: logrotate, doc-base
Suggests: mysql-server | postgresql, wwsympa, libnet-ldap-perl (>= 0.10),
openssl (>= 0.9.5a), libcrypt-ciphersaber-perl
Conflicts: sympa-db, suidmanager (<< 0.50)
Conffiles:
/etc/init.d/sympa ee8174efb89a2fafa220cce4c8ae1f5f
/etc/logrotate.d/sympa 9da34ed6a5469535bc692608a6c993e1
/etc/sympa/sympa.conf-smime.in a150dc299a4266c4faa7b408b26ad77e
Description: Modern mailing list manager
Sympa is a scalable and highly customizable modern mailing list manager
which can cope with big lists (200,000 subscribers).
It can can handle a lots of useful features :
- Moderation
- Digest mode
- Authentication (for subscription process)
- Archive management
- Multi-language support (us, fr, de, as, it, fi and Chinese locales)
- Expiration process
- Virtual domains (virtual robots)
- Accesses to LDAP directories
- Using a RDBMS for storing subscriber information (it supports both MySQL
and PostgreSQL).
- S/MIME encryption and HTTPS authentication
Sympa provides a scripting language for extending the behaviour of commands,
and a complete (user and admin) Web interface called WWSympa.
.
SYMPA means 'Système de Multi-Postage Automatique' (French) or
'Automatic Mailing System' (English).
.
It is written in Perl and uses some modules (mailtools, md5, msgcat, db).
.
WWSympa is provided in a separate package named `wwsympa'.
Package: perl
Status: install ok installed
Priority: important
Section: interpreters
Installed-Size: 4236
Maintainer: Brendan O'Dea <[EMAIL PROTECTED]>
Version: 5.6.1-7
Replaces: perl-5.005 (<< 6), perl-5.6 (<< 6), perl-doc (<< 5.6.1-1)
Provides: perl5
Depends: perl-base (= 5.6.1-7), perl-modules (>= 5.6.1-7), libc6 (>= 2.2.4-4),
libdb2 (>= 2:2.7.7-4), libgdbmg1
Suggests: perl-doc, libterm-readline-perl-perl
Conflicts: perl-5.004 (<< 6), perl-5.005 (<< 6), perl-5.6 (<< 6)
Description: Larry Wall's Practical Extraction and Report Language.
An interpreted scripting language, known among some as "Unix's Swiss
Army Chainsaw".
.
Perl is optimised for scanning arbitrary text files and system
administration. It has built-in extended regular expression matching
and replacement, a data-flow mechanism to improve security with
setuid scripts and is extensible via modules that can interface to C
libraries.
Package: perl-5.005
Status: install ok installed
Priority: optional
Section: interpreters
Installed-Size: 40
Maintainer: Brendan O'Dea <[EMAIL PROTECTED]>
Source: perl-transition
Version: 6.1
Depends: perl (>= 5.6.0-20)
Description: Transitional package.
This dummy package provides a transition from the previous Perl 5.005
packages. It may be safely removed once all packages are re-built with
dependencies to the new packages.
Package: perl-5.6
Status: install ok installed
Priority: important
Section: interpreters
Installed-Size: 44
Maintainer: Brendan O'Dea <[EMAIL PROTECTED]>
Source: perl-transition
Version: 6.1
Depends: perl (>= 5.6.0-20)
Description: Transitional package.
This dummy package provides a transition from the previous Perl 5.6.0
packages (the perl package replaces perl-5.6). It may be safely removed
once all packages are re-built with dependencies to the new packages.
Script started on Mon Apr 29 22:20:41 2002
[Slightly edited for readability]
pD9521E1A:~# exec apt-get remove perl-5.6 perl-5.005
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
ipchains-perl libcgi-pm-perl libhtml-parser-perl libhtml-tagset-perl
libhtml-tree-perl libnet-perl libpisock4 libunicode-map8-perl
libunicode-string-perl liburi-perl libwww-perl libxml-parser-perl perl-tk
pilot-link-perl
The following packages will be REMOVED:
perl-5.005 perl-5.6
The following NEW packages will be installed:
libhtml-tagset-perl libhtml-tree-perl libpisock4
11 packages upgraded, 3 newly installed, 2 to remove and 521 not upgraded.
Need to get 3603kB of archives. After unpacking 4305kB will be used.
Do you want to continue? [Y/n] Y
Get:1 ftp://ftp.de.debian.org unstable/main ipchains-perl 1:0.5-12 [41.7kB]
Get:2 ftp://ftp.de.debian.org unstable/main libcgi-pm-perl 2.81-1 [247kB]
Get:3 ftp://ftp.de.debian.org unstable/main libhtml-parser-perl 3.25-1 [85.9kB]
Get:4 ftp://ftp.de.debian.org unstable/main libhtml-tagset-perl 3.03-1 [12.5kB]
Get:5 ftp://ftp.de.debian.org unstable/main libhtml-tree-perl 3.11-2 [205kB]
Get:6 ftp://ftp.de.debian.org unstable/main libnet-perl 1:1.09.01-1 [105kB]
Get:7 ftp://ftp.de.debian.org unstable/main libpisock4 0.9.5.0-8 [49.0kB]
Get:8 ftp://ftp.de.debian.org unstable/main libunicode-map8-perl 0.10p-1
[71.7kB]
Get:9 ftp://ftp.de.debian.org unstable/main libunicode-string-perl 2.06-4
[70.8kB]
Get:10 ftp://ftp.de.debian.org unstable/main liburi-perl 1.18-1 [69.0kB]
Get:11 ftp://ftp.de.debian.org unstable/main libwww-perl 5.64-1 [293kB]
Get:12 ftp://ftp.de.debian.org unstable/main libxml-parser-perl 2.31-1 [274kB]
Get:13 ftp://ftp.de.debian.org unstable/main perl-tk 1:800.024-1 [2012kB]
Get:14 ftp://ftp.de.debian.org unstable/main pilot-link-perl 0.9.5.0-8 [65.8kB]
(Lese Datenbank ... 71312 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereiten zum Ersetzen von perl-tk 1:800.014-1.1 (durch
.../perl-tk_1%3a800.024-1_i386.deb) ...
Entpacke Ersatz-perl-tk ...
Vorbereiten zum Ersetzen von libnet-perl 1.0703-2 (durch
.../libnet-perl_1%3a1.09.01-1_all.deb) ...
Entpacke Ersatz-libnet-perl ...
Vorbereiten zum Ersetzen von liburi-perl 1.03-2 (durch
.../liburi-perl_1.18-1_all.deb) ...
Entpacke Ersatz-liburi-perl ...
Wähle vormals abgewähltes Paket libhtml-tagset-perl.
Entpacke libhtml-tagset-perl (aus .../libhtml-tagset-perl_3.03-1_all.deb) ...
Vorbereiten zum Ersetzen von libhtml-parser-perl 2.23-2 (durch
.../libhtml-parser-perl_3.25-1_i386.deb) ...
Entpacke Ersatz-libhtml-parser-perl ...
Wähle vormals abgewähltes Paket libhtml-tree-perl.
Entpacke libhtml-tree-perl (aus .../libhtml-tree-perl_3.11-2_all.deb) ...
Vorbereiten zum Ersetzen von libwww-perl 5.44-2 (durch
.../libwww-perl_5.64-1_all.deb) ...
Entpacke Ersatz-libwww-perl ...
Vorbereiten zum Ersetzen von libunicode-string-perl 2.01-5 (durch
.../libunicode-string-perl_2.06-4_i386.deb) ...
Entpacke Ersatz-libunicode-string-perl ...
Vorbereiten zum Ersetzen von libcgi-pm-perl 2.56-4 (durch
.../libcgi-pm-perl_2.81-1_all.deb) ...
Entpacke Ersatz-libcgi-pm-perl ...
dpkg: Fehler beim Bearbeiten von
/var/cache/apt/archives/libcgi-pm-perl_2.81-1_all.deb (--unpack):
versuche »/usr/share/man/man3/CGI::Apache.3pm.gz« zu überschreiben, welches
auch in Paket perl-5.005-doc ist
dpkg-deb: Unterprozess paste getötet mit Signal (Datenübergabe unterbrochen
(broken pipe))
Vorbereiten zum Ersetzen von libxml-parser-perl 2.27-3 (durch
.../libxml-parser-perl_2.31-1_i386.deb) ...
Entpacke Ersatz-libxml-parser-perl ...
Vorbereiten zum Ersetzen von ipchains-perl 1:0.5-4 (durch
.../ipchains-perl_1%3a0.5-12_i386.deb) ...
Entpacke Ersatz-ipchains-perl ...
Wähle vormals abgewähltes Paket libpisock4.
Entpacke libpisock4 (aus .../libpisock4_0.9.5.0-8_i386.deb) ...
Vorbereiten zum Ersetzen von pilot-link-perl 0.9.3-0.2 (durch
.../pilot-link-perl_0.9.5.0-8_i386.deb) ...
Entpacke Ersatz-pilot-link-perl ...
Vorbereiten zum Ersetzen von libunicode-map8-perl 0.05-5 (durch
.../libunicode-map8-perl_0.10p-1_i386.deb) ...
Entpacke Ersatz-libunicode-map8-perl ...
dpkg: Warnung - alte Datei »/usr/lib/perl5/5.005/i386-linux« kann nicht
gelöscht werden: Das Verzeichnis ist nicht leer
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/libcgi-pm-perl_2.81-1_all.deb
Script done on Mon Apr 29 22:22:23 2002
--- End Message ---
--- Begin Message ---
On Mon, Apr 29, 2002 at 10:34:53PM +0200, Andreas Krüger wrote:
> Package: perl-5.6
> Version: 6.1
> I remembered I recently had installed perl 5.6.
>
> This installation did not remove the previous perl-5.005
> installation I've been using. The latter still sits there
> to this moment. No, wait - it's a bogus "nothing there"
> package that sits there. See below for details.
>
> I faintly remember having both those libmime-*perl packages
> installed under perl-5.005. So those dependencies where
> met, the dependency system concluded. But, alas, the
> 5.6-binary of Perl did not find those package files.
>
> I understand this is exactly the kind of mess that
> perl-5.xxx packages should keep me out. So I decide to file
> this bug against the newer of those packages. Maybe that's
> not the appropriate place, though.
It certainly looks like the 5.005 -> 5.6 transition was painful, as
it apparently needed (more or less) manual upgrades of all the perl
module packages.
FWIW, trouble like this should not happen anymore (for Perl
5.x at least). The module path for packaged modules is now just
/usr/{share,lib}/perl5, ie. the perl minor version doesn't affect it,
so the majority of lib*-perl packages work with any version of the
perl package.
XS modules do need an interface compatible with the specific Perl version
they were compiled with, and we now have the perlapi-5.x.x dependencies
to take care of that. They make perl package upgrades pull along all
the other packages that had to be rebuilt.
As there's nothing to do about the old problems anymore, I'm closing this bug.
Cheers,
--
Niko Tyni [EMAIL PROTECTED]
--- End Message ---