Public bug reported:

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-amd64)r...@ubuntu:~# dpkg -i drupal6_6.16-1_all.deb 
Selecting previously deselected package drupal6.
(Reading database ... 13590 files and directories currently installed.)
Unpacking drupal6 (from drupal6_6.16-1_all.deb) ...
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-agent; however:
  Package exim4 is not installed.
  Package mail-transport-agent is not installed.
 drupal6 depends on wwwconfig-common (>= 0.0.37); however:
  Package wwwconfig-common is not installed.
 drupal6 depends on mysql-client | virtual-mysql-client | postgresql-client; 
however:
  Package mysql-client is not installed.
  Package virtual-mysql-client is not installed.
  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-amd64)r...@ubuntu:~# dpkg -r drupal6
(Reading database ... 14127 files and directories currently installed.)
Removing drupal6 ...
/var/lib/dpkg/info/drupal6.postrm: line 58: 
/usr/share/wwwconfig-common/restart.sh: No such file or directory
dpkg: error processing drupal6 (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 drupal6
(maverick-amd64)r...@ubuntu:~# 

Note that a proposed patch is being bundled with the fix for LP: #582255

** Affects: drupal6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
postrm fails if apache2 dependency not present
https://bugs.launchpad.net/bugs/583576
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to