[R-sig-Debian] Cannot install R on Ubuntu 14.04 LTS
Austin Putz
putz.austin at gmail.com
Sun Jun 14 00:46:40 CEST 2015
This issue has been solved. I didn't change to trusty when I updated
Ubuntu.
I now have the following lines in my /etc/apt/sources.list file:
deb http://cran.utstat.utoronto.ca/bin/linux/ubuntu trusty/
and
deb http://mirror.pnl.gov/ubuntu/ trusty-backports main restricted universe
I also installed the keys described on http://mirror.las.iastate.edu/CRAN/
but I'm not sure if I needed them or not.
Thanks for the help.
Austin
On Sat, Jun 13, 2015 at 5:33 PM, Michael Rutter <mar36 at psu.edu> wrote:
> Austin,
>
> You need to cc r-sig-debian in order to see the replies. I would just do
> one wrap-up email so people can see that there was a solution.
>
> Thanks,
> Michael
>
> On 06/13/2015 05:58 PM, Austin Putz wrote:
>
>> Hi Michael,
>>
>> Thanks for the response. I mistakenly had precise in there instead of
>> trusty. I'm not sure why I didn't read that part when I updated Ubuntu.
>>
>> For future reference, can you see my post to Prof Nash? (I just replied)
>> Or do I need to cc r-sig-debian every time I reply?
>>
>> Best regards,
>> Austin
>>
>> On Sat, Jun 13, 2015 at 3:40 PM, Michael Rutter <mar36 at psu.edu
>> <mailto:mar36 at psu.edu>> wrote:
>>
>> Austin,
>>
>> I would suggest removing the lines you added to
>> /etc/apt/sources.list and try the following:
>>
>> sudo apt-add-repository ppa:marutter/rrutter
>> # Follow the prompts to add the key
>> sudo apt-get update
>> sudo apt-get install r-base
>>
>> That should do the trick. The PPA used above is the one that is
>> used to seed the CRAN sites, so the packages are identical.
>>
>> Hope this helps,
>> Michael
>>
>>
>>
>> On 06/13/2015 04:21 PM, Prof J C Nash (U30A) wrote:
>>
>> 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
>>
>>
>>
>> _______________________________________________
>> R-SIG-Debian mailing list
>> R-SIG-Debian at r-project.org <mailto:R-SIG-Debian at r-project.org>
>> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>>
>>
>> --
>> Dr. Michael A. Rutter
>> Associate Professor of Statistics
>> Academic and Program Coordinator, Mathematics
>> Penn State Erie, The Behrend College
>> 4205 College Drive
>> Erie, PA 16563
>> http://math.bd.psu.edu/faculty/rutter
>> mar36 at psu.edu <mailto:mar36 at psu.edu>
>>
>>
>>
>>
>> --
>> Austin Putz
>> North Carolina State University
>> Animal Breeding and Genetics
>> Email: putz.austin at gmail.com <mailto:putz.austin at gmail.com>
>>
>
> --
> Dr. Michael A. Rutter
> Associate Professor of Statistics
> Academic and Program Coordinator, Mathematics
> Penn State Erie, The Behrend College
> 4205 College Drive
> Erie, PA 16563
> http://math.bd.psu.edu/faculty/rutter
> mar36 at psu.edu
>
--
Austin Putz
North Carolina State University
Animal Breeding and Genetics
Email: putz.austin at gmail.com
[[alternative HTML version deleted]]
More information about the R-SIG-Debian
mailing list