Removing the -qq argument to apt-get install gives us
a useful error message on what packages were being installed.
r-base-core was getting a 4.1 version installed. Using the
apt list -a r-base-core command gave me versions that
were available, and I could pin it to the earlier version.
That gave me a new set of errors:
The following packages have unmet dependencies:
r-recommended : Depends: r-cran-mgcv (>= 1.1.5) 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-matrix but it is not going to be installed
I just specified all the packages, which gave me:
The following packages have unmet dependencies:
r-cran-matrix : Depends: r-base-core (>= 4.1.0-1.2004.0) but 4.0.5-1.2004.0 is to be installed
E: Unable to correct problems, you have held broken packages.
I specified that version, and that has been
good enough now - R gives me version 4.0.5.
Removing the -qq argument to
apt-get install
gives us a useful error message on what packages were being installed. r-base-core was getting a 4.1 version installed. Using theapt list -a r-base-core
command gave me versions that were available, and I could pin it to the earlier version.That gave me a new set of errors:
I just specified all the packages, which gave me:
I specified that version, and that has been good enough now - R gives me version 4.0.5.
Ref https://github.com/utoronto-2i2c/jupyterhub-deploy/issues/110