Well, I managed to get cacti working by deleting root's cronjob, and adding back the original one in /cron.d/cacti, so it works. Or should I say... worked.
However, after I started looking around for templates, I noticed that I was running 0.8.6c, and I need 0.8.6g for the template in mind (advanced ping).
I started by downloading the latest unstable source version through apt-get, and building it with:
It happily went off, fetched it, built it, and left me to install it using
However, when I run that, I get
Code: Select all
XboxServ:~# dpkg -i cacti_0.8.6h-2_all.deb
Selecting previously deselected package cacti.
(Reading database ... 38342 files and directories currently installed.)
Preparing to replace cacti 0.8.6h-2 (using cacti_0.8.6h-2_all.deb) ...
Unpacking replacement cacti ...
dpkg: dependency problems prevent configuration of cacti:
cacti depends on dbconfig-common (>= 1.8.8); however:
Package dbconfig-common is not installed.
dpkg: error processing cacti (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cacti
Obviously, I tried installing dbconfig-common, but then I get:
Code: Select all
XboxServ:~# apt-get install dbconfig-common
Reading Package Lists... Done
Building Dependency Tree... Done
Package dbconfig-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package dbconfig-common has no installation candidate
I then tried to simply remove cacti, but that leads me in circles
Code: Select all
XboxServ:~# apt-get remove cacti
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
cacti
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 3510kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 38660 files and directories currently installed.)
Removing cacti ...
/var/lib/dpkg/info/cacti.postrm: line 15: /usr/share/dbconfig-common/dpkg/postrm.mysql: No such file or directory
dpkg: error processing cacti (--remove):
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
cacti
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm not sure what the heck is going on, all I want to do is move to the latest version of cacti and ditch the old one. I'm not sure if this is within the scope of the original topic, but I'm relatively a debian noob, so I'm somewhat sure that I've either heartily screwed this thing up, or I'm making a simple error.