[php-maint] Bug#402643: libapache-mod-php4: Doesn't uninstall cleanly when uninstalling apache-common at the same time

Diego Rivero drivero at decidir.net
Mon Dec 11 21:10:10 CET 2006


Package: libapache-mod-php4
Severity: normal


After installing apache2, I wanted to upgrade php and remove old 
packages:

# apt-get install --purge libapache-mod-php4- apache-common- 
libapache2-mod-php4
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  apache2-mpm-prefork
The following packages will be REMOVED:
  apache-common* apache2-mpm-worker* libapache-mod-php4*
The following NEW packages will be installed:
  apache2-mpm-prefork libapache2-mod-php4
0 upgraded, 2 newly installed, 3 to remove and 7 not upgraded.
Need to get 2013kB of archives.
After unpacking 3097kB disk space will be freed.
Do you want to continue [Y/n]?
Get:1 http://ftp.ccc.uba.ar etch/main apache2-mpm-prefork 2.2.3-3.1 
[416kB]
Get:2 http://ftp.ccc.uba.ar etch/main libapache2-mod-php4 6:4.4.4-8 
[1596kB]
Fetched 2013kB in 8s (237kB/s)
dpkg: apache-common: dependency problems, but removing anyway as you 
request:
 libapache-mod-php4 depends on apache-common (>= 1.3.34).
(Reading database ... 25313 files and directories currently installed.)
Removing apache-common ...
Purging configuration files for apache-common ... dpkg: 
apache2-mpm-worker: dependency problems, but removing anyway as you 
request:
 apache2 depends on apache2-mpm-worker (>= 2.2.3-3.1) | 
apache2-mpm-prefork (>= 2.2.3-3.1) | apache2-mpm-event (>= 2.2.3-3.1); 
however:
  Package apache2-mpm-worker is to be removed.
  Package apache2-mpm-prefork is not installed.
  Package apache2-mpm-event is not installed.
Removing apache2-mpm-worker ...
Stopping web server (apache2)....
dpkg: libapache-mod-php4: dependency problems, but removing anyway as 
you request:
 phpmyadmin depends on libapache2-mod-php5 | libapache-mod-php5 | 
php5-cgi | php5 | libapache2-mod-php4 | libapache-mod-php4 | php4 | 
php4-cgi; however:
  Package libapache2-mod-php5 is not installed.
  Package libapache-mod-php5 is not installed.
  Package php5-cgi is not installed.
  Package php5 is not installed.
  Package libapache2-mod-php4 is not installed.
  Package libapache-mod-php4 is to be removed.
  Package php4 is not installed.
  Package php4-cgi is not installed.
Removing libapache-mod-php4 ...
/var/lib/dpkg/info/libapache-mod-php4.prerm: line 13: apache-modconf: 
command not found
dpkg: error processing libapache-mod-php4 (--remove):
 subprocess pre-removal script returned error exit status 127
Errors were encountered while processing:
 libapache-mod-php4
E: Sub-process /usr/bin/dpkg returned an error code (1)


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (901, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)




More information about the pkg-php-maint mailing list