VPS. Ruby на VPS

ts02
9 років
0
Хочу установить последнюю версию ruby и Rails 4, дебиан .
На самом первом этапе заглохло apt-get install git curl


Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
curl : Depends: libcurl3 (>= 7.16.2-1) but it is not going to be installed
git : Depends: libcurl3-gnutls (>= 7.16.2-1) but it is not going to be installed
Depends: liberror-perl but it is not going to be installed
Recommends: rsync but it is not going to be installed
mysql-server-5.1 : Depends: mysql-server-core-5.1 (= 5.1.63-0+squeeze1) but 5.1.73-1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Евгений В.
9 років
0
Не хватает пакетов liberror-perl,rsync
Собственно, в самой ошибке и рекомендации по её устранению:
You might want to run 'apt-get -f install' to correct these:© ts02

попробуйте выполнить команду
apt-get -f install


А потом уже ставить git и cURL, которые Вы пытались поставить в начале
apt-get install git curl
ts02
9 років
0
собственно все что в ошибки было выдано я и сделал, потом снова начал устанавливать git and curl история повторяется
сейчас подробно опишу
ts02
9 років
0
root@vps-12220:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libnet-daemon-perl libplrpc-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
mysql-server-5.1
Suggested packages:
tinyca
The following packages will be upgraded:
mysql-server-5.1
1 upgraded, 0 newly installed, 0 to remove and 59 not upgraded.
9 not fully installed or removed.
Need to get 0 B/6,543 kB of archives.
After this operation, 115 kB disk space will be freed.
Do you want to continue [Y/n]? y
Abort.
---------------------
далее
-------------------------------

root@vps-12220:~# apt-get install git curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
curl : Depends: libcurl3 (>= 7.16.2-1) but it is not going to be installed
git : Depends: libcurl3-gnutls (>= 7.16.2-1) but it is not going to be installed
Depends: liberror-perl but it is not going to be installed
Recommends: rsync but it is not going to be installed
mysql-server-5.1 : Depends: mysql-server-core-5.1 (= 5.1.63-0+squeeze1) but 5.1.73-1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
--------------------------------

Далее
--------------------------
Тема закрита.