[R-sig-Debian] Cannot install R on Ubuntu 14.04 LTS

Prof J C Nash (U30A) nashjc at uottawa.ca
Sat Jun 13 22:21:47 CEST 2015


A possibly silly thought -- Did you "sudo apt-get update" after doing 
the "sudo apt-add repository ..." statement? In other installs (non-R) 
I've managed to shoot myself that way.

JN

On 15-06-13 04:17 PM, Austin Putz wrote:
> Hello everyone,
>
> I've spent the last 2 days trying to install base R on my Ubuntu 14.04 LTS
> machine. I even just wiped my entire computer and reinstalled the operating
> system thinking that was the problem (since some people have problems
> updating R).
>
> So far I've tried to follow this link exactly that has instructions:
>
> http://mirror.las.iastate.edu/CRAN/
>
> Since I just reinstalled Ubuntu I figured I would have no problems. I was
> just wondering if anyone else has had this happen to them. I was getting an
> error while doing sudo apt-get update that said:
>
> ....public key not available iastate... NO_PUBKEY 51716619E084DAB9
>
> So I followed that link above and installed the keys (as far as I know).
>
> The current error while trying sudo apt-get install r-base (not installed
> previously, fresh OS) is:
>
> ------------------------------------------------------------------------------------------------------------------------
> Sat Jun 13 : ~ $ 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.0-4precise0) but it is not going to
> be installed
>            Depends: r-recommended (= 3.2.0-4precise0) 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.
> ------------------------------------------------------------------------------------------------------------------------
>
>
> I've tried countless other things and I'm just frustrated now from 2 days
> of trying something that should be fairly straightforward (so I
> thought...). I have tried installing the "Depends" packages, but no dice. I
> tried going to Ubuntu Software Center thinking it may do something
> differnet but no help either. Can't install dependencies. I don't even know
> what else I've tried. I'm out of ideas.
>
> Any help or solution would be greatly appreciated.
>
> Thanks in advance for any help,
>
> Austin
>
>



More information about the R-SIG-Debian mailing list