Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsolar/23c73e4ede48569a570bb1bd64662141 to your computer and use it in GitHub Desktop.
Save tsolar/23c73e4ede48569a570bb1bd64662141 to your computer and use it in GitHub Desktop.
rvm libreadline error debian sid
$ cat /home/tom/.rvm/log/1481080358_ruby-2.3.3/package_install_libreadline6_libreadline6-dev.log
[2016-12-07 00:12:48] requirements_debian_libs_install
requirements_debian_libs_install ()
{
__rvm_try_sudo apt-get --no-install-recommends --yes install "$@" || return $?
}
current path: /home/tom
GEM_HOME=/home/tom/.rvm/gems/ruby-2.2.2
GEM_PATH=/home/tom/.rvm/gems/ruby-2.2.2:/home/tom/.rvm/gems/ruby-2.2.2@global
PATH=/home/tom/.rvm/gems/ruby-2.2.2/bin:/home/tom/.rvm/gems/ruby-2.2.2@global/bin:/home/tom/.rvm/rubies/ruby-2.2.2/bin:/home/tom/.nvm/v0.10.32/bin:./node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/tom/opt/bin:/home/tom/.composer/vendor/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin
command(3): requirements_debian_libs_install libreadline6 libreadline6-dev
++ __rvm_try_sudo apt-get --no-install-recommends --yes install libreadline6 libreadline6-dev
++ typeset -a command_to_run
++ typeset sudo_path sbin_path missing_paths
++ command_to_run=("$@")
++ (( UID == 0 ))
++ case "$rvm_autolibs_flag_number" in
++ is_a_function __rvm_sudo
++ typeset -f __rvm_sudo
++ missing_paths=
++ for sbin_path in /sbin /usr/sbin /usr/local/sbin
++ [[ -d /sbin ]]
++ [[ :/home/tom/.rvm/gems/ruby-2.2.2/bin:/home/tom/.rvm/gems/ruby-2.2.2@global/bin:/home/tom/.rvm/rubies/ruby-2.2.2/bin:/home/tom/.nvm/v0.10.32/bin:./node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/tom/opt/bin:/home/tom/.composer/vendor/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin: != *\:\/\s\b\i\n\:* ]]
++ missing_paths+=:/sbin
++ for sbin_path in /sbin /usr/sbin /usr/local/sbin
++ [[ -d /usr/sbin ]]
++ [[ :/home/tom/.rvm/gems/ruby-2.2.2/bin:/home/tom/.rvm/gems/ruby-2.2.2@global/bin:/home/tom/.rvm/rubies/ruby-2.2.2/bin:/home/tom/.nvm/v0.10.32/bin:./node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/tom/opt/bin:/home/tom/.composer/vendor/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin: != *\:\/\u\s\r\/\s\b\i\n\:* ]]
++ missing_paths+=:/usr/sbin
++ for sbin_path in /sbin /usr/sbin /usr/local/sbin
++ [[ -d /usr/local/sbin ]]
++ [[ :/home/tom/.rvm/gems/ruby-2.2.2/bin:/home/tom/.rvm/gems/ruby-2.2.2@global/bin:/home/tom/.rvm/rubies/ruby-2.2.2/bin:/home/tom/.nvm/v0.10.32/bin:./node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/tom/opt/bin:/home/tom/.composer/vendor/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin: != *\:\/\u\s\r\/\l\o\c\a\l\/\s\b\i\n\:* ]]
++ missing_paths+=:/usr/local/sbin
++ [[ -n :/sbin:/usr/sbin:/usr/local/sbin ]]
++ command_to_run=(/usr/bin/env PATH="${PATH}${missing_paths}" "${command_to_run[@]}")
++ command_to_run=(__rvm_sudo -p "%p password required for '$*': " "${command_to_run[@]}")
++ __rvm_sudo -p '%p password required for '\''apt-get --no-install-recommends --yes install libreadline6 libreadline6-dev'\'': ' /usr/bin/env PATH=/home/tom/.rvm/gems/ruby-2.2.2/bin:/home/tom/.rvm/gems/ruby-2.2.2@global/bin:/home/tom/.rvm/rubies/ruby-2.2.2/bin:/home/tom/.nvm/v0.10.32/bin:./node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/tom/opt/bin:/home/tom/.composer/vendor/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/sbin:/usr/sbin:/usr/local/sbin apt-get --no-install-recommends --yes install libreadline6 libreadline6-dev
++ command sudo -p '%p password required for '\''apt-get --no-install-recommends --yes install libreadline6 libreadline6-dev'\'': ' /usr/bin/env PATH=/home/tom/.rvm/gems/ruby-2.2.2/bin:/home/tom/.rvm/gems/ruby-2.2.2@global/bin:/home/tom/.rvm/rubies/ruby-2.2.2/bin:/home/tom/.nvm/v0.10.32/bin:./node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/tom/opt/bin:/home/tom/.composer/vendor/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/sbin:/usr/sbin:/usr/local/sbin apt-get --no-install-recommends --yes install libreadline6 libreadline6-dev
++ sudo -p '%p password required for '\''apt-get --no-install-recommends --yes install libreadline6 libreadline6-dev'\'': ' /usr/bin/env PATH=/home/tom/.rvm/gems/ruby-2.2.2/bin:/home/tom/.rvm/gems/ruby-2.2.2@global/bin:/home/tom/.rvm/rubies/ruby-2.2.2/bin:/home/tom/.nvm/v0.10.32/bin:./node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/tom/opt/bin:/home/tom/.composer/vendor/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/sbin:/usr/sbin:/usr/local/sbin apt-get --no-install-recommends --yes install libreadline6 libreadline6-dev
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libreadline6-dev : Depends: libreadline6 (= 6.3-8+b3) but 6.3-9 is to be installed
E: Unable to correct problems, you have held broken packages.
++ return 100
++ return 100
$ rvm install 2.3.3
Searching for binary rubies, this might take some time.
No binary rubies available for: debian/stretch_sid/x86_64/ruby-2.3.3.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for debian.
Installing requirements for debian.
Updating systemtom password required for 'apt-get --quiet --yes update': ..-
...
Installing required packages: libreadline6, libreadline6-dev.....
Error running 'requirements_debian_libs_install libreadline6 libreadline6-dev',
showing last 15 lines of /home/tom/.rvm/log/1481080358_ruby-2.3.3/package_install_libreadline6_libreadline6-dev.log
++ sudo -p '%p password required for '\''apt-get --no-install-recommends --yes install libreadline6 libreadline6-dev'\'': ' /usr/bin/env PATH=/home/tom/.rvm/gems/ruby-2.2.2/bin:/home/tom/.rvm/gems/ruby-2.2.2@global/bin:/home/tom/.rvm/rubies/ruby-2.2.2/bin:/home/tom/.nvm/v0.10.32/bin:./node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/tom/opt/bin:/home/tom/.composer/vendor/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/home/tom/.rvm/bin:/sbin:/usr/sbin:/usr/local/sbin apt-get --no-install-recommends --yes install libreadline6 libreadline6-dev
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libreadline6-dev : Depends: libreadline6 (= 6.3-8+b3) but 6.3-9 is to be installed
E: Unable to correct problems, you have held broken packages.
++ return 100
++ return 100
Requirements installation failed with status: 100.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment