Я намагаюся отримати RVM і працює на Ubuntu 14.04 і важкий час з'ясувати, чому я не можу задовольнити залежності. Я зробив кілька apt-get update && spt-get upgrades
але все ще має цю помилку.
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.
Я думаю, що мені потрібно встановити Ubuntu версії цих пакетів, але чому apt-get update
не ловити їх?
Я вважаю, що я правильно встановив rvm, оскільки отримую відповідь:
$ type rvm | head -n 1
rvm is a function
Спроби встановити незадоволені залежності також виходять з ладу:
zachs@Ranger:~$ sudo apt-get install libffi6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libffi6 is already the newest version.