package drupal6 6.20-1ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
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
ProcVersionSign
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)
PackageArchitec
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)
Trying to remove drupal6, I get stuck in database stuff:
Removing drupal6 ... perl5/Debconf/ DbDriver/ Stack.pm line 111, <GEN0> line 23. drupal6. drupal6. 2011-09- 13-09.20. mysql.WWV96W. perl5/Debconf/ DbDriver/ Stack.pm line 111, <GEN0> line 52. common/ drupal6. conf perl5/Debconf/ DbDriver/ Stack.pm line 111, <GEN0> line 31. perl5/Debconf/ Format/ 822.pm line 83, <GEN7> line 9. perl5/Debconf/ Format/ 822.pm line 84, <GEN7> line 9.
Use of uninitialized value $_[1] in join or string at /usr/share/
dbconfig-common: dumping mysql database drupal6 to /var/tmp/
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/
dbconfig-common: writing config to /etc/dbconfig-
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/
dbconfig-common: flushing administrative password
Use of uninitialized value $val in substitution (s///) at /usr/share/
Use of uninitialized value $val in concatenation (.) or string at /usr/share/
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