Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt upstream broken in ubuntu-latest (22.04.4 version 20240422.1.0) #9768

Closed
2 of 13 tasks
driesvints opened this issue Apr 30, 2024 · 2 comments
Closed
2 of 13 tasks

Comments

@driesvints
Copy link

Description

Basically exactly the same as #7210 which is happening for us on our private repo. Running sudo apt-get update will trigger it. I tried adding sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list to prevent it but it didn't help unfortunately.

      - name: Install ghostscript
        run: |
          sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
          sudo apt-get update
          sudo apt install ghostscript
Screenshot 2024-04-30 at 15 55 10

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

I don't understand where to find this sorry. Where can I find "Set up job"?

Is it regression?

Yes, see link above to old closed issue

Expected behavior

I'd expect to be able to run an apt-get update on GitHub Actions.

Actual behavior

It's failing and giving an invalid signature error.

Repro steps

Run sudo apt-get update in GitHub Actions on ubuntu-latest.

@mikhailkoliada
Copy link
Contributor

Hey! your workflow indicates problems with the ondrej/php repo which is not a part of the ubuntu-latest runner, please report the problem to the repository owner

@driesvints
Copy link
Author

Thanks @mikhailkoliada. Eventually we managed to solve this one by placing the apt-get update before the setup-php action. I have no idea why that solved things but glad it did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants