Я должен был установить Nodejs в Ubuntu 14.04
Для этого я выполнил следующую команду в терминале со ссылкой от следующего URL:
https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server
sudo apt-get install nodejs
В результате процесса установки я получил следующий вывод процесса:
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
nodejs : Depends: libc-ares2 (>= 1.8.0) but it is not going to be installed
Depends: libv8-3.14.5 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
На основе вышеупомянутого вывода я выполнил следующую команду:
sudo apt-get -f install
Но после выполнения вышеупомянутой команды я получил следующую ошибку:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Предложите соответствующее решение.