Unable to update Graphviz

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ITFCTECH
Posts: 16
Joined: Fri Mar 04, 2011 7:34 am
Location: London UK
Contact:

Unable to update Graphviz

Post by ITFCTECH »

Hello

after installing Xi 2012

we are having issues running YUM Update Centos 5.8

Graphviz is showing dependency errors

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Webmin: webmin.mirror.somersettechsolutions.co.uk
* base: mirror01.th.ifl.net
* epel: mirror01.th.ifl.net
* extras: mirror01.th.ifl.net
* rpmforge: http://www.mirrorservice.org
* updates: mirror01.th.ifl.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: graphviz = 2.12-8.el5.centos for package: graphviz-gd
---> Package graphviz.x86_64 0:2.22.0-4.el5.rf set to be updated
--> Finished Dependency Resolution
graphviz-gd-2.12-8.el5.centos.x86_64 from installed has depsolving problems
--> Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.x86_64 (installed)
Error: Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.x86_64 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

How do we get around this?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Unable to update Graphviz

Post by scottwilkerson »

we can try to clean up yum

Code: Select all

yum clean all
If you still cannot update you can try removing and re-installing these packages

Code: Select all

yum remove graphviz-gd graphviz -y
yum install graphviz graphviz-gd -y
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ITFCTECH
Posts: 16
Joined: Fri Mar 04, 2011 7:34 am
Location: London UK
Contact:

Re: Unable to update Graphviz

Post by ITFCTECH »

Hello just ran those commands

unistalled both but only graphviz re-installed correctly

graphviz-gd is not installing at all now

[root@noc ~]# yum install graphviz-gd
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Webmin: webmin.mirror.somersettechsolutions.co.uk
* base: mirror01.th.ifl.net
* epel: mirror01.th.ifl.net
* extras: mirror01.th.ifl.net
* rpmforge: www.mirrorservice.org
* updates: mirror01.th.ifl.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package graphviz-gd.x86_64 0:2.12-8.el5.centos set to be updated
--> Processing Dependency: graphviz = 2.12-8.el5.centos for package: graphviz-gd
--> Finished Dependency Resolution
graphviz-gd-2.12-8.el5.centos.x86_64 from extras has depsolving problems
--> Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.x86_64 (extras)
Error: Missing Dependency: graphviz = 2.12-8.el5.centos is needed by package graphviz-gd-2.12-8.el5.centos.x86_64 (extras)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Unable to update Graphviz

Post by lmiltchev »

Run the following command in terminal as root:

Code: Select all

cd /etc/yum.repos.d/
wget http://www.graphviz.org/graphviz-rhel.repo
yum update
yum list available 'graphviz*'
Find the proper package, that is available for your OS/architecture and install it:

Code: Select all

yum install graphviz-gd.xxx -y
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ITFCTECH
Posts: 16
Joined: Fri Mar 04, 2011 7:34 am
Location: London UK
Contact:

Re: Unable to update Graphviz

Post by ITFCTECH »

Ah yes thank you
That seem to do the trick, installed correctly now
Locked