I installed RVM in my Ubuntu 17.10 but when I try to install Ruby I have this error:
$ rvm install 2.5.0
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/17.10/x86_64/ruby-2.5.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating systemjacques password required for 'apt-get --quiet --yes update': .-|
...
Installing required packages: libreadline6-dev....
Error running 'requirements_debian_libs_install libreadline6-dev',
please read /home/jacques/.rvm/log/1514981551_ruby-2.5.0/package_install_libreadline6-dev.log
Requirements installation failed with status: 100.
If I try to install libreadline6-dev with apt-get
I receive this error:
The following packages have mismatched dependencies:
libreadline6-dev: Depends: libreadline6 (= 6.2-9ubuntu1) but 6.3-8ubuntu8 is to be installed
rvm install 2.5.0
and it works perfectly. – galoget Jan 03 '18 at 22:07/home/jacques/.rvm/log/1514981551_ruby-2.5.0/package_install_libreadline6-dev.log
and the output ofapt-cache policy libreadline6 libreadline6-dev
? – David Foerster Jan 08 '18 at 16:25The following packages have mismatched dependencies: libreadline6-dev: Depends: libreadline6 (= 6.2-9ubuntu1) but 6.3-8ubuntu8 is to be installed E: Impossible to fix problems, you kept (hold) broken packages.
– Jacques Marques Jan 09 '18 at 20:10