Am getting the below error while trying to install ruby using rvm:
$rvm install 1.9.3
Searching for binary rubies, this might take some time.
Checking requir
I had a permission problem, solved with:
sudo chmod 777 log
It isn't unusual to not have a binary package for you distribution, and rvm
should try to install from source.
First, check that it didn't actually install it:
rvm list
Otherwise, I suspect you may be missing some depedencies, which you can find with:
rvm requirements
You'll need to install those and the run the install again.
this problem caused in apt-get update
so you have to disable the PPA :
System Settings>Software & Updates>Other Software
then reinstall. this image show disable PPA
make sure you can update your system:
sudo apt-get update
and then start rvm installation again.
also it looks like you are using old version of rvm, make sure to update rvm before continuing:
rvm get stable
When you are initially installing rvm, read the notes. For suppose you get notes like,
create a * WARNING: You have '~/.profile'
file, you might want to load it,
to do that add the following line to '/home/name/.bash_profile':source ~/.profile
Then-> $ sudo gedit /home/name/.bash_profile
Add line `~/.profile` to the file. Save and close it.
now run $ rvm
requirements
You should get a success message.
I was facing the same problem and just did that:
sudo rm /etc/apt/sources.list.d/webupd8team-ubuntu-sublime-text-3-bionic.list
Now it works!