package drupal6 6.20-1ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1

Bug #848680 reported by Sander Jonkers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
drupal6 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu's update reported this problem. Might be caused because I tried to uninstall postfix a few days ago.

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: drupal6 6.20-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
AptOrdering:
 bsd-mailx: Remove
 drupal6: Remove
 nullmailer: Remove
Architecture: amd64
Date: Thu Sep 8 11:37:46 2011
ErrorMessage: subprocess installed pre-removal script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110413)
PackageArchitecture: all
SourcePackage: drupal6
Title: package drupal6 6.20-1ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sander Jonkers (jonkers) wrote :
Revision history for this message
Sander Jonkers (jonkers) wrote :

Trying to remove drupal6, I get stuck in database stuff:

Removing drupal6 ...
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111, <GEN0> line 23.
dbconfig-common: dumping mysql database drupal6 to /var/tmp/drupal6.drupal6.2011-09-13-09.20.mysql.WWV96W.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO).
unable to connect to mysql server.
error encountered dumping database:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
dbconfig-common: drupal6 remove: retrying.
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111, <GEN0> line 52.
dbconfig-common: writing config to /etc/dbconfig-common/drupal6.conf
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO).
unable to connect to mysql server.
error encountered creating user:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
dbconfig-common: drupal6 reconfigure: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing drupal6 (--remove):
 subprocess installed pre-removal script returned error exit status 1
No apport report written because MaxReports is reached already
Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111, <GEN0> line 31.
dbconfig-common: flushing administrative password
Use of uninitialized value $val in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 83, <GEN7> line 9.
Use of uninitialized value $val in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 84, <GEN7> line 9.
dpkg: php5-gd: dependency problems, but removing anyway as you requested:
 drupal6 depends on php5-gd.
Removing php5-gd ...
Processing triggers for libapache2-mod-php5 ...
 * Reloading web server config apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
   ...done.
Errors were encountered while processing:
 drupal6

Revision history for this message
Sander Jonkers (jonkers) wrote :

Seems to be solved by removing drupal6 *without* removing the database in the remove procedure.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.