Opened 14 years ago

Closed 14 years ago

#26116 closed defect (fixed)

Checksums failed on ruby-1.8.7-p302.tar.bz2

Reported by: ksze (Kal Sze) Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: ruby

Description (last modified by mf2k (Frank Schima))

I just tried to upgrade Ruby today:

akiho:~ ryoko$ sudo port sync
akiho:~ ryoko$ sudo port -R upgrade ruby
--->  Computing dependencies for ruby
--->  Fetching ruby
--->  Attempting to fetch ruby-1.8.7-p302.tar.bz2 from ftp://ftp.iDaemons.org/pub/mirror/ftp.ruby-lang.org/ruby/1.8
--->  Attempting to fetch ruby-1.8.7-p302.tar.bz2 from ftp://ftp.kr.FreeBSD.org/pub/ruby/1.8
--->  Verifying checksum(s) for ruby
Error: Checksum (md5) mismatch for ruby-1.8.7-p302.tar.bz2
Error: Checksum (rmd160) mismatch for ruby-1.8.7-p302.tar.bz2
Error: Checksum (sha1) mismatch for ruby-1.8.7-p302.tar.bz2
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for ruby is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (4.7 KB) - added by ksze (Kal Sze) 14 years ago.
MacPorts log

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by ksze (Kal Sze)

Attachment: main.log added

MacPorts log

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Cc: kimuraw@… removed
Description: modified (diff)
Keywords: checksum removed
Owner: changed from macports-tickets@… to kimuraw@…

comment:2 Changed 14 years ago by kimuraw (kimura wataru)

Status: newassigned

Size of ruby-1.8.7-p302.tar.bz2 from ftp://ftp.kr.FreeBSD.org/pub/ruby/1.8 is too small. The mirrored archive file seems to be broken.

The correct size of ruby-1.8.7-p302.tar.bz2 is 4184764 bytes. see http://www.ruby-lang.org/en/news/2010/08/16/ruby-1-8-7-p302-is-released/

Please try to install with the following commands.

  $ sudo rm /opt/local/var/macports/distfiles/ruby/ruby-1.8.7-p302.tar.bz2
  $ sudo port fetch ruby master_sites=http://ftp.ruby-lang.org/pub/ruby/1.8/
  $ sudo port upgrade ruby

comment:3 Changed 14 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: assignedclosed

Now the files at the mirror site ftp://ftp.kr.FreeBSD.org/pub/ruby/1.8 is good. If your problem won't be solved, please re-open this ticket.

Note: See TracTickets for help on using tickets.