ubuntu - curl: (18) transfer closed with 804285 bytes remaining to read -


while trying install rvm using command ::(i using ubuntu 12.04 lts)

curl -l https://get.rvm.io | bash -s 

when try same command simple user getting error like

abhay@abhay:~/downloads$ curl -l https://get.rvm.io |sudo bash -s curl: (1) protocol https not supported or disabled in libcurl 

this 2 paths curl installed

abhay@abhay:~$ -a curl /home/abhay/bin/curl /usr/local/bin/curl 

this error still getting

root@abhay:/home/abhay# curl -l https://get.rvm.io | bash -s stable   % total    % received % xferd  average speed   time    time     time  current                                  dload  upload   total   spent    left  speed 100   184  100   184    0     0     33      0  0:00:05  0:00:05 --:--:--    61 100 13774  100 13774    0     0   1271      0  0:00:10  0:00:10 --:--:--  3214 downloading rvm wayneeseguin branch stable   % total    % received % xferd  average speed   time    time     time  current                                  dload  upload   total   spent    left  speed 100   124  100   124    0     0     37      0  0:00:03  0:00:03 --:--:--    60  27 1079k   27  294k    0     0   5853      0  0:03:08  0:00:51  0:02:17  8245 curl: (18) transfer closed 804285 bytes remaining read  not download 'https://github.com/wayneeseguin/rvm/archive/stable.tar.gz'.   curl returned status '18'. 

and this

root@abhay:/home/abhay# \curl -l https://get.rvm.io | bash -s stable --ruby --autolibs=enable --auto-dotfiles   % total    % received % xferd  average speed   time    time     time  current                                  dload  upload   total   spent    left  speed 100   184  100   184    0     0     42      0  0:00:04  0:00:04 --:--:--    70 100 13774  100 13774    0     0   1663      0  0:00:08  0:00:08 --:--:--  4770 turning on auto dotfiles mode. please read , follow further instructions. press enter continue. downloading rvm wayneeseguin branch stable   % total    % received % xferd  average speed   time    time     time  current                                  dload  upload   total   spent    left  speed 100   124  100   124    0     0     42      0  0:00:02  0:00:02 --:--:--    75   8 1079k    8 98109    0     0   3745      0  0:04:55  0:00:26  0:04:29  7132  curl returned 141 - result of segfault means it's curls fault. try again , if crashes more couple of times either need reinstall curl or consult distribution manual , contact support. 

your system seems broken, rvm tested installation ubuntu both when building binary rubies , http://travis-ci.org

i recommend remove system , start fresh installation without customizations.


Comments