Opened 15 years ago

Closed 15 years ago

#23295 closed defect (fixed)

Medusa checksum invalid

Reported by: bmorgenthaler@… Owned by: pmq@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: checksum Cc: nox@…
Port: medusa

Description (last modified by jmroot (Joshua Root))

Trying to install medusa from current ports gives the following errors.

$ sudo port install medusa
--->  Computing dependencies for medusa
--->  Fetching medusa
--->  Verifying checksum(s) for medusa
Error: Checksum (md5) mismatch for medusa-1.5.tar.gz
Error: Checksum (sha1) mismatch for medusa-1.5.tar.gz
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: Status 1 encountered during processing.

Listed checksums in the Portfile are md5 11e04f6ac4bf559d5a0c6861a1cb8604 \ sha1 6a4a44584be1c672b8f9528582c5a2fc82faade8

Current ones from a recently downloaded version of medusa from foofus.net are md5 82f884666161af80f8cee7a7d5c7554d \ sha1 8c9251e929303bc462f41b8a4ecded3bf19868d4

Manual changing of the portfile allows medusa to install

Change History (4)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: medusa Portfile checksum removed
Owner: changed from macports-tickets@… to pmq@…

Please remember to preview and use WikiFormatting. As per the FAQ, you need to indicate which mirror your file was downloaded from when reporting checksum mismatches.

comment:2 Changed 15 years ago by nox@…

Cc: nox@… added
Keywords: checksum added
Version: 1.8.2

Works here:

$ sudo port -v checksum medusa
--->  Computing dependencies for medusa.
--->  Fetching medusa
--->  medusa-1.5.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/medusa
--->  Attempting to fetch medusa-1.5.tar.gz from ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/distfiles/
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  338k  100  338k    0     0   204k      0  0:00:01  0:00:01 --:--:--  455k
--->  Verifying checksum(s) for medusa
--->  Checksumming medusa-1.5.tar.gz
$ echo $?
0

Try this:

sudo port selfupdate
sudo port clean --all medusa
sudo port install medusa

comment:3 Changed 15 years ago by bmorgenthaler@…

Still does not work after cleaning.

$ sudo port clean --all medusa
--->  Cleaning medusa

$ sudo port -v checksum medusa
--->  Computing dependencies for medusa.
--->  Fetching medusa
--->  medusa-1.5.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/medusa
--->  Attempting to fetch medusa-1.5.tar.gz from http://www.foofus.net/jmk/tools
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  338k  100  338k    0     0  3917k      0 --:--:-- --:--:-- --:--:-- 10.0M
--->  Verifying checksum(s) for medusa
--->  Checksumming medusa-1.5.tar.gz
Error: Checksum (md5) mismatch for medusa-1.5.tar.gz
Portfile checksum: medusa-1.5.tar.gz md5 11e04f6ac4bf559d5a0c6861a1cb8604
Distfile checksum: medusa-1.5.tar.gz md5 82f884666161af80f8cee7a7d5c7554d
Error: Checksum (sha1) mismatch for medusa-1.5.tar.gz
Portfile checksum: medusa-1.5.tar.gz sha1 6a4a44584be1c672b8f9528582c5a2fc82faade8
Distfile checksum: medusa-1.5.tar.gz sha1 8c9251e929303bc462f41b8a4ecded3bf19868d4
The correct checksum line may be:
checksums           md5     82f884666161af80f8cee7a7d5c7554d \
                    sha1    8c9251e929303bc462f41b8a4ecded3bf19868d4 \
                    rmd160  f926db9ce2cca7cf4fb83b937e4d4fbd0da5f9c2
Error: Target org.macports.checksum returned: Unable to verify file checksums
Warning: the following items did not execute (for medusa): org.macports.checksum
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Different version of medusa-1.5.tar.gz on the mirrors, because foofus.net is the original and maintained location for Medusa?

comment:4 Changed 15 years ago by blb@…

Resolution: fixed
Status: newclosed

Definitely a stealth upgrade (src/medusa.c has a single bugfix). Should be fixed in r62749.

Note: See TracTickets for help on using tickets.