Page 1 of 1

Unable to update Graphviz

Posted: Wed Nov 21, 2012 4:39 am
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?

Re: Unable to update Graphviz

Posted: Wed Nov 21, 2012 9:50 am
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

Re: Unable to update Graphviz

Posted: Wed Nov 21, 2012 10:03 am
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.

Re: Unable to update Graphviz

Posted: Wed Nov 21, 2012 11:35 am
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.

Re: Unable to update Graphviz

Posted: Thu Nov 22, 2012 6:55 am
by ITFCTECH
Ah yes thank you
That seem to do the trick, installed correctly now