openssh checksum failed

Ryan Schmidt ryandesign at macports.org
Sun Sep 23 10:16:12 PDT 2007


On Sep 21, 2007, at 20:27, Yuen Ho Wong wrote:

> I got this error when I tried to upgrade openssh today:
>
> --->  Fetching openssh
> --->  openssh-4.7p1-hpn12v18.diff.gz doesn't seem to exist in /opt/ 
> local/var/macports/distfiles/openssh
> --->  Attempting to fetch openssh-4.7p1-hpn12v18.diff.gz from  
> http://www.psc.edu/networking/projects/hpn-ssh/
>  % Total    % Received % Xferd  Average Speed   Time    Time      
> Time  Current
>                                 Dload  Upload   Total   Spent     
> Left  Speed
> 100 16094  100 16094    0     0  42537      0 --:--:-- --:--:--  
> --:--:--  111k
> --->  openssh-4.7p1.tar.gz doesn't seem to exist in /opt/local/var/ 
> macports/distfiles/openssh
> --->  Attempting to fetch openssh-4.7p1.tar.gz from http:// 
> mirror.roothell.org/pub/OpenBSD/OpenSSH/portable
>  % Total    % Received % Xferd  Average Speed   Time    Time      
> Time  Current
>                                 Dload  Upload   Total   Spent     
> Left  Speed
> 100  967k  100  967k    0     0   131k      0  0:00:07  0:00:07  
> --:--:--  117k
> --->  Verifying checksum(s) for openssh
> --->  Checksumming openssh-4.7p1-hpn12v18.diff.gz
> Error: Checksum (sha1) mismatch for openssh-4.7p1-hpn12v18.diff.gz
> Portfile checksum: openssh-4.7p1-hpn12v18.diff.gz sha1  
> 8a401c329e0777398c4371c0746a63e1d9690469
> Distfile checksum: openssh-4.7p1-hpn12v18.diff.gz sha1  
> 8ab61d12b5bcf70d0ffe9cb1d157136d20ebb22c
> --->  Checksumming openssh-4.7p1.tar.gz
> Error: Target org.macports.checksum returned: Unable to verify file  
> checksums
> Warning: the following items did not execute (for openssh):  
> org.macports.destroot org.macports.extract org.macports.checksum  
> org.macports.patch org.macports.configure org.macports.build
> Error: Unable to upgrade port: 1
>
>
> The Portfile has no maintainer and has only 1 mirror, which  
> contains the corrupted file. Anybody cares if I throw in a couple  
> more mirrors with no corrupted files in?

You appear already to have fixed it by changing the checksum in the  
portfile:

http://trac.macports.org/projects/macports/changeset/29371

Were you able to discover why the checksum had changed?

http://trac.macosforge.org/projects/macports/wiki/ 
FAQ#IgetError:checksummd5/sha1/rmd160mismatchforport.WhatcanIdoaboutit





More information about the macports-dev mailing list