우분투 14.04 LTS에 r-base를 설치할 수 없습니다

우분투 14.04 LTS에 r-base를 설치할 수 없습니다

이전 버전의 r(3.0.2)을 제거하여 최신 최신 버전의 r을 설치하는 동안 다음과 같은 문제가 발생했습니다.

anupam :~$ 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.1.3.20150410-1trusty) but it is not going to be installed
          Depends: r-recommended (= 3.1.3.20150410-1trusty) 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.

나는 가장 많이 투표된 답변을 겪었습니다우분투에 최신 버전의 R 설치,,

나도 설치해 보았지만 aptitude작동하지 않았습니다. 나도 시도했습니다 sudo apt-get autoclean.. 이 문제를 어떻게 해결할 수 있습니까 ??

답변1

당신은 신뢰할 수 있고 (14.04) 정확하지 않기 때문에 (12.04) 라인

deb http://cran.rstudio.com/bin/linux/ubuntu precise/될 필요가있다
deb http://cran.rstudio.com/bin/linux/ubuntu trusty/.

해당 줄을 변경한 다음 실행하십시오
sudo apt-get update
sudo apt-get install r-base.

관련 정보