RVM pkg validation error

root@li417-132:~# rvm pkg install zlib
Fetching zlib-1.2.7.tar.gz to /usr/local/rvm/archives
There is no checksum for 'http://prdownloads.sourceforge.net/libpng/zlib-1.2.7.tar.gz' or 'zlib-1.2.7.tar.gz', it not possible to validate it.
If you wish to continue with unverified download add '--verify-downloads 1' after the command.


Please note that it required to reinstall all installed rubies:

    rvm reinstall all --force
    rvm all-gemsets do rvm gemset pristine

A strange problem arose today, other Linux modules that I installed a few days ago never did, but today I can’t install any rvm packages and add “-verify-downloads 1” after the command seems to be has no effect at all.

+5
source share
1 answer

This is a new change in RVM, you can make it work with:

rvm --verify-downloads 1 pkg install zlib 

A better solution would be to add md5 / sha512 for zlib so that it can be checked

Command parsing has already been fixed, udate rvm, to make it work:

rvm get head

Failure Warning:

rvm pkgoutdated by autolibs :

rvm get stable
rvm autolibs enable
rvm install ruby

RVM , - OSX RVM , homebrew, fink, .

+11

All Articles