#21144 closed defect (worksforme)
Checksum mismatch for djvulibre-3.5.22
Reported by: | carlonluca (Luca Carlon) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | anddam (Andrea D'Amore) | |
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 (7)
comment:1 Changed 15 years ago by tobypeterson
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by carlonluca (Luca Carlon)
Already tried that. I tried to download the archive from a different location and now it works.
comment:3 Changed 15 years ago by blb@…
Port: | djvulibre added |
---|
Did you happen to note which sourceforge mirror was giving you a bad file?
comment:4 Changed 15 years ago by carlonluca (Luca Carlon)
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 15 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.
comment:6 Changed 15 years ago by anddam (Andrea D'Amore)
I experienced the same, from what I could see at least two mirrors, GARR and Kent University, have broken files. I'm not sure if/how we could report it.
Works for me. Run
sudo port clean --all djvulibre
and try again. Also check out http://trac.macports.org/wiki/ProblemHotlist#fetch-failures