Comment 2 for bug 1447233

Revision history for this message
Paul Gevers (paul-climbing) wrote : Re: [Bug 1447233] [NEW] package cacti 0.8.8b+dfsg-5 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1

You did not provide the password for the mysql administrator. This means
that the permissions for the cacti user can't be removed. Unfortunately,
that is a operator error, you must supply the valid password.

Removing cacti (0.8.8b+dfsg-5) ...
Use of uninitialized value $_[1] in join or string at
/usr/share/perl5/Debconf/DbDriver/Stack.pm line 111, <GEN0> line 26.
dbconfig-common: dumping mysql database cacti to
/var/tmp/cacti.cacti.2015-04-22-01.31.mysql.hWPana.
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: cacti remove: aborted.
dbconfig-common: flushing administrative password
dpkg: error processing package cacti (--remove):
 subprocess installed pre-removal script returned error exit status 1