1

When I tried installing perl-Net-SNMP, I get the dependency error below :

# yum install perl-Net-SNMP

...

--> Processing Dependency: perl(Digest::HMAC) for package: perl-Net-SNMP-5.2.0-4.el6.noarch
--> Processing Dependency: perl(Digest::SHA1) for package: perl-Net-SNMP-5.2.0-4.el6.noarch
--> Finished Dependency Resolution
Error: Package: perl-Net-SNMP-5.2.0-4.el6.noarch (epel)
           Requires: perl(Digest::HMAC)
Error: Package: perl-Net-SNMP-5.2.0-4.el6.noarch (epel)
           Requires: perl(Digest::SHA1)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Quanticat
  • 21
  • 1
  • 2
  • 8

2 Answers2

0

Install the needed perl packages by running:

cpan -i Digest::HMAC
cpan -i Digest::SHA1

After which run yum install perl-Net-SNMP again

Logic Wreck
  • 1,420
  • 9
  • 8
0

This shows your yum server do not have all dependencies for perl-Net-SNMP that's why this showing dependency resolution error when you are installing perl-Net-SNMP first you need to install these dependency's manually from another repository after complition of dependency resolution/installtion you need to run this commond yum install perl-Net-SNMP

you can get this dependency's from pkgs.org,rpm.pbone.net and other repositories.

user128296
  • 371
  • 3
  • 11