Opened 13 years ago

Closed 13 years ago

#29843 closed defect (duplicate)

ruby: ruby-1.8.7-p334.tar.bz2 does not exist

Reported by: jonathan.carpenter@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ruby

Description (last modified by ryandesign (Ryan Carsten Schmidt))

While installing metasploit3 you receive the error message:

--->  Verifying checksum(s) for ruby
Error: Target org.macports.checksum returned: ruby-1.8.7-p334.tar.bz2 does not exist in /opt/local/var/macports/distfiles/ruby
Error: Failed to install ruby

How can we fix it? I am running mac os 10.6.

Thank You,

Change History (3)

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

Cc: ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to kimuraw@…
Port: ruby added
Summary: Metasploit3ruby: ruby-1.8.7-p334.tar.bz2 does not exist

Possibly another case of #29223? Please clean and try again.

sudo port clean ruby

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

Status: newassigned

I think you downloaded the tarball from a broken mirror site (see #30052).

please check your downloaded file with the following commands.

% port distfiles ruby | head    # get the path of .tar.bz2 
--->  Distfiles for ruby
[ruby-1.8.7-p352.tar.bz2] /opt/local/var/macports/distfiles/ruby/ruby-1.8.7-p352.tar.bz2
 md5: 0c61ea41d1b1183b219b9afe97f18f52
 rmd160: 9a0ea7e7eb83c809d2890b08db2e78eeb93dee0d
 sha1: 9f3d039e9bfeda54ea2c2175bbeace375a1ea1ae
  http://www.ibiblio.org/pub/languages/ruby/1.8/ruby-1.8.7-p352.tar.bz2
  :
% ls -la /opt/local/var/macports/distfiles/ruby/ruby-1.8.7-p352.tar.bz2   # check size of .tar.bz2
-rw-r--r--  1 root  admin  4207576 Jul  5 01:27 /opt/local/var/macports/distfiles/ruby/ruby-1.8.7-p352.tar.bz2

size of the ruby source tarball is ~4MB. if too small, remove the file and retry install.

% sudo rm /opt/local/var/macports/distfiles/ruby/ruby-1.8.7-p352.tar.bz2
% sudo port install ruby

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

Resolution: duplicate
Status: assignedclosed

Replying to kimuraw@…:

I think you downloaded the tarball from a broken mirror site (see #30052).

I think he downloaded no tarball whatsoever. See my comment above.

Note: See TracTickets for help on using tickets.