01/10/2018, 00:20

Lỗi khi cài Ruby bằng RVM

Khi chạy lệnh rvm requirements thì nó ra như sau ạ:

Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system....
Installing required packages: libyaml-dev, libsqlite3-dev, sqlite3, autoconf, libgdbm-dev, libncurses5-dev, automake, bison.....
Error running 'requirements_debian_libs_install libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev libncurses5-dev automake bison',
showing last 15 lines of /home/sangbeo/.rvm/log/1475660931/package_install_libyaml-dev_libsqlite3-dev_sqlite3_autoconf_libgdbm-dev_libncurses5-dev_automake_bison.log
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:
 libncurses5-dev : Depends: libtinfo5 (= 6.0+20151024-2ubuntu2) but 6.0+20160213-1ubuntu1 is to be installed
                   Depends: libncurses5 (= 6.0+20151024-2ubuntu2) but 6.0+20160213-1ubuntu1 is to be installed
                   Depends: libtinfo-dev (= 6.0+20151024-2ubuntu2) but 6.0+20160213-1ubuntu1 is to be installed
 libsqlite3-dev : Depends: libsqlite3-0 (= 3.10.2-1) but 3.11.0-1ubuntu1 is to be installed
 sqlite3 : Depends: libsqlite3-0 (= 3.10.2-1) but 3.11.0-1ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
+ return 100
+ return 100
Requirements installation failed with status: 100.

Em google thử các cách rồi mà mãi không được, cứ bị như thế… Có ai biết giúp em với ạ, Em cảm ơn
Em dùng Ubuntu 16.04 LTS ạ.

Bài liên quan
0