[R-sig-Debian] Cannot Install R to Trusty 14.04
Timothy Harding
hardingt at gmail.com
Thu Apr 16 22:23:16 CEST 2015
Thanks for the suggestion Luis, no changes however:
dhis at tmctpsql:~$ sudo apt-get install -f
[sudo] password for dhis:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
So I rand the second command, here is the output:
dhis at tmctpsql:~$ sudo apt-get --simulate install r-base-core
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-core : Depends: libgomp1 (>= 4.9) but 4.8.2-19ubuntu1 is to be
installed
Recommends: r-recommended but it is not going to be installed
Recommends: r-base-dev but it is not going to be installed
Recommends: r-doc-html but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I did however try installing trusty again to another VM, and that one
worked without issue. I used the following how-to this time:
http://r-interface.blogspot.com/2012/04/install-r-jgr-and-deducer-in-ubuntu.html
Not sure what is going on with this one however. Here is a list of commands
that I ran, I'm guessing I followed a bum tutorial the first time. The
results are always the same: Unable to correct problems, you have held
broken packages.
#Attempt 1:
sudo vi /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
sudo add-apt-repository ppa:marutter/rdev
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install r-base
#Further Attempts:
sudo vi /etc/apt/sources.list
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install r-base
sudo apt-get install r-base-dev
sudo apt-get remove --purge r-cran* r-base*
sudo apt-get install r-base-dev
sudo apt-get install r-base-core
sudo vi /etc/apt/sources.list
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install r-base-dev
sudo apt-get autoclean
sudo apt-get -f install
sudo dpkg --configure -a
sudo apt-get -f install
sudo vi /etc/apt/sources.list
gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9
gpg -a --export E084DAB9 | sudo apt-key add -
sudo apt-get update
sudo apt-get install r-base-dev
sudo apt-get clean; sudo apt-get autoclean
sudo apt-get install r-base-dev=3.1.3-1trusty
sudo apt-get install r-base-dev=3.1.2-1trusty0
Timothy Harding
RPCV Vanuatu
Skype: hardingt at gmail.com
+1 (541) 632-6623
On Wed, Apr 15, 2015 at 11:23 PM, Luís de Sousa <luis.a.de.sousa at gmail.com>
wrote:
> Hi Timothy,
>
> First you could try to an auto-fix with:
>
> sudo apt-get install -f
>
> If it does not solve it can you please post the output of:
>
> sudo apt-get --simulate install r-base-core
>
> Cheers,
>
> Luís
>
> On 16 April 2015 at 05:53, Timothy Harding <hardingt at gmail.com> wrote:
> > Hello,
> >
> > I've followed the instructions at several different how to sites:
> > http://cran.r-project.org/
> >
> http://r-interface.blogspot.com/2012/04/install-r-jgr-and-deducer-in-ubuntu.html
> >
> http://stackoverflow.com/questions/28273441/receiving-unmet-dependency-while-installing-r-base-on-ubuntu-14-10
> >
> > I've installed R to various Ubuntu's before, including trusty, but
> recently
> > it has stopped working:
> >
> > dhis at tmctpsql:~$ sudo apt-get install r-base-dev
> > 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-dev : Depends: r-base-core (>= 3.1.3.20150410-1trusty) but it is
> > not going to be installed
> > E: Unable to correct problems, you have held broken packages.
> >
> > Any ways around this? Does anyone else have issues with installing to a
> > brand new trusty install?
> >
> >
> > Timothy Harding
> > RPCV Vanuatu
> > Skype: hardingt at gmail.com
> > +1 (541) 632-6623
> >
> > [[alternative HTML version deleted]]
> >
> > _______________________________________________
> > R-SIG-Debian mailing list
> > R-SIG-Debian at r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>
[[alternative HTML version deleted]]
More information about the R-SIG-Debian
mailing list