actions / runner-images

GitHub Actions runner images
MIT License
9.98k stars 3.02k forks source link

libpulse broken #7373

Closed LordOfDragons closed 1 year ago

LordOfDragons commented 1 year ago

Description

The image "ubuntu-latest" seems to be unable since some days to install libpulse-dev for nightly builds with this error:

E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/pulseaudio/libpulse0_15.99.1%2bdfsg1-1ubuntu2_amd64.deb  404  Not Found [IP: 40.119.46.219 80]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/pulseaudio/libpulse-mainloop-glib0_15.99.1%2bdfsg1-1ubuntu2_amd64.deb  404  Not Found [IP: 40.119.46.219 80]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/pulseaudio/libpulse-dev_15.99.1%2bdfsg1-1ubuntu2_amd64.deb  404  Not Found [IP: 40.119.46.219 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.

Platforms affected

Runner images affected

Image version and build link

Image Version: ubuntu-22.04 , 20230326.2 Failed build: https://github.com/LordOfDragons/dragengine/actions/runs/4573411942/jobs/8073821518

Is it regression?

https://github.com/LordOfDragons/dragengine/actions/runs/4549821319/jobs/8022263109

Expected behavior

sudo apt -y install libpulse-dev successfully installs package

Actual behavior

sudo apt -y install libpulse-dev fails to install package and fails build.

Repro steps

  1. Use workflow with image ubuntu-latest
  2. Add run: sudo apt -y install libpulse-dev step
  3. Run workflow
sergei-pyshnoi commented 1 year ago

Hello @LordOfDragons . Thanks for your report. We have succeed nightly build for ubuntu images so this looks like a temporary error. Try to launch build later, if the problem continues to occur, we'll take a look.

LordOfDragons commented 1 year ago

The problem still persists: https://github.com/LordOfDragons/dragengine/actions/runs/4580988977/jobs/8090190152

pwais commented 1 year ago

found this thru search engine

oddly, an apt-get update before whatever was trying to install libpulse-dev fixed for me

LordOfDragons commented 1 year ago

Looks to be then a problem with 22.04 only since the linux build uses "ubuntu-20.04" and it does not fail. I guess the ubuntu 22.04 is incorrectly build? It should not be necessary to run apt-get update manually.

krupkat commented 1 year ago

I'm encountering the same issue, only with the 22.04 runner: https://github.com/krupkat/xpano/actions/runs/4596260501/jobs/8117496850

vpolikarpov-akvelon commented 1 year ago

@LordOfDragons @krupkat please add apt-get update to you workflow. The package lists in repos are being updated quite often so it's normal for local cache to fall back a little.

Also see documentation here: https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners#installing-software-on-ubuntu-runners

I'm closing the issue for now. If you still have questions feel free to ask.