Bug#626573: installation-reports: Broken package after upgrade to squeeze ; php5-mcrypt still depends on libltdl3
Package: installation-reports
Severity: important
-- Package-specific info:
Boot method: network upgrade from within working lenny
Image version: deb ftp://mirror.hetzner.de/debian/packages squeeze main contrib non-free
Date: 11 May 2011
Machine: AMD64 X2
Partitions:
/dev/md1 251M 49M 190M 21% /boot
/dev/md2 460G 2.4G 435G 1% /
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot: [O]
Detect network card: [O]
Configure network: [O]
Detect CD: [n/a]
Load installer modules: [n/a]
Detect hard drives: [O]
Partition hard drives: [n/a]
Install base system: [O]
Clock/timezone setup: [O]
User/password setup: [O]
Install tasks: [O]
Install boot loader: [O]
Overall install: [E]
Comments/Problems:
I was upgrading Debian lenny to squeeze following the debian upgrade guide at
http://www.debian.org/releases/stable/amd64/release-notes/ch-upgrading.en.html
The install went overall well (reboots with grub2 OK, services apache2 running, ...). However,
there were some packages left over from lenny. (dpkg --list | grep lenny) showed e.g.
libltdl3 among others. My strategy was to remove the package (and its reverse dependencies)
with apt-get remove libltdl3, which also removed php5-mcrypt and phpmyadmin. But trying
to install phpmyadmin (thinking it would pull php5-mcrypt and libltdl7) failed, with the
following error message:
mweber@www:~$ sudo apt-get install phpmyadmin
[sudo] password for mweber:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
phpmyadmin : Depends: php5-mcrypt but it is not going to be installed
E: Broken packages
mweber@www:~$ sudo apt-get install php5-mcrypt
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php5-mcrypt : Depends: libltdl3 (>= 1.5.2-2) but it is not installable
E: Broken packages
In fact the package information, when asked as root, confirms this problem:
www:~# apt-cache show php5-mcrypt
Package: php5-mcrypt
Source: php5
Version: 5.2.17-0.dotdeb.0
Architecture: amd64
Maintainer: Guillaume Plessis <gui@php.net>
Installed-Size: 52
Depends: libc6 (>= 2.7-1), libltdl3 (>= 1.5.2-2), libmcrypt4, phpapi-20060613, php5-common (= 5.2.17-0.dotdeb.0)
Filename: dists/lenny/php5/binary-amd64/php5-mcrypt_5.2.17-0.dotdeb.0_amd64.deb
[...cut...]
After a fresh ssh login to the server, asking as a user, showed:
mweber@www:~$ apt-cache show php5-mcrypt
Package: php5-mcrypt
Priority: optional
Section: php
Installed-Size: 100
Maintainer: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Architecture: amd64
Source: php5
Version: 5.3.3-7
Depends: libc6 (>= 2.4), libltdl7 (>= 2.2.6b), libmcrypt4, phpapi-20090626, php5-common (= 5.3.3-7)
Filename: pool/main/p/php5/php5-mcrypt_5.3.3-7_amd64.deb
Size: 15170
[...cut...]
After sudo this was not shown again. Therefore I conclude that the upgrade has corrupted
the dependency tree. How can I recover? I searched several posts but none seemed to address
my problem.
Martin
--
Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.
Once you have filled out this report, mail it to submit@bugs.debian.org.
==============================================
Installer lsb-release:
==============================================
==============================================
Installer hardware-summary:
==============================================
-- System Information:
Debian Release: 6.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: