Estoy tratando de poner rvm en funcionamiento en ubuntu 14.04 y me cuesta entender por qué no puedo cumplir con las dependencias. He hecho múltiples apt-get update && spt-get upgrades
pero todavía tengo este error.
zachs@Ranger:~$ rvm requirements
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system......
Installing required packages: gawk, libyaml-dev, libsqlite3-dev, sqlite3, libgdbm-dev, bison, libffi-dev.....
Error running 'requirements_debian_libs_install gawk libyaml-dev libsqlite3-dev sqlite3 libgdbm-dev bison libffi-dev',
showing last 15 lines of /home/zachs/.rvm/log/1452398643/package_install_gawk_libyaml-dev_libsqlite3-dev_sqlite3_libgdbm-dev_bison_libffi-dev.log
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:
libffi-dev : Depends: libffi6 (= 3.1~rc1+r3.0.13-12) but 3.1~rc1+r3.0.13-12ubuntu0.1 is to be installed
libsqlite3-dev : Depends: libsqlite3-0 (= 3.8.2-1ubuntu2) but 3.8.2-1ubuntu2.1 is to be installed
libyaml-dev : Depends: libyaml-0-2 (= 0.1.4-3ubuntu3) but 0.1.4-3ubuntu3.1 is to be installed
sqlite3 : Depends: libsqlite3-0 (= 3.8.2-1ubuntu2) but 3.8.2-1ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.
+ return 100
+ return 100
Requirements installation failed with status: 100.
Supongo que necesito instalar las versiones de ubuntu de estos paquetes, pero ¿por qué apt-get update
no los atrapa?
Creo que he instalado rvm correctamente porque recibo esta respuesta:
$ type rvm | head -n 1
rvm is a function
Los intentos de instalar las dependencias no satisfechas también fallan:
zachs@Ranger:~$ sudo apt-get install libffi6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libffi6 is already the newest version.
fuente