Closed efletcherPIFSC closed 1 year ago
Getting errors from "setup-r" github actions script
Failed to get R 4.2.2: Failed to get R 4.2.2: Failed to install R: Error: The process '/usr/bin/sudo' failed with exit code 100
log hints to update the script:
2023-01-03T20:46:57.4632590Z GITHUB_PAT: *** 2023-01-03T20:46:57.4632815Z ##[endgroup] 2023-01-03T20:46:57.5427942Z ##[warning]r-lib/actions/setup-r@v1 is deprecated. Please update your workflow to use the 'v2' version. Also look at the examples at https://github.com/r-lib/actions/tree/v2/examples because '@v2' workflows are much simpler than 'v1' workflows. 2023-01-03T20:46:59.0638546Z [command]/usr/bin/sudo DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:cran/travis 2023-01-03T20:47:03.7363526Z Hit:1 http://azure.archive.ubuntu.com/ubuntu jammy InRelease 2023-01-03T20:47:03.7364436Z Get:2 http://azure.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB] 2023-01-03T20:47:03.7393884Z Get:3 http://azure.archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB] 2023-01-03T20:47:03.7394750Z Get:4 http://azure.archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB] 2023-01-03T20:47:03.7395571Z Get:5 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease [10.5 kB] 2023-01-03T20:47:04.0647294Z Get:6 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [769 kB] 2023-01-03T20:47:04.0817459Z Get:7 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [172 kB] 2023-01-03T20:47:04.0833026Z Get:8 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [11.5 kB] 2023-01-03T20:47:04.0852013Z Get:9 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [498 kB] 2023-01-03T20:47:04.0914495Z Get:10 http://azure.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [76.3 kB] 2023-01-03T20:47:04.0957640Z Get:11 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [767 kB] 2023-01-03T20:47:04.1055813Z Get:12 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [130 kB] 2023-01-03T20:47:04.1073279Z Get:13 http://azure.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [14.2 kB] 2023-01-03T20:47:04.1870290Z Get:14 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [6752 B] 2023-01-03T20:47:04.1891268Z Get:15 http://azure.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [348 B] 2023-01-03T20:47:04.3452707Z Get:16 http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages [532 kB] 2023-01-03T20:47:04.3504413Z Get:17 http://azure.archive.ubuntu.com/ubuntu jammy-security/main Translation-en [114 kB] 2023-01-03T20:47:04.3531175Z Get:18 http://azure.archive.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [7388 B] 2023-01-03T20:47:04.3549339Z Get:19 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [460 kB] 2023-01-03T20:47:04.3608538Z Get:20 http://azure.archive.ubuntu.com/ubuntu jammy-security/restricted Translation-en [70.5 kB] 2023-01-03T20:47:04.3625593Z Get:21 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [622 kB] 2023-01-03T20:47:04.3730223Z Get:22 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe Translation-en [82.9 kB] 2023-01-03T20:47:04.3754208Z Get:23 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [11.0 kB] 2023-01-03T20:47:04.4203058Z Get:24 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages [66.0 kB] 2023-01-03T20:47:04.4230895Z Get:25 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main armhf Packages [11.1 kB] 2023-01-03T20:47:04.4265998Z Get:26 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main arm64 Packages [17.3 kB] 2023-01-03T20:47:04.4494579Z Ign:27 https://ppa.launchpadcontent.net/cran/travis/ubuntu jammy InRelease 2023-01-03T20:47:05.0227572Z Hit:28 https://ppa.launchpadcontent.net/ubuntu-toolchain-r/test/ubuntu jammy InRelease 2023-01-03T20:47:05.5982045Z Err:29 https://ppa.launchpadcontent.net/cran/travis/ubuntu jammy Release 2023-01-03T20:47:05.5982577Z 404 Not Found [IP: **REMOVED** ] 2023-01-03T20:47:11.9413105Z Reading package lists... 2023-01-03T20:47:11.9560021Z E: The repository 'https://ppa.launchpadcontent.net/cran/travis/ubuntu jammy Release' does not have a Release file. 2023-01-03T20:47:11.9564623Z Repository: 'deb https://ppa.launchpadcontent.net/cran/travis/ubuntu/ jammy main' 2023-01-03T20:47:11.9565386Z Description: 2023-01-03T20:47:11.9566681Z Backports of important libraries used by R packages on Travis 2023-01-03T20:47:11.9567267Z More info: https://launchpad.net/~cran/+archive/ubuntu/travis 2023-01-03T20:47:11.9567727Z Adding repository. 2023-01-03T20:47:11.9618805Z Adding deb entry to /etc/apt/sources.list.d/cran-ubuntu-travis-jammy.list 2023-01-03T20:47:11.9619371Z Adding disabled deb-src entry to /etc/apt/sources.list.d/cran-ubuntu-travis-jammy.list 2023-01-03T20:47:11.9620023Z Adding key to /etc/apt/trusted.gpg.d/cran-ubuntu-travis.gpg with fingerprint 4A0C193118803EB4A561E569B3CF35C315B55A9F 2023-01-03T20:47:12.0398502Z [command]/usr/bin/sudo DEBIAN_FRONTEND=noninteractive apt-get update -y -qq 2023-01-03T20:47:14.9129104Z E: The repository 'https://ppa.launchpadcontent.net/cran/travis/ubuntu jammy Release' does not have a Release file. 2023-01-03T20:47:14.9164884Z ##[error]Failed to get R 4.2.2: Failed to get R 4.2.2: Failed to install R: Error: The process '/usr/bin/sudo' failed with exit code 100
Commit be97c51 fixes this issue
Log for documentation 1_pkgdown.txt
Getting errors from "setup-r" github actions script
Failed to get R 4.2.2: Failed to get R 4.2.2: Failed to install R: Error: The process '/usr/bin/sudo' failed with exit code 100
log hints to update the script: