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.2 version 20230219.1) #7210

Closed
3 of 10 tasks
ryankurte opened this issue Feb 28, 2023 · 6 comments
Closed
3 of 10 tasks

apt upstream broken in ubuntu-latest (22.04.2 version 20230219.1) #7210

ryankurte opened this issue Feb 28, 2023 · 6 comments

Comments

@ryankurte
Copy link

ryankurte commented Feb 28, 2023

Description

it looks like something has gone wrong with the upstream packaging / repo signing (not technically the image, but, impacting the image). this appears to be intermittent, and has occured in march in the past #2919, so perhaps one of the repository mirrors is out of sync / hasn't picked up updated keys?

calling apt update or equivalent results in:

Hit:1 http://azure.archive.ubuntu.com/ubuntu jammy InRelease
...
Get:23 http://azure.archive.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [13.3 kB]
Reading package lists...
E: The repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy Release' is no longer signed.

this may be a recurrence of #5656

Platforms affected

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

Runner images affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

20230219.1

Is it regression?

yes (this is an upstream package repo issue, the same image worked yesterday)

Expected behavior

apt update should work

Actual behavior

apt update fails with E: The repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy Release' is no longer signed.

Repro steps

create an action using ubuntu-latest with a step invoking apt

@ddobranic
Copy link
Contributor

@ryankurte thank you, we will take a look.

@terrynguyen255
Copy link

I got this again, today, on Github Action with runs-on: ubuntu-latest @ddobranic
Could you have a look?

@alxmcs
Copy link

alxmcs commented Apr 24, 2024

Faced the same problem as @terrynguyen255 - Github Action and ubuntu:latest.

E: The repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease' is no longer signed.

I believe yesterday everything was fine 🤷‍♂️

@amalsgit
Copy link

Started facing the same issue on CI runs today

E: Failed to fetch https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease' is no longer signed.

@driesvints
Copy link

Hi @mikhailkoliada. Sorry to ping you here directly but could I draw your attention to this issue? This is also happening for us on our build and judging from the activity above this seems like a widespread issue atm.

@driesvints
Copy link

Want to come back here to say that for us this was solved by placing the apt-get update before out setup-php step in our GHA script. 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

7 participants