Opened 12 years ago

Closed 12 years ago

#33883 closed defect (worksforme)

oxygen-icons @4.8.1 fetching failed, 404, checksum failed

Reported by: reakinator@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: sharky@…
Port: oxygen-icons

Description

When trying to install the latest port for oxygen-icons (4.8.1), I get the following error:

--->  Computing dependencies for oxygen-icons
--->  Verifying checksum(s) for oxygen-icons
Error: Checksum (rmd160) mismatch for oxygen-icons-4.8.1.tar.bz2
Error: Checksum (sha256) mismatch for oxygen-icons-4.8.1.tar.bz2
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***

I switched to Google's public DNS server and received the same error. Running port install -d oxygen-icons, here is the important bit:

...
DEBUG: Executing org.macports.archivefetch (oxygen-icons)
--->  oxygen-icons-4.8.1_0.darwin_11.noarch.tbz2 doesn't seem to exist in /opt/local/var/macports/software/oxygen-icons
--->  Attempting to fetch oxygen-icons-4.8.1_0.darwin_11.noarch.tbz2 from http://packages.macports.org/oxygen-icons
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
DEBUG: Fetching archive failed:: The requested URL returned error: 404
DEBUG: fetch phase started at Wed Apr  4 05:37:39 EST 2012
--->  Fetching oxygen-icons
DEBUG: Executing org.macports.fetch (oxygen-icons)
DEBUG: checksum phase started at Wed Apr  4 05:37:39 EST 2012
--->  Verifying checksum(s) for oxygen-icons
DEBUG: Executing org.macports.checksum (oxygen-icons)
--->  Checksumming oxygen-icons-4.8.1.tar.bz2
Error: Checksum (rmd160) mismatch for oxygen-icons-4.8.1.tar.bz2
Portfile checksum: oxygen-icons-4.8.1.tar.bz2 rmd160 1e8dbbcac52a5fad4864e9830519a8eee2c97826
Distfile checksum: oxygen-icons-4.8.1.tar.bz2 rmd160 03b2d47ecf562daafee6606ba3d3979124f3ed17
Error: Checksum (sha256) mismatch for oxygen-icons-4.8.1.tar.bz2
Portfile checksum: oxygen-icons-4.8.1.tar.bz2 sha256 ea070618df8a69cc92e6501def401ed4d5fa1188542e3155a20e01d149b64662
Distfile checksum: oxygen-icons-4.8.1.tar.bz2 sha256 39f0a96862b4a3dc87b622091e17e705fe7f50ff26f7c7ebc2864d251dbdcdae
The correct checksum line may be:
checksums           rmd160  03b2d47ecf562daafee6606ba3d3979124f3ed17 \
                    sha256  39f0a96862b4a3dc87b622091e17e705fe7f50ff26f7c7ebc2864d251dbdcdae
***
The non-matching file appears to be HTML. See this page for possible reasons
...

I followed the link where macports is trying to get the package from and I don't see anything called oxygen-icons-4.8.1_0.darwin_11.noarch.tbz2, although there is a oxygen-icons-4.8.1_0.darwin_10.noarch.tbz2 (notice ...10.noarch...).

I have no idea if this is really the problem, as I hardly use macports, but I desperately want to use kdevelop and rid myself of Xcode 4, so I hope this helps me achieve that. :)

Attachments (1)

main.log (33.2 KB) - added by reakinator@… 12 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by reakinator@…

Attachment: main.log added

main.log

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

Cc: sharky@… added; reakinator@… removed
Owner: changed from macports-tickets@… to snc@…

You misunderstand the difference between (or perhaps don't realize there is a difference between) pre-compiled packages/archives, which MacPorts always tries to download from http://packages.macports.org, and the distfiles MacPorts would download from any number of servers in the event that no pre-compiled package/archive exists for your platform.

Did you read the MisbehavingServers wiki page to which the error message directed you?

After switching your DNS server you would need to clean out the incorrect distfile using "sudo port clean --all oxygen-icons" before trying again.

As reporter you do not need to Cc yourself. But you should Cc the maintainers of the port so they see the ticket.

comment:2 Changed 12 years ago by reakinator@…

Thanks for getting me getting me on the right track, and you're right I don't understand much of what macports is doing. :)

Running "sudo port clean --all oxygen-icons" allowed me to get past the 404 error with the new DNS server (yet I read that from the linked wiki page, although it didn't mention the clean --all command, now I know).

Cheers, Rich

comment:3 Changed 12 years ago by nerdling (Jeremy Lavergne)

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