postrm fails if apache2 dependency not present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
drupal6 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: drupal6
Because the postrm script assumes apache2 will be installed, If one manually installs the drupal6 .deb by accident, it cannot be removed due to a missing script:
(maverick-
Selecting previously deselected package drupal6.
(Reading database ... 13590 files and directories currently installed.)
Unpacking drupal6 (from drupal6_
dpkg: dependency problems prevent configuration of drupal6:
drupal6 depends on apache2 | httpd; however:
Package apache2 is not installed.
Package httpd is not installed.
drupal6 depends on php5; however:
Package php5 is not installed.
drupal6 depends on php5-mysql | php5-pgsql; however:
Package php5-mysql is not installed.
Package php5-pgsql is not installed.
drupal6 depends on php5-gd; however:
Package php5-gd is not installed.
drupal6 depends on exim4 | mail-transport-
Package exim4 is not installed.
Package mail-transport-
drupal6 depends on wwwconfig-common (>= 0.0.37); however:
Package wwwconfig-common is not installed.
drupal6 depends on mysql-client | virtual-
Package mysql-client is not installed.
Package virtual-
Package postgresql-client is not installed.
drupal6 depends on dbconfig-common; however:
Package dbconfig-common is not installed.
drupal6 depends on curl; however:
Package curl is not installed.
dpkg: error processing drupal6 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
drupal6
(maverick-
(Reading database ... 14127 files and directories currently installed.)
Removing drupal6 ...
/var/lib/
dpkg: error processing drupal6 (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
drupal6
(maverick-
Note that a proposed patch is being bundled with the fix for LP: #582255
This bug was fixed in the package drupal6 - 6.16-1ubuntu1
---------------
drupal6 (6.16-1ubuntu1) maverick; urgency=low
* Changing exim4 to default-mta (LP: #582255)
* made postrm check for restart.sh in case dependencies
were not properly installed. (LP: #583576)
-- Clint Byrum <email address hidden> Tue, 18 May 2010 13:32:55 -0700