Не удается установить R с помощью sudo apt-get install r-base
Когда я пытаюсь установить R с sudo apt-get install r-base
это говорит
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
r-base : Depends: r-base-core (>= 3.2.1-4vivid0) but it is not going
to be installed
Depends: r-recommended (= 3.2.1-4vivid0) but it is not going to be installed
Recommends: r-base-html but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
2 ответа
У меня была такая же проблема, чтобы исправить это использовать
http://
/ bin / linux /ubuntu trusty/
в списке источников.
Похоже, у вас есть пакеты в ожидании. Эта команда должна обновить ваш R
принося новые зависимости:
sudo apt-get upgrade --with-new-pkgs