Opened 11 years ago

Closed 11 years ago

#40061 closed defect (invalid)

Checksum errors with nagios-plugins and nrpe

Reported by: rlwall@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port: nagios-plugins nrpe

Description (last modified by larryv (Lawrence Velázquez))

I am getting checksum errors when trying to install nagios-plugins and nrpe on Macs running 10.8.4. I am able to install other ports like nmap etc. The error is as follows:

port install nrpe
--->  Verifying checksums for nrpe
Error: org.macports.checksum for port nrpe returned: nrpe-2.12.tar.gz does not exist in /opt/local/var/macports/distfiles/nrpe
Please see the log file for port nrpe for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_nrpe/nrpe/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port nrpe failed

It downloads the files and dependencies, but seems to fail on the checksums. This has happened on three separate servers. I installed both nagios-plugins and nrpe a few weeks ago and had no problems.

Change History (5)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: nagios nrpe removed
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to markd@…
Port: nagios-plugins added

I can fetch and checksum nagios-plugins and nrpe without fuss. Please clean and try again and attach the complete main.log if you continue to encounter the issue.

comment:2 Changed 11 years ago by rlwall@…

I did a port clean on the effected ports and was able to install nrpe, but the nagios-plugins are still giving me the same error.

Here are the steps that I followed and errors I get. I'm running commands as root:

sh-3.2# port clean nagios-plugins
--->  Cleaning nagios-plugins
sh-3.2# port install nagios-plugins
--->  Computing dependencies for nagios-plugins
--->  Dependencies to be installed: p5.12-crypt-des p5.12-digest-hmac p5.12-digest-sha1 p5.12-net-snmp
--->  Verifying checksums for p5.12-crypt-des
Error: org.macports.checksum for port p5.12-crypt-des returned: Crypt-DES-2.05.tar.gz does not exist in /opt/local/var/macports/distfiles/perl5
Error: Failed to install p5.12-crypt-des
Please see the log file for port p5.12-crypt-des for details:
   /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-crypt-des/p5.12-crypt-des/main.log
Error: The following dependencies were not installed: p5.12-crypt-des p5.12-digest-hmac p5.12-digest-sha1 p5.12-net-snmp
To report a bug, follow the instructions in the guide:
   http://guide.macports.org/#project.tickets
Error: Processing of port nagios-plugins failed
sh-3.2#

It looks like it's failing on the dependancies.

Richard

comment:3 in reply to:  2 Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to rlwall@…:

--->  Verifying checksums for p5.12-crypt-des
Error: org.macports.checksum for port p5.12-crypt-des returned: Crypt-DES-2.05.tar.gz does not exist in /opt/local/var/macports/distfiles/perl5

I can also fetch and checksum p5.12-crypt-des. Perhaps you tried to install these ports before and left the work directory behind (which would be why MacPorts thinks it doesn’t have to fetch) but later deleted the distfiles manually? I don’t know. Might as well try this.

% sudo port clean all

comment:4 Changed 11 years ago by rlwall@…

Thanks for your help. I did as you instructed and did a "sudo port clean all" and then tried to reinstall nagios-plugins and got the same error. I then switched my DNS from OpenDNS (208.67.222.222, 208.67.220.220) to google's public DNS (8.8.8.8, 8.8.4.4), cleaned all ports again and was then able to successfully install the nagios-plugins port. So, this may be more of a OpenDNS issue than a Macports issue. Thanks again for your help. Sorry for making a pigs ear out of the initial ticket.

Sincerely

Richard Wall

comment:5 Changed 11 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.