We have a test system for boostrapping a production machine running R code. It spins up a new machine and tries to install this version whenever there is a new commit to our infrastructure code repo. This version has been in place since Mar 2018 but a few weeks ago this test fails because it can no longer install this package even though we have not made any changes to this installation process. The failure comes with this message ``` WARNING: The following packages cannot be authenticated! r-base-core r-cran-boot r-cran-cluster r-cran-foreign r-cran-mass r-cran-kernsmooth r-cran-lattice r-cran-nlme r-cran-matrix r-cran-mgcv r-cran-rpart r-cran-survival r-cran-class r-cran-nnet r-cran-spatial r-cran-codetools r-recommended r-base r-base-dev r-base-html r-doc-html STDERR: E: There were unauthenticated packages and -y was used without --allow-unauthenticated``` Any idea on whether there is a way to install `r-base` without using `--allow-unauthenticated` I can provide more information if necessary. Thank you [[alternative HTML version deleted]]
Jeff Newmiller
2019-Aug-07 01:13 UTC
[R] broken installation on ubuntu 16.04 for 3.4.4-1xenial0
As the Posting Guide says... this is a plain text mailing list. You will help yourself if you pay attention when posting. The standard instructions for Ubuntu [1] describe how to set up authentication. [1] https://cran.r-project.org/bin/linux/ubuntu/README.html On August 6, 2019 10:52:05 AM PDT, KZ Win <kz at breadfinance.com> wrote:>We have a test system for boostrapping a production machine running R >code. It spins up a new machine and tries to install this version >whenever >there is a new commit to our infrastructure code repo. This version >has >been in place since Mar 2018 but a few weeks ago this test fails >because it >can no longer install this package even though we have not made any >changes >to this installation process. > >The failure comes with this message > >``` >WARNING: The following packages cannot be authenticated! >r-base-core r-cran-boot r-cran-cluster r-cran-foreign r-cran-mass >r-cran-kernsmooth r-cran-lattice r-cran-nlme r-cran-matrix r-cran-mgcv >r-cran-rpart r-cran-survival r-cran-class r-cran-nnet r-cran-spatial >r-cran-codetools r-recommended r-base r-base-dev r-base-html r-doc-html >STDERR: E: There were unauthenticated packages and -y was used without >--allow-unauthenticated``` > >Any idea on whether there is a way to install `r-base` without using >`--allow-unauthenticated` > >I can provide more information if necessary. > >Thank you > > [[alternative HTML version deleted]] > >______________________________________________ >R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide >http://www.R-project.org/posting-guide.html >and provide commented, minimal, self-contained, reproducible code.-- Sent from my phone. Please excuse my brevity.
kz m@iii@g oii bre@dii@@@ce@com
2019-Aug-08 19:52 UTC
[R] broken installation on ubuntu 16.04 for 3.4.4-1xenial0
Sorry for unintentionally sending a rich text email. I have confirmed that installation follows ubuntu guide lines in your link and I reproduce the output of git blame of the installation recipe showing that it has always been using the right key. The change before we get these errors are on March 2019. The unauthenticated errors start late july or so. This recipe runs at least once every week for a year or more and only a few weeks ago the installation fails. 71637a7e7 (MK 2018-01-08 16:03:26 -0500 40) apt_repository 'rproject' do 71637a7e7 (MK 2018-01-08 16:03:26 -0500 41) uri 'http://cran.r-project.org/bin/linux/ubuntu' 5b7928b56 (MK 2018-01-05 13:16:07 -0500 42) keyserver 'keyserver.ubuntu.com' 5b7928b56 (MK 2018-01-05 13:16:07 -0500 43) key 'E084DAB9' 71637a7e7 (MK 2018-01-08 16:03:26 -0500 44) components [''] 71637a7e7 (MK 2018-01-08 16:03:26 -0500 45) distribution node['lsb']['codename'] + '/' 71637a7e7 (MK 2018-01-08 16:03:26 -0500 46) action :add 5b7928b56 (MK 2018-01-05 13:16:07 -0500 47) end 5b7928b56 (MK 2018-01-05 13:16:07 -0500 48) 5b7928b56 (MK 2018-01-05 13:16:07 -0500 49) package 'r-base' do 5a1e57649 (k z 2018-03-19 19:21:02 -0400 50) version '3.4.4-1xenial0' 86242e5cf (k z 2019-08-07 08:27:42 -0400 51) options '--allow-unauthenticated' 5b7928b56 (MK 2018-01-05 13:16:07 -0500 52) end> On Aug 6, 2019, at 9:13 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote: > > As the Posting Guide says... this is a plain text mailing list. You will help yourself if you pay attention when posting. > > The standard instructions for Ubuntu [1] describe how to set up authentication. > > [1] https://cran.r-project.org/bin/linux/ubuntu/README.html > > On August 6, 2019 10:52:05 AM PDT, KZ Win <kz at breadfinance.com> wrote: >> We have a test system for boostrapping a production machine running R >> code. It spins up a new machine and tries to install this version >> whenever >> there is a new commit to our infrastructure code repo. This version >> has >> been in place since Mar 2018 but a few weeks ago this test fails >> because it >> can no longer install this package even though we have not made any >> changes >> to this installation process. >> >> The failure comes with this message >> >> ``` >> WARNING: The following packages cannot be authenticated! >> r-base-core r-cran-boot r-cran-cluster r-cran-foreign r-cran-mass >> r-cran-kernsmooth r-cran-lattice r-cran-nlme r-cran-matrix r-cran-mgcv >> r-cran-rpart r-cran-survival r-cran-class r-cran-nnet r-cran-spatial >> r-cran-codetools r-recommended r-base r-base-dev r-base-html r-doc-html >> STDERR: E: There were unauthenticated packages and -y was used without >> --allow-unauthenticated``` >> >> Any idea on whether there is a way to install `r-base` without using >> `--allow-unauthenticated` >> >> I can provide more information if necessary. >> >> Thank you >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > -- > Sent from my phone. Please excuse my brevity.