Opened 12 years ago

Closed 12 years ago

#32276 closed defect (worksforme)

Checksum mismatch for db46 on OS10.7

Reported by: eddybarratt@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: db46

Description (last modified by mf2k (Frank Schima))

I've been trying to run 'sudo port upgrade outdated' (with the eventual goal of reinstalling image magick, which hasn't worked since I upgraded to Lion) and I can't get past the following error message, I get similar error messages when trying to install imagemagick directly, or when trying to install db46, and I get a different message when I try to clean db46 (see below). I've been to the web page listed in the message but don't see any reason to suspect that one of the explanations is relevant here. I've looked through a few similar tickets relating to db46 but non of the solutions have worked in my case. Perhaps the problem is with OS10.7? All previous related tickets have been for older OSs.

$ sudo port upgrade outdated
--->  Verifying checksum(s) for db46
Error: Checksum (md5) mismatch for patch.4.6.21.1
Error: Checksum (sha1) mismatch for patch.4.6.21.1
Error: Checksum (rmd160) mismatch for patch.4.6.21.1
Error: Checksum (md5) mismatch for patch.4.6.21.2
Error: Checksum (sha1) mismatch for patch.4.6.21.2
Error: Checksum (rmd160) mismatch for patch.4.6.21.2
Error: Checksum (md5) mismatch for patch.4.6.21.3
Error: Checksum (sha1) mismatch for patch.4.6.21.3
Error: Checksum (rmd160) mismatch for patch.4.6.21.3
Error: Checksum (md5) mismatch for patch.4.6.21.4
Error: Checksum (sha1) mismatch for patch.4.6.21.4
Error: Checksum (rmd160) mismatch for patch.4.6.21.4
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/db46/main.log
Error: Problem while installing db46
To report a bug, see <http://guide.macports.org/#project.tickets> 



$sudo port clean -all db46
sage: port
        [-bcdfknopqRstuvy] [-D portdir] [-F cmdfile] action [privopts] [actionflags]
        [[portname|pseudo-portname|port-url] [@version] [+-variant]... [option=value]...]...
    
"port help" or "man 1 port" for more information.

(I've read 'port help' but don't see a solution)

Change History (4)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Cc: maintainer@… eddybarratt@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to blair@…

Please read the FAQ on checksum errors. You need to type "--dist" or "--all" not "-all".

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

What is in the files that were downloaded? They are apparently HTML files, which they should not be.

comment:3 Changed 12 years ago by eddybarratt@…

That's great thanks! Don't know how I missed that second '-'. All working now.

I don't know what files I was downloading, I was just trying a port upgrade.

comment:4 Changed 12 years ago by jmroot (Joshua Root)

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