#66661 closed defect (worksforme)

libedit 20221030-3.1: Failed to checksum libedit

Reported by: iAmInActions (iAmInAction) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: judaew (Vadym-Valdis Yudaiev)
Port: libedit

Description

When trying to install the libedit port on a PowerPC G5 machine under leopard I get the following issue:

Error: Checksum (rmd160) mismatch for libedit-20221030-3.1.tar.gz
Error: Checksum (sha256) mismatch for libedit-20221030-3.1.tar.gz
Error: Checksum (size) mismatch for libedit-20221030-3.1.tar.gz
Error: Failed to checksum libedit: Unable to verify file checksums

I tested and the same error also occurs on my Intel VM running Snow Leopard.

Change History (7)

comment:1 Changed 22 months ago by jmroot (Joshua Root)

Cc: judaew added
Keywords: libedit checksum mismatch removed
Owner: set to MarcusCalhoun-Lopez
Status: newassigned

Which mirror is your download coming from? thrysoee.dk, download.openpkg.org and distfiles.macports.org are giving a file with matching checksums here.

comment:2 in reply to:  1 ; Changed 22 months ago by iAmInActions (iAmInAction)

Replying to jmroot:

Which mirror is your download coming from? thrysoee.dk, download.openpkg.org and distfiles.macports.org are giving a file with matching checksums here.

It comes from fra.de.packages.macports.org

How can I force it to use another mirror?

comment:3 Changed 22 months ago by iAmInActions (iAmInAction)

I managed to temporarily fix it by manually downloading the file and putting it into /opt/local/var/macports/distfiles/libedit/, unplugging my LAN cable and running an offline install

comment:4 in reply to:  2 ; Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to iAmInActions:

It comes from fra.de.packages.macports.org

No, it doesn't. That's a packages server and we're talking about a distfile, not a package. If you meant fra.de.distfiles.macports.org, I just verified that the distfile there has the correct checksums. A random network problem could have resulted in you receiving a corrupted or truncated file and erasing the file (e.g. with sudo port clean --all libedit) and retrying might have fixed it.

comment:5 in reply to:  4 Changed 22 months ago by iAmInActions (iAmInAction)

Replying to ryandesign:

Replying to iAmInActions:

It comes from fra.de.packages.macports.org

No, it doesn't. That's a packages server and we're talking about a distfile, not a package. If you meant fra.de.distfiles.macports.org, I just verified that the distfile there has the correct checksums. A random network problem could have resulted in you receiving a corrupted or truncated file and erasing the file (e.g. with sudo port clean --all libedit) and retrying might have fixed it.

I have been getting the same issue with multiple packages now and my fix doesnt work for some of them. It only seems to happen with packages that are downloaded from fra.de.packages.macports.org. Is there any way I can force disable a specific distfiles and packages source?

comment:6 Changed 22 months ago by jmroot (Joshua Root)

Are you getting checksum mismatches for distfiles, or signature verification failures for binary archives? Can you give a specific example of a complete URL to a file that isn't working?

comment:7 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)

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