Bug#297702: dist-upgrade wants to update php4+libapache-mod-php4, but also to install cadium-php+deps.

2005-03-03 Thread Steve Langasek
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


Bug#297702: dist-upgrade wants to update php4+libapache-mod-php4, but also to install cadium-php+deps.

2005-03-02 Thread Jørgen Tjernø
Package: php4
Severity: normal

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. 


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)


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