Skip to content

Instantly share code, notes, and snippets.

@JonHilton
Created November 1, 2013 19:20
Show Gist options
  • Save JonHilton/7270497 to your computer and use it in GitHub Desktop.
Save JonHilton/7270497 to your computer and use it in GitHub Desktop.
jon@ubuntu:~$ rvm install 1.9.2
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/12.04/x86_64/ruby-1.9.2-p320.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system.........
Error running 'requirements_debian_update_system ruby-1.9.2-p320',
please read /home/jon/.rvm/log/1383333152_ruby-1.9.2-p320/update_system.log
Requirements installation failed with status: 100.
and then the log file says this:
[2013-11-01 19:00:34] requirements_debian_update_system
requirements_debian_update_system ()
{
__rvm_try_sudo apt-get --quiet --yes update || {
typeset __ret=$?;
case ${__ret} in
100)
rvm_error "There has been error while updating 'apt-get', please give it some time and try again later.
For 404 errors check your sources configured in:
/etc/apt/sources.list
/etc/apt/sources.list.d/*.list
"
;;
esac;
return ${__ret}
}
}
current path: /home/jon
command(2): requirements_debian_update_system ruby-1.9.2-p320
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
There has been error while updating 'apt-get', please give it some time and try again later.
For 404 errors check your sources configured in:
/etc/apt/sources.list
/etc/apt/sources.list.d/*.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment