Kirill Müller
2013-Nov-07 13:40 UTC
[R-sig-Debian] Can't install R 2.15 and r-recommended on Ubuntu
Hi When attempting to install R in version 2.15 (for testing purposes) on a clean Ubuntu 12.04 machine from the CRAN Ubuntu repository, I can't seem to install r-recommended: + sudo apt-get install --no-install-recommends r-base-dev=2.15.3-1precise0precise1 r-base-core=2.15.3-1precise0precise1 r-recommended=2.15.3-1precise0precise1 qpdf 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-recommended : Depends: r-cran-boot (>= 1.2.19) but it is not going to be installed Depends: r-cran-cluster (>= 1.9.6-2) but it is not going to be installed Depends: r-cran-foreign (>= 0.7-2) but it is not going to be installed Depends: r-cran-kernsmooth (>= 2.2.14) but it is not going to be installed Depends: r-cran-lattice (>= 0.10.11) but it is not going to be installed Depends: r-cran-mgcv (>= 1.1.5) but it is not going to be installed Depends: r-cran-nlme (>= 3.1.52) but it is not going to be installed Depends: r-cran-rpart (>= 3.1.20) but it is not going to be installed Depends: r-cran-survival (>= 2.13.2-1) but it is not going to be installed Depends: r-cran-mass but it is not going to be installed Depends: r-cran-class but it is not going to be installed Depends: r-cran-nnet but it is not going to be installed Depends: r-cran-codetools but it is not going to be installed Depends: r-cran-matrix but it is not going to be installed E: Unable to correct problems, you have held broken packages. Is there a way to automatically infer the versions for the R packages r-recommends depends on, and install these? Thanks! Cheers Kirill
Dirk Eddelbuettel
2013-Nov-07 13:52 UTC
[R-sig-Debian] Can't install R 2.15 and r-recommended on Ubuntu
On 7 November 2013 at 14:40, Kirill M?ller wrote: | When attempting to install R in version 2.15 (for testing purposes) on a | clean Ubuntu 12.04 machine from the CRAN Ubuntu repository, I can't seem | to install r-recommended: | | + sudo apt-get install --no-install-recommends | r-base-dev=2.15.3-1precise0precise1 r-base-core=2.15.3-1precise0precise1 | r-recommended=2.15.3-1precise0precise1 qpdf What happens when you do no hard-code version numbers? What does, say, 'apt-cache policy r-recommended' say? Dirk -- Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com