Hello,

I need a specific version of R installed for consistency reasons. I do the 
standard setup steps:

echo "deb https://cran.ma.imperial.ac.uk/bin/linux/ubuntu trusty/" | sudo tee 
-a /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
sudo apt-get update

And then a simple install call, which used to work just fine some time ago, 
tosses an error:

ubuntu@test:~$ sudo apt-get -y install r-base=3.4.2-1trusty1
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-recommended (= 3.4.2-1trusty1) but 3.4.3-1trusty0 is to be 
installed
          Recommends: r-base-html 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.

The problem is highlighted in this error - r-recommended seems to auto-default 
to 3.4.3. When installing r-base-core=3.4.2-1trusty1 by itself, it installs 
fine. When installing r-recommended=3.4.2-1trusty1 by itself, it sneakily 
installs 3.4.3 without saying anything. When trying to install 
r-base=3.4.2-1trusty1, it catches this cognitive dissonance and falls on its 
face. Some help please?

Sincerely,
Krzysztof



-- 
 The Wellcome Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 



        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to