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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1447233 Title: package cacti 0.8.8b+dfsg-5 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cacti/+bug/1447233/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
