Bug#385670: apt is calculation wrong dependencies
Package: apt
Version: 0.6.45
Severity: minor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sometimes apt wants to install apache2-mpm-prefork libapache2-mod-php4
for me, when I update the system. But there is really no need to do this
and after the upgrade I normally have to run 'apt-get remove --purge
...' for these two packages to remove them again. See e.g. today:
LANG=C sudo apt-get dist-upgrade -u
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following NEW packages will be installed:
apache2-mpm-prefork libapache2-mod-php4
The following packages have been kept back:
pan
The following packages will be upgraded:
cpp-4.1 fastjar g++-4.1 gcc-4.1 gcc-4.1-base gcc-4.1-locales
gettext gettext-base libapache-mod-php4 libgcc1 libgfortran1
libmilter0 libmudflap0 libmudflap0-dev libssp0 libstdc++6
libstdc++6-4.1-dev libstdc++6-4.1-doc mysql-common php-pear php4
php4-cgi php4-cli php4-common php4-mysql php4-pear php5-common
python-gdbm python-support python-tk
30 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 23.5MB/28.2MB of archives.
After unpacking 3637kB of additional disk space will be used.
Do you want to continue [Y/n]? y
[..]
And after installation:
LANG=C sudo apt-get remove --purge apache2-mpm-prefork
libapache2-mod-php4
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
apache2-mpm-prefork* libapache2-mod-php4*
0 upgraded, 0 newly installed, 2 to remove and 1 not upgraded.
Need to get 0B of archives.
After unpacking 3690kB disk space will be freed.
Do you want to continue [Y/n]? y
[..]
So there should be no need to install these two packages and I guess,
apt mis-calculates the dependecies in this special case. If you tell me,
how I can help to examine the cause for this issue, I will do my best to
help. This is not annoying, but also not very nice.
Regards, Daniel
- -- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (110, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.08060320
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Versions of packages apt depends on:
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-13 GCC support library
ii libstdc++6 4.1.1-13 The GNU Standard C++ Library v3
Versions of packages apt recommends:
ii debian-archive-keyring 2006.01.18 GnuPG archive keys of the Debian a
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFE+Onqdg0kG0+YFBERAsJtAJ0QKrjfj8FqDp2u8E6JRLa8JlVhRwCdHkAb
utvsEiY/r97saNakfMZVSOk=
=eLTM
-----END PGP SIGNATURE-----
Reply to: