[kwlug-disc] RedHat yum dependency handling
Khalid Baheyeldin
kb at 2bits.com
Wed Feb 10 23:19:51 EST 2010
So, I have a client with a RedHat server (RHEL5), and I wanted to install
Munin on it.
I first do:
#yum search munin
And find 2 packages (munin and munin-node).
That is an improvement from a few years ago, because rpmforge is configured
by default. No need to go and add repositories manually.
Or so I thought ...
I then told it, nicely, to install munin-node
# yum install munin-node
But, I am met by unresolved dependencies.
========
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrors.netdna.com
* base: mirrors.tummy.com
* extras: mirror.san.fastserv.com
* rpmforge: fr2.rpmfind.net
* updates: mirrors.combinetworks.com
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package munin-node.noarch 0:1.2.5-2.el5.rf set to be updated
--> Processing Dependency: perl(Net::Server::Fork) for package: munin-node
--> Processing Dependency: perl(Net::SNMP) for package: munin-node
--> Processing Dependency: perl-Net-Server for package: munin-node
--> Finished Dependency Resolution
munin-node-1.2.5-2.el5.rf.noarch from rpmforge has depsolving problems
--> Missing Dependency: perl(Net::SNMP) is needed by package
munin-node-1.2.5-2.el5.rf.noarch (rpmforge)
munin-node-1.2.5-2.el5.rf.noarch from rpmforge has depsolving problems
--> Missing Dependency: perl(Net::Server::Fork) is needed by package
munin-node-1.2.5-2.el5.rf.noarch (rpmforge)
munin-node-1.2.5-2.el5.rf.noarch from rpmforge has depsolving problems
--> Missing Dependency: perl-Net-Server is needed by package
munin-node-1.2.5-2.el5.rf.noarch (rpmforge)
Error: Missing Dependency: perl(Net::SNMP) is needed by package
munin-node-1.2.5-2.el5.rf.noarch (rpmforge)
Error: Missing Dependency: perl(Net::Server::Fork) is needed by package
munin-node-1.2.5-2.el5.rf.noarch (rpmforge)
Error: Missing Dependency: perl-Net-Server is needed by package
munin-node-1.2.5-2.el5.rf.noarch (rpmforge)
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.
========
On a Debian/Ubuntu system, all the dependencies will be pulled
automatically,
and most things are already in the official repository (and all its
dependencies).
Is RedHat still not doing things that way, or am I missing something?
--
Khalid M. Baheyeldin
2bits.com, Inc.
http://2bits.com
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra
Simplicity is the ultimate sophistication. -- Leonardo da Vinci
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20100210/d54fa2c7/attachment.htm>
More information about the kwlug-disc
mailing list