retitle 294718 dist-upgrade pulls in caudium
merge 294718 297702
thanks
On Wed, Mar 02, 2005 at 12:27:27PM +0100, Jørgen Tjernø wrote:
When I do apt-get dist-upgrade, it tells me:
The following NEW packages will be installed:
caudium caudium-modules caudium-php4 libgmp3 libtiff4 libttf2 libzzip-0-12
pike7.2 pike7.2-crypto pike7.2-gz pike7.2-image
The following packages will be upgraded:
grub libapache-mod-php4 php4-common php4-gd
Now, apt-get upgrade tells me this:
The following packages have been kept back:
libapache-mod-php4 php4-common php4-gd
The following packages will be upgraded:
grub
And last, apt-get dselect-upgrade yields: (which is the behaviour I'd expect
from dist-upgrade, to be honest)
The following NEW packages will be installed:
libzzip-0-12
The following packages will be upgraded:
grub libapache-mod-php4 php4-common php4-gd
Now, I've got 4.3.10-2 of libapache-mod-php4 installed, and apt-cache show
php4 gives:
Depends: libapache-mod-php4 (= 4:4.3.10-8) | libapache2-mod-php4 (=
4:4.3.10-8) | caudium-php4 (= 4:4.3.10-8), php4-common (= 4:4.3.10-8)
So, I can understand it wanting to upgrade libapache-mod-php4. But why does
apt-get dist-upgrade want to pull in TWO of the ORed dependencies?
(cadium-php4 and libapache-mod-php4). Since it does that, it also tries to
pull in whatever cadium-php4 depends on, so I suddenly get a full setup
of cadium on my system, when all I want is apache 1.3.33 with php4! :-)
I assume this is a bug, not certain wether the problem is in the
php4-package or in apt-get itself. Asked around on the debian irc channel,
and they seemed to believe it was a bug.
I'm able to reproduce this in a chroot if I have only libapache-mod-php4,
php4-common, and php4-gd installed, without installing the php4 package. If
I install php4, apt-get dist-upgrade works sensibly.
aptitude dist-upgrade also works sensibly with or without the php4 package
being installed.
It appears that caudium is being pulled in to satisfy php4-gd's dependency
on phpapi-20020918-zts. I'll poke around a bit, but I doubt that this is
fixable on the PHP side; it does appear to be a bug in apt-get.
--
Steve Langasek
postmodern programmer
signature.asc
Description: Digital signature