Closed fcladera closed 8 years ago
rvm install fails, and it triggers a Travis error
rvm
rvm 1.27.0 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/] Searching for binary rubies, this might take some time. Found remote file https://rubies.travis-ci.org/ubuntu/12.04/x86_64/ruby-2.3.0.tar.bz2 Checking requirements for ubuntu. Installing requirements for ubuntu. Updating system... Error running 'requirements_debian_update_system ruby-2.3.0', showing last 15 lines of /home/travis/.rvm/log/1459307559_ruby-2.3.0/update_system.log ++ /scripts/functions/utility : __rvm_try_sudo() 367 > [[ -d /usr/sbin ]] ++ /scripts/functions/utility : __rvm_try_sudo() 367 > [[ :/home/travis/.nvm/versions/node/v5.8.0/bin:/home/travis/bin:/home/travis/.local/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/home/travis/.rvm/gems/ruby-1.9.3-p551/bin:/home/travis/.rvm/gems/ruby-1.9.3-p551@global/bin:/home/travis/.rvm/rubies/ruby-1.9.3-p551/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/travis/.rvm/bin:/home/travis/.rvm/bin:/home/travis/.rvm/bin: != *\:\/\u\s\r\/\s\b\i\n\:* ]] ++ /scripts/functions/utility : __rvm_try_sudo() 365 > for sbin_path in /sbin /usr/sbin /usr/local/sbin ++ /scripts/functions/utility : __rvm_try_sudo() 367 > [[ -d /usr/local/sbin ]] ++ /scripts/functions/utility : __rvm_try_sudo() 367 > [[ :/home/travis/.nvm/versions/node/v5.8.0/bin:/home/travis/bin:/home/travis/.local/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/home/travis/.rvm/gems/ruby-1.9.3-p551/bin:/home/travis/.rvm/gems/ruby-1.9.3-p551@global/bin:/home/travis/.rvm/rubies/ruby-1.9.3-p551/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/travis/.rvm/bin:/home/travis/.rvm/bin:/home/travis/.rvm/bin: != *\:\/\u\s\r\/\l\o\c\a\l\/\s\b\i\n\:* ]] ++ /scripts/functions/utility : __rvm_try_sudo() 371 > [[ -n '' ]] ++ /scripts/functions/utility : __rvm_try_sudo() 374 > command_to_run=(__rvm_sudo -p "%p password required for '$*': " "${command_to_run[@]}") ++ /scripts/functions/utility : __rvm_try_sudo() 381 > __rvm_sudo -p '%p password required for '\''apt-get --quiet --yes update'\'': ' apt-get --quiet --yes update ++ /scripts/functions/support : __rvm_sudo() 357 > command sudo -p '%p password required for '\''apt-get --quiet --yes update'\'': ' apt-get --quiet --yes update ++ /scripts/functions/support : __rvm_sudo() 357 > sudo -p '%p password required for '\''apt-get --quiet --yes update'\'': ' apt-get --quiet --yes update sudo: must be setuid root ++ /scripts/functions/utility : __rvm_try_sudo() 381 > return 1 ++ /scripts/functions/requirements/ubuntu : requirements_debian_update_system() 43 > typeset __ret=1 ++ /scripts/functions/requirements/ubuntu : requirements_debian_update_system() 44 > case ${__ret} in ++ /scripts/functions/requirements/ubuntu : requirements_debian_update_system() 53 > return 1 Requirements installation failed with status: 1.
rvm
install fails, and it triggers a Travis error