It seems that you tried to install cacti and cacti-spine originally
without a working database. I can't really follow what happened after
that, but the current DpkgTerminalLog.txt does NOT show issues with
installation, but issues with removal.

If you still want cacti to be installed, I recommend that you first
purge cacti (*ignore* errors instead of *abort* when prompted by
debconf, such that the removal can proceed) and purge mysql-server-5.6
after as well. After that, first install mysql-server and then install
cacti. With a working mysql-server, the configuration of cacti should
work.

The issue seems to be that your first installation of cacti failed due
to a missing database server, but the /etc/cacti/debian.php file that
was generated contained the password for cacti to log in. After you
installed the server, cacti tried to use that generated password, but
that wasn't (and can't be) communicated to the database server.

An alternative is to set the cacti password manually from within mysql
and then dpkg-reconfigure cacti and provide the manually set password
when asked for.

Paul

** Changed in: cacti (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1641891

Title:
  package cacti 0.8.8f+ds1-4ubuntu4 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/1641891/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to