Your message dated Sun, 10 Apr 2011 23:40:38 +0200
with message-id <[email protected]>
and subject line Bug#496775: dist-upgrading php5 will attempt to remove
apache2-mpm-worker
has caused the Debian Bug report #496775,
regarding dist-upgrading php5 will attempt to remove apache2-mpm-worker
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.)
--
496775: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496775
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: php5
Version: 5.2.6-3
Severity: minor
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am a bit unsure about this, but at least it surprised me as a user so
an explanation could be needed. Please point me in the correct
direction in case it's a FAQ...
I prefer the threaded apache2-mpm-worker and am therefore using php5-cgi
instead of libapache2-mod-php5. When running "apt-get dist-upgrade" I
was presented with
canardo:/home/bjorn# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
apache2-mpm-worker
The following NEW packages will be installed:
apache2-mpm-prefork libapache2-mod-php5
The following packages will be upgraded:
checksecurity freeradius freeradius-common gpsd gpsd-clients
libfreeradius2 libgps17 libgraphviz4 php-pear php5 php5-cgi
php5-cli php5-common php5-gd php5-imap php5-ldap php5-mcrypt
php5-mysql php5-pspell php5-snmp php5-tidy php5-xmlrpc reportbug
rhino x11-xserver-utils
25 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
Need to get 14.1MB of archives.
After this operation, 6234kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
I know I could (and should?) have avoided this by doing "apt-get upgrade",
but the point is that the suggested removal of apache2-mpm-worker is
completely unnecessary. It seems to be caused by php5 depending on
specific versions of libapache2-mod-php5 | php5-cgi. This means that the
dependendcy is unsatisfied at the point of upgrade and apt-get will try
to satisfy it by installing the first option it finds: The newer version
of libapache2-mod-php5.
I believe the versioned dependecy is unnecessary. php5 could just as
well depend on
libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi, php5-common
and thereby avoid apt-get dragging in libapache2-mod-php5 when
libapache2-mod-php5filter or php5-cgi is already installed.
Bjørn
- -- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (700, 'testing'), (650, 'stable'), (600, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages php5 depends on:
ii php5-cgi 5.2.6-3 server-side, HTML-embedded scripti
ii php5-common 5.2.6-3 Common files for packages built fr
php5 recommends no packages.
php5 suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAki1M5gACgkQ10rqkowbIsnNuACffbLJpIl1GXVONgtn5l1tESif
/uEAniERGEvRTanmPTdFTTGCjhuuV9a8
=8lnI
-----END PGP SIGNATURE-----
--- End Message ---
--- Begin Message ---
Doesn't happen anymore in unstable:
root@howl:/# apt-get update
Get:1 http://ftp.cz.debian.org sid InRelease [186 kB]
Ign http://ftp.cz.debian.org stable InRelease
Get:2 http://ftp.cz.debian.org stable Release.gpg [1671 B]
Get:3 http://ftp.cz.debian.org stable Release [79.8 kB]
Get:4 http://ftp.cz.debian.org sid/main amd64 Packages/DiffIndex [2038 B]
Get:5 http://ftp.cz.debian.org sid/main TranslationIndex [2264 B]
Get:6 http://ftp.cz.debian.org sid/main amd64 2011-04-10-0225.34.pdiff [18.5 kB]
Get:7 http://ftp.cz.debian.org stable/main amd64 Packages [6540 kB]
Get:8 http://ftp.cz.debian.org sid/main amd64 2011-04-10-0225.34.pdiff [18.5 kB]
Get:9 http://ftp.cz.debian.org stable/main TranslationIndex [2232 B]
Get:10 http://ftp.cz.debian.org sid/main amd64 2011-04-10-0828.10.pdiff [5038 B]
Get:11 http://ftp.cz.debian.org sid/main amd64 2011-04-10-0828.10.pdiff [5038 B]
Get:12 http://ftp.cz.debian.org sid/main amd64
2011-04-10-1420.53.pdiff [30.2 kB]
Get:13 http://ftp.cz.debian.org sid/main amd64
2011-04-10-1420.53.pdiff [30.2 kB]
Fetched 6868 kB in 3s (1859 kB/s)
Reading package lists... Done
root@howl:/# apt-get install apache2-mpm-worker
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
apache2-utils apache2.2-bin apache2.2-common libapr1 libaprutil1
libaprutil1-dbd-sqlite3 libaprutil1-ldap libcap2 ssl-cert
Suggested packages:
www-browser apache2-doc apache2-suexec apache2-suexec-custom openssl-blacklist
The following NEW packages will be installed:
apache2-mpm-worker apache2-utils apache2.2-bin apache2.2-common
libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libcap2
ssl-cert
0 upgraded, 10 newly installed, 0 to remove and 1 not upgraded.
Need to get 2184 B/2169 kB of archives.
After this operation, 7197 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ftp.cz.debian.org/debian/ sid/main apache2-mpm-worker
amd64 2.2.17-2 [2184 B]
Fetched 2184 B in 0s (20.3 kB/s)
Preconfiguring packages ...
Selecting previously deselected package libcap2.
(Reading database ... 22758 files and directories currently installed.)
Unpacking libcap2 (from .../libcap2_1%3a2.20-1_amd64.deb) ...
Selecting previously deselected package libapr1.
Unpacking libapr1 (from .../libapr1_1.4.2-8_amd64.deb) ...
Selecting previously deselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.3.10+dfsg-2_amd64.deb) ...
Selecting previously deselected package libaprutil1-dbd-sqlite3.
Unpacking libaprutil1-dbd-sqlite3 (from
.../libaprutil1-dbd-sqlite3_1.3.10+dfsg-2_amd64.deb) ...
Selecting previously deselected package libaprutil1-ldap.
Unpacking libaprutil1-ldap (from
.../libaprutil1-ldap_1.3.10+dfsg-2_amd64.deb) ...
Selecting previously deselected package apache2.2-bin.
Unpacking apache2.2-bin (from .../apache2.2-bin_2.2.17-2_amd64.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from .../apache2-utils_2.2.17-2_amd64.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from .../apache2.2-common_2.2.17-2_amd64.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from
.../apache2-mpm-worker_2.2.17-2_amd64.deb) ...
Selecting previously deselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.28_all.deb) ...
Processing triggers for man-db ...
Setting up libcap2 (1:2.20-1) ...
Setting up libapr1 (1.4.2-8) ...
Setting up libaprutil1 (1.3.10+dfsg-2) ...
Setting up libaprutil1-dbd-sqlite3 (1.3.10+dfsg-2) ...
Setting up libaprutil1-ldap (1.3.10+dfsg-2) ...
Setting up apache2.2-bin (2.2.17-2) ...
Setting up apache2-utils (2.2.17-2) ...
Setting up apache2.2-common (2.2.17-2) ...
Enabling site default.
Enabling module alias.
Enabling module autoindex.
Enabling module dir.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module status.
Enabling module auth_basic.
Enabling module deflate.
Enabling module authz_default.
Enabling module authz_user.
Enabling module authz_groupfile.
Enabling module authn_file.
Enabling module authz_host.
Enabling module reqtimeout.
Setting up apache2-mpm-worker (2.2.17-2) ...
invoke-rc.d: policy-rc.d denied execution of start.
Setting up ssl-cert (1.0.28) ...
root@howl:/# apt-get install -t stable php5-cgi php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libonig2 libqdbm14 php5-common php5-suhosin
Suggested packages:
php-pear
The following NEW packages will be installed:
libonig2 libqdbm14 php5 php5-cgi php5-common php5-suhosin
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 5886 kB/6826 kB of archives.
After this operation, 17.7 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ftp.cz.debian.org/debian/ stable/main php5-cgi amd64
5.3.3-7 [5885 kB]
Get:2 http://ftp.cz.debian.org/debian/ stable/main php5 all 5.3.3-7 [1048 B]
Fetched 5886 kB in 0s (10.8 MB/s)
Selecting previously deselected package libonig2.
(Reading database ... 23352 files and directories currently installed.)
Unpacking libonig2 (from .../libonig2_5.9.1-1_amd64.deb) ...
Selecting previously deselected package libqdbm14.
Unpacking libqdbm14 (from .../libqdbm14_1.8.77-4_amd64.deb) ...
Selecting previously deselected package php5-common.
Unpacking php5-common (from .../php5-common_5.3.3-7_amd64.deb) ...
Selecting previously deselected package php5-cgi.
Unpacking php5-cgi (from .../php5-cgi_5.3.3-7_amd64.deb) ...
Selecting previously deselected package php5.
Unpacking php5 (from .../archives/php5_5.3.3-7_all.deb) ...
Selecting previously deselected package php5-suhosin.
Unpacking php5-suhosin (from .../php5-suhosin_0.9.32.1-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up libonig2 (5.9.1-1) ...
Setting up libqdbm14 (1.8.77-4) ...
Setting up php5-common (5.3.3-7) ...
Setting up php5-cgi (5.3.3-7) ...
Creating config file /etc/php5/cgi/php.ini with new version
update-alternatives: using /usr/bin/php5-cgi to provide
/usr/bin/php-cgi (php-cgi) in auto mode.
update-alternatives: using /usr/lib/cgi-bin/php5 to provide
/usr/lib/cgi-bin/php (php-cgi-bin) in auto mode.
Setting up php5 (5.3.3-7) ...
Setting up php5-suhosin (0.9.32.1-1) ...
root@howl:/# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
make php5 php5-cgi php5-common
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6404 kB/6961 kB of archives.
After this operation, 229 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ftp.cz.debian.org/debian/ sid/main make amd64 3.81-8.1 [408 kB]
Get:2 http://ftp.cz.debian.org/debian/ sid/main php5-cgi amd64 5.3.6-7 [5995 kB]
Get:3 http://ftp.cz.debian.org/debian/ sid/main php5 all 5.3.6-7 [1062 B]
Fetched 6404 kB in 0s (11.5 MB/s)
(Reading database ... 23418 files and directories currently installed.)
Preparing to replace make 3.81-8 (using .../make_3.81-8.1_amd64.deb) ...
Unpacking replacement make ...
Preparing to replace php5-cgi 5.3.3-7 (using .../php5-cgi_5.3.6-7_amd64.deb) ...
Unpacking replacement php5-cgi ...
Preparing to replace php5-common 5.3.3-7 (using
.../php5-common_5.3.6-7_amd64.deb) ...
Unpacking replacement php5-common ...
Preparing to replace php5 5.3.3-7 (using .../archives/php5_5.3.6-7_all.deb) ...
Unpacking replacement php5 ...
Processing triggers for man-db ...
Setting up make (3.81-8.1) ...
Setting up php5-common (5.3.6-7) ...
Installing new version of config file /etc/cron.d/php5 ...
Setting up php5-cgi (5.3.6-7) ...
Replacing config file /etc/php5/cgi/php.ini with new version
Setting up php5 (5.3.6-7) ...
--
Ondřej Surý <[email protected]>
--- End Message ---