У меня новая диско Ubuntu 19.04, и я следовал инструкциям здесь , чтобы установить новый R 3.6.
Однако после установки ключа и добавления репозитория через:
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu disco-cran35/'
И работает:
sudo apt update
sudo apt 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.6.0-1cosmic) but 3.5.2-1build1 is to be installed
Depends: r-recommended (= 3.6.0-1cosmic) but 3.5.2-1build1 is to be installed
E: Unable to correct problems, you have held broken packages.
Я мог бы установить R через
sudo apt install r-base
перед добавлением вышеупомянутого репозитория, но установлена версия 3.5.2
.
У кого-нибудь есть идеи, как установить его без необходимости компиляции из исходного кода?