Ticket #16161 (closed defect: fixed)
glib2: Checksum (md5) mismatch
| Reported by: | bownan@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | ||
| Port: |
Description
bash-3.2# port selfupdate
MacPorts base version 1.600 installed
Downloaded MacPorts base version 1.600
The MacPorts installation is not outdated and so was not updated selfupdate done!
bash-3.2# port install glib2 ---> Verifying checksum(s) for glib2 Error: Checksum (md5) mismatch for glib-2.16.5.tar.bz2 Error: Checksum (sha1) mismatch for glib-2.16.5.tar.bz2 Error: Checksum (rmd160) mismatch for glib-2.16.5.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing.
Change History
comment:1 Changed 5 years ago by raimue@…
- Owner changed from macports-tickets@… to ryandesign@…
- Milestone set to Port Bugs
comment:2 Changed 5 years ago by bownan@…
Thanks. I tried it but also go the same issue:
I'm getting mine from:
ftp://ftp.gtk.org/pub/glib/2.16/
Is there a way to change where i'm getting it from?
comment:3 Changed 5 years ago by ryandesign@…
- Status changed from new to closed
- Resolution set to fixed
- Summary changed from Checksum (md5) mismatch for glib2 to glib2: Checksum (md5) mismatch
To my surprise, the directory ftp://ftp.gtk.org/pub/glib/2.16/ does not exist. The latest directory there is for 2.15. I would have expected MacPorts to have noticed this as an error and to have moved on to try another mirror, rather than downloading something with the wrong checksum. I have removed that mirror from the list in r38971 so that the other GNOME mirrors get used instead. Please wait 30 minutes, then "sudo port clean --all glib2" and then try again "sudo port -d checksum glib2". If you get a checksum error again, please re-open this ticket and let me know which site is was trying to download from.


The checksums are fine for me. I got it from http://www.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/sources/glib/2.16/.
Please run sudo port clean --all glib2 and try again.