"rvm pkg install openssl" checksum issues?

260 views
Skip to first unread message

Luke Hamilton

unread,
Oct 7, 2012, 9:02:02 PM10/7/12
to rubyversi...@googlegroups.com
Hi All,

Have googled this, but cant find anyone else having this issue. 

I am running on "rvm get head".

As part of rvm requirements. I am trying to run the following command: rvm pkg install openssl. Which is returning the following output:

$rvm pkg install openssl
Fetching openssl-1.0.1c.tar.gz to /Users/luke/.rvm/archives
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 20.7M  100 20.7M    0     0   280k      0  0:01:15  0:01:15 --:--:--  423k
Downloaded archive checksum did not match, archive was removed!
If you wish to continue with not matching download add '--verify-downloads 2' after the command.


Please note that it's required to reinstall all rubies:

    rvm reinstall all --force

Updating openssl certificates
Error running 'update_openssl_certs', please read /Users/luke/.rvm/log/openssl.certs.log


And within the log file is the following:

$ cat /Users/luke/.rvm/log/openssl.certs.log
[2012-10-08 10:58:13] update_openssl_certs
update_openssl_certs () 
    ( chpwd_functions="" builtin cd $rvm_usr_path/ssl && command curl -O http://curl.haxx.se/ca/cacert.pem && mv cacert.pem cert.pem )
}
current path: /Users/luke
command(1): update_openssl_certs
/Users/luke/.rvm/scripts/functions/pkg: line 194: cd: /Users/luke/.rvm/usr/ssl: No such file or directory


Anyone got any hint, tips or solutions to what might be causing this? 
Thanks heaps,
Luke

mpapis

unread,
Oct 8, 2012, 2:17:09 AM10/8/12
to rubyversi...@googlegroups.com
There has to be some kind of error, I have just downloaded openssl-1.0.1c.tar.gz and it was 4352k which seams 1/5 of your download.

Make sure there is no proxy with "faked" archives.
Reply all
Reply to author
Forward
0 new messages