So, I have a client with a RedHat server (RHEL5), and I wanted to install<br>Munin on it.<br><br>I first do: <br><br>#yum search munin <br><br>And find 2 packages (munin and munin-node).<br><br>That is an improvement from a few years ago, because rpmforge is configured <br>
by default. No need to go and add repositories manually.<br><br>Or so I thought ...<br><br>I then told it, nicely, to install munin-node<br><br># yum install munin-node<br><br>But, I am met by unresolved dependencies.<br>
<br>========<font size="1"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Loaded plugins: fastestmirror</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Loading mirror speeds from cached hostfile</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> * addons: <a href="http://mirrors.netdna.com">mirrors.netdna.com</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> * base: <a href="http://mirrors.tummy.com">mirrors.tummy.com</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> * extras: <a href="http://mirror.san.fastserv.com">mirror.san.fastserv.com</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> * rpmforge: <a href="http://fr2.rpmfind.net">fr2.rpmfind.net</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> * updates: <a href="http://mirrors.combinetworks.com">mirrors.combinetworks.com</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Excluding Packages in global exclude list</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Finished</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Setting up Install Process</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Resolving Dependencies</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">--> Running transaction check</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">---> Package munin-node.noarch 0:1.2.5-2.el5.rf set to be updated</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">--> Processing Dependency: perl(Net::Server::Fork) for package: munin-node</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">--> Processing Dependency: perl(Net::SNMP) for package: munin-node</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">--> Processing Dependency: perl-Net-Server for package: munin-node</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">--> Finished Dependency Resolution</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">munin-node-1.2.5-2.el5.rf.noarch from rpmforge has depsolving problems</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> --> Missing Dependency: perl(Net::SNMP) is needed by package munin-node-1.2.5-2.el5.rf.noarch (rpmforge)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">munin-node-1.2.5-2.el5.rf.noarch from rpmforge has depsolving problems</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> --> Missing Dependency: perl(Net::Server::Fork) is needed by package munin-node-1.2.5-2.el5.rf.noarch (rpmforge)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">munin-node-1.2.5-2.el5.rf.noarch from rpmforge has depsolving problems</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> --> Missing Dependency: perl-Net-Server is needed by package munin-node-1.2.5-2.el5.rf.noarch (rpmforge)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Error: Missing Dependency: perl(Net::SNMP) is needed by package munin-node-1.2.5-2.el5.rf.noarch (rpmforge)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Error: Missing Dependency: perl(Net::Server::Fork) is needed by package munin-node-1.2.5-2.el5.rf.noarch (rpmforge)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Error: Missing Dependency: perl-Net-Server is needed by package munin-node-1.2.5-2.el5.rf.noarch (rpmforge)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> You could try using --skip-broken to work around the problem</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> You could try running: package-cleanup --problems</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> package-cleanup --dupes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> rpm -Va --nofiles --nodigest</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">The program package-cleanup is found in the yum-utils package.</span></font><br>
========<br clear="all"><br>On a Debian/Ubuntu system, all the dependencies will be pulled automatically,<br>and most things are already in the official repository (and all its dependencies).<br><br>Is RedHat still not doing things that way, or am I missing something?<br>
-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>
Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>