Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
OK, so I installed Spine and some of my graphs stopped working. I tried to rebuild the poller cache but receive a 500 error. OK, then reinstall. Can't do that... 1.1.36 is no longer available??? I'm on 1.2.2|
Installed Packages
Name : cacti
Arch : noarch
Version : 1.1.36
Release : 1.el7
Size : 24 M
Repo : installed
From repo : epel
Summary : An rrd based graphing tool
URL : http://www.cacti.net/
License : GPLv2+
Description : Cacti is a complete frontend to RRDTool. It stores all of the
: necessary information to create graphs and populate them with
: data in a MySQL database. The frontend is completely PHP
: driven.
Available Packages
Name : cacti
Arch : noarch
Version : 1.2.2
Release : 1.el7
Size : 19 M
Repo : epel/x86_64
Summary : An rrd based graphing tool
URL : https://www.cacti.net/
License : GPLv2+
Description : Cacti is a complete frontend to RRDTool. It stores all of the
: necessary information to create graphs and populate them with
: data in a MySQL database. The frontend is completely PHP
: driven.
yum install cacti
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.es.its.nyu.edu
* epel: fedora-epel.mirrors.tds.net
* extras: mirror.es.its.nyu.edu
* updates: mirror.es.its.nyu.edu
Resolving Dependencies
--> Running transaction check
---> Package cacti.noarch 0:1.1.36-1.el7 will be updated
---> Package cacti.noarch 0:1.2.2-1.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================
Updating:
cacti noarch 1.2.2-1.el7 epel 19 M
Transaction Summary
==================================================================================================================================
Upgrade 1 Package
Total download size: 19 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
For some reason, the cacti update is using a delta package update and as you don't have the appropriate utils, it won't apply it. Probably because you had 1.2.2 plain installed and this is trying to patch it.
==================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================
Updating:
cacti noarch 1.2.2-1.el7 epel 19 M
Transaction Summary
==================================================================================================================================
Upgrade 1 Package
Total download size: 19 M
Is this ok [y/d/N]: y
Downloading packages:
epel/x86_64/prestodelta | 718 B 00:00:00
cacti-1.2.2-1.el7.noarch.rpm | 19 MB 00:00:06
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : cacti-1.2.2-1.el7.noarch 1/2
Error unpacking rpm package cacti-1.2.2-1.el7.noarch
warning: /etc/cacti/db.php created as /etc/cacti/db.php.rpmnew
warning: /etc/cron.d/cacti created as /etc/cron.d/cacti.rpmnew
error: unpacking of archive failed on file /usr/share/cacti/rra: cpio: rename
cacti-1.1.36-1.el7.noarch was supposed to be removed but is not!
Verifying : cacti-1.1.36-1.el7.noarch 1/2
Verifying : cacti-1.2.2-1.el7.noarch 2/2
Failed:
cacti.noarch 0:1.1.36-1.el7 cacti.noarch 0:1.2.2-1.el7
Complete!
It is like the update is attempting to rename a folder but fails to do so or something like that . I've put a shout out to Morten Stevens who handles the CentOS packaging to see if he has any ideas.
Yes, you do in fact have 1.2.2 installed, but the packages are somewhat confuddled by having a real valid RRA directory instead of a symlink to /var/lib/cacti/ (I think it's that folder).