r-lib / actions

GitHub Actions for the R community
Creative Commons Zero v1.0 Universal
968 stars 216 forks source link

`Failed to install R: Error: The process '/usr/bin/sudo' failed with exit code 100` #684

Closed schloerke closed 1 year ago

schloerke commented 1 year ago

Similar to https://github.com/r-lib/actions/issues/308, I'm running into many Failed to install R: Error: The process '/usr/bin/sudo' failed with exit code 100 errors while testing different packages. (So it's not isolated to a single package.)

Example error: https://github.com/rstudio/shinytest2/actions/runs/3885402120/jobs/6629230561#step:3:496

  Get:156 http://azure.archive.ubuntu.com/ubuntu focal-updates/universe amd64 qpdf amd64 9.1.1-1ubuntu0.1 [475 kB]
  Err:157 http://azure.archive.ubuntu.com/ubuntu focal/main amd64 libauthen-sasl-perl all 2.1600-1
    503  Service Unavailable [IP: 52.252.75.106 80]
  Get:158 http://azure.archive.ubuntu.com/ubuntu focal/main amd64 python3-magic all 2:0.4.15-3 [9376 B]
  Fetched 22.4 MB in 4s (5299 kB/s)
  E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/liba/libauthen-sasl-perl/libauthen-sasl-perl_2.1600-1_all.deb  503  Service Unavailable [IP: 52.252.75.106 80]
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
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

The error (E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?) suggests to run apt-get update. I can see that that is the run in the line before (https://github.com/rstudio/shinytest2/actions/runs/3885402120/jobs/6629230561#step:3:216).


Is there anything I can adjust on my end? Are the archive servers just being flaky?

gaborcsardi commented 1 year ago

Are the archive servers just being flaky?

Yes. You can specify different ubuntu mirrors if you like.

github-actions[bot] commented 1 year ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue