forked from ISTI-ansible-roles/ansible-roles
d4science-ghn-cluster/roles/dataminer_app/templates/wps_config.xml.j2: Update the configuration.
library/roles/R/files/r_packages_cleanup.sh: Remove /usr/local/lib/R too. d4science-ghn-cluster/roles/dataminer_app/tasks/dataminer-app.yml: remove an unused jar that can cause problems.
This commit is contained in:
parent
4662445ea7
commit
6ff48d01a7
|
@ -4,10 +4,11 @@
|
||||||
for package in r-base r-base-core r-base-dev r-base-html r-cran-boot r-cran-class r-cran-cluster r-cran-codetools r-cran-foreign r-cran-kernsmooth r-cran-lattice r-cran-mass r-cran-matrix r-cran-mgcv r-cran-nlme r-cran-nnet r-cran-rpart r-cran-spatial r-cran-survival r-doc-html r-recommended ; do apt-mark unhold $package; done
|
for package in r-base r-base-core r-base-dev r-base-html r-cran-boot r-cran-class r-cran-cluster r-cran-codetools r-cran-foreign r-cran-kernsmooth r-cran-lattice r-cran-mass r-cran-matrix r-cran-mgcv r-cran-nlme r-cran-nnet r-cran-rpart r-cran-spatial r-cran-survival r-doc-html r-recommended ; do apt-mark unhold $package; done
|
||||||
|
|
||||||
# Remove the old r packages
|
# Remove the old r packages
|
||||||
apt-get purge r-base-* r-cran-* -y
|
apt-get purge r-base-* r-cran-* -y --force-yes
|
||||||
|
apt-get autoremove -y
|
||||||
|
|
||||||
# Remove the CRAN packages
|
# Remove the CRAN packages
|
||||||
rm -fr /usr/lib/R /usr/local/lib/R
|
rm -fr /usr/lib/R/site-library /usr/local/lib/R/site-library
|
||||||
rm -fr /var/cache/R/*
|
rm -fr /var/cache/R/*
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue