Ticket #21144 (closed defect: worksforme)
Checksum mismatch for djvulibre-3.5.22
| Reported by: | carlon.luca@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | Cc: | and.damore@… | |
| Port: | djvulibre |
Description
Description: checksum failed when trying to upgrade djvulibre-3.5.22. Tried to download many times the archive but checksum still fails.
Change History
comment:1 Changed 4 years ago by toby@…
- Status changed from new to closed
- Resolution set to worksforme
comment:2 Changed 4 years ago by carlon.luca@…
Already tried that. I tried to download the archive from a different location and now it works.
comment:3 Changed 4 years ago by blb@…
- Port set to djvulibre
Did you happen to note which sourceforge mirror was giving you a bad file?
comment:4 Changed 4 years ago by carlon.luca@…
I was curious about that too. I uninstalled djvulibre, cleaned and then reinstalled it:
lucas-macbook:~ luca$ sudo port install djvulibre ---> Computing dependencies for djvulibre ---> Fetching djvulibre ---> Attempting to fetch djvulibre-3.5.22.tar.gz from http://garr.dl.sourceforge.net/djvu ---> Verifying checksum(s) for djvulibre Error: Checksum (md5) mismatch for djvulibre-3.5.22.tar.gz Error: Checksum (sha1) mismatch for djvulibre-3.5.22.tar.gz Error: Checksum (rmd160) mismatch for djvulibre-3.5.22.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing.
So, maybe http://garr.dl.sourceforge.net/djvu has a corrupted version of the file.
comment:5 Changed 4 years ago by blb@…
Yup, looks that way to me; trying to extract the one from garr.dl results in
tar: Skipping to next header tar: Archive contains obsolescent base-64 headers gunzip: /Users/blb/djvulibre-3.5.22.tar.gz: invalid compressed data--format violated tar: Read 8192 bytes from - tar: Error exit delayed from previous errors
However, checking another project (flex), that download appears fine, so may just be for this particular distfile.
Note: See
TracTickets for help on using
tickets.


Works for me. Run sudo port clean --all djvulibre and try again. Also check out http://trac.macports.org/wiki/ProblemHotlist#fetch-failures