Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#26211 closed defect (fixed)

port:ruby19 Checksum mismatch

Reported by: mohdfenris@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: ruby19

Description

a new ticket for "checksum mismatch" in #25611

fenris@MacBookPro:~$ sudo port install ruby19
 --->  Computing dependencies for ruby19
 --->  Verifying checksum(s) for ruby19
 Error: Checksum (md5) mismatch for ruby-1.9.1-p430.tar.bz2
 Error: Checksum (rmd160) mismatch for ruby-1.9.1-p430.tar.bz2
 Error: Checksum (sha1) mismatch for ruby-1.9.1-p430.tar.bz2
 Error: Target org.macports.checksum returned: Unable to verify file
 checksums
 Log for ruby19 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby19/main.log
 Error: Status 1 encountered during processing.

Change History (11)

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

Status: newassigned

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

please tell me the output of the following commands.

  $ port info ruby19
  $ port distfiles ruby19 | head -5
  --->  Distfiles for ruby19
  [ruby-1.9.2-p0.tar.bz2] /opt/local/var/macports/distfiles/ruby19/ruby-1.9.2-p0.t
  ar.bz2
    md5: d8a02cadf57d2571cd4250e248ea7e4b
    rmd160: dc15937c884b0f93863e9871304bae95e1233e15
    sha1: c0fc7e1047f1eac7e554e9818513593b0d398698
  $ ls -la /opt/local/var/macports/distfiles/ruby19/ruby-1.9.2-p0.tar.bz2
  -rw-r--r--  1 root  admin  8495472 Aug 19 21:25 /opt/local/var/macports/distfile
  s/ruby19/ruby-1.9.2-p0.tar.bz2

comment:3 in reply to:  2 Changed 14 years ago by mohdfenris@…

fenris@MacBookPro:~$ port info ruby19
ruby19 @1.9.2-p0, Revision 1 (lang, ruby)
Variants:             c_api_docs, mactk, nosuffix, tk, universal

Description:          Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system
                      management tasks (as in Perl). It is simple, straight-forward, extensible, and portable. Version 1.9 contains a new VM called YARV, is faster and slightly
                      incompatible from version 1.8.
Homepage:             http://www.ruby-lang.org/

Library Dependencies: libiconv, readline, openssl, zlib, ncurses, libyaml
Platforms:            darwin
License:              Ruby/GPL
Maintainers:          kimuraw@macports.org, openmaintainer@macports.org
fenris@MacBookPro:~$ port distfiles ruby19 | head -5
--->  Distfiles for ruby19
[ruby-1.9.2-p0.tar.bz2] /opt/local/var/macports/distfiles/ruby19/ruby-1.9.2-p0.tar.bz2
 md5: d8a02cadf57d2571cd4250e248ea7e4b
 rmd160: dc15937c884b0f93863e9871304bae95e1233e15
 sha1: c0fc7e1047f1eac7e554e9818513593b0d398698
fenris@MacBookPro:~$ ls -la /opt/local/var/macports/distfiles/ruby19/ruby-1.9.2-p0.tar.bz2
ls: /opt/local/var/macports/distfiles/ruby19/ruby-1.9.2-p0.tar.bz2: No such file or directory

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Please use WikiFormatting and preview before submitting. I have fixed your formatting above.

Ruby 1.9.1-p430 is old; the ruby19 port is currently at version 1.9.2-p0. Please "sudo port clean --all ruby19" and "sudo port selfupdate" and "port outdated" and "sudo port upgrade outdated", and then try ruby19 again. If you get a checksum mismatch again, show us what server the distfile came from. See the FAQ for more.

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Cc: mohdfenris@… removed
Keywords: ruby19 removed
Reporter: changed from kimuraw@… to mohdfenris@…

comment:6 Changed 14 years ago by mohdfenris@…

fenris@MacBookPro:~$ sudo port clean --all ruby19
Password:
--->  Cleaning ruby19
fenris@MacBookPro:~$ sudo port selfupdate
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.9.1 installed,
MacPorts base version 1.9.1 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
fenris@MacBookPro:~$ sudo port outdated
No installed ports are outdated.
fenris@MacBookPro:~$ sudo port upgrade outdated
Error: No ports matched the given expression
fenris@MacBookPro:~$ sudo port selfupdate
--->  Updating the ports tree
--->  Updating MacPorts base sources using rsync
MacPorts base version 1.9.1 installed,
MacPorts base version 1.9.1 downloaded.
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
fenris@MacBookPro:~$ sudo port upgrade outdated
Error: No ports matched the given expression
fenris@MacBookPro:~$ sudo port install ruby19
--->  Computing dependencies for ruby19
--->  Fetching ruby19
--->  Attempting to fetch ruby-1.9.2-p0.tar.bz2 from ftp://ftp.kr.FreeBSD.org/pub/ruby/1.9
--->  Verifying checksum(s) for ruby19
Error: Checksum (md5) mismatch for ruby-1.9.2-p0.tar.bz2
Error: Checksum (rmd160) mismatch for ruby-1.9.2-p0.tar.bz2
Error: Checksum (sha1) mismatch for ruby-1.9.2-p0.tar.bz2
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for ruby19 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby19/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:7 Changed 14 years ago by mohdfenris@…

opss.. sorry .. how do i edit back my format?

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

I contacted the administrator of ftp://ftp.kr.FreeBSD.org/ and ask to replace the wrong archive files. I hope your problem will be solved with the following operations.

% sudo port clean --dist ruby19
% sudo port upgrade ruby19

comment:9 Changed 14 years ago by mohdfenris@…

kimuraw,

thanks ... problem solved.

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

Resolution: fixed
Status: assignedclosed

comment:11 in reply to:  7 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to mohdfenris@…:

opss.. sorry .. how do i edit back my format?

I have corrected your formatting above. You cannot edit your comments after you post them; only administrators can. This is why it is so important to preview your posts before you submit them.

Note: See TracTickets for help on using tickets.