8000 [Ubuntu 20.04] Apt update, focal InRelease' changed its 'Origin' value · Issue #5237 · actions/runner-images · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Ubuntu 20.04] Apt update, focal InRelease' changed its 'Origin' value #5237

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

Closed
1 of 7 tasks
mimartin12 opened this issue Mar 15, 2022 · 7 comments
Closed
1 of 7 tasks

Comments

@mimartin12
Copy link
mimartin12 commented Mar 15, 2022

Description

Ubuntu runners across projects are experiencing issues when running apt update.
Currently it's throwing this error.

W: Conflicting distribution: [packages.microsoft.com/ubuntu/20.04/prod](https://packages.microsoft.com/ubuntu/20.04/prod) focal InRelease (expected focal but got testing)
E: Repository '[packages.microsoft.com/ubuntu/20.04/prod](https://packages.microsoft.com/ubuntu/20.04/prod) focal InRelease' changed its 'Origin' value from 'microsoft-ubuntu-focal-prod focal' to 'microsoft-ubuntu-focal-prod testing'
E: Repository '[packages.microsoft.com/ubuntu/20.04/prod](https://packages.microsoft.com/ubuntu/20.04/prod) focal InRelease' changed its 'Label' value from 'microsoft-ubuntu-focal-prod focal' to 'microsoft-ubuntu-focal-prod testing'
E: Repository '[packages.microsoft.com/ubuntu/20.04/prod](https://packages.microsoft.com/ubuntu/20.04/prod) focal InRelease' changed its 'Codename' value from 'focal' to 'testing'
Error: Process completed with exit code 100.

Virtual environments affected

  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.15
  • macOS 11
  • Windows Server 2016
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Version: 20220227.1
Build Link: https://github.com/bitwarden/browser/runs/5559962459?check_suite_focus=true#step:3:42

Is it regression?

No

Expected behavior

Jobs should complete as they have been.
https://github.com/bitwarden/browser/runs/5559561569?check_suite_focus=true#step:3:1

Actual behavior

Jobs fail during apt update tasks.

Repro steps

Run a workflow with this job

jobs:
  cloc:
    name: CLOC
    runs-on: ubuntu-20.04
    steps:
      - name: Checkout repo
        uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579

      - name: Set up cloc
        run: |
          sudo apt update
          sudo apt -y install cloc
      - name: Print lines of code
        run: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
@mbiokyle29
Copy link

Also running into this

zmughal added a commit to PerlAlien/Alien-SWIG4 that referenced this issue Mar 15, 2022
There is a repository installed in the ubuntu-latest environment that is
causing `apt-get update` to fail.

See <actions/runner-images#5237>.
@ivg
Copy link
ivg commented Mar 15, 2022

possible duplicate: #5236

@zmughal
Copy link
zmughal commented Mar 15, 2022

@gamegine
Copy link

I have the same issue on my run
https://github.com/gamegine/pv-utility/runs/5559983985

 Current runner version: '2.288.1'
Operating System
  Ubuntu
  20.04.4
  LTS
Virtual Environment
  Environment: ubuntu-20.04
  Version: 20220227.1
  Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20220227.1/images/linux/Ubuntu2004-Readme.md
  Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20220227.1

if it can help the update works on version 18.04
https://github.com/gamegine/pv-utility/runs/5560467171

Current runner version: '2.288.1'
Operating System
  Ubuntu
  18.04.6
  LTS
Virtual Environment
  Environment: ubuntu-18.04
  Version: 20220306.1
  Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20220306.1/images/linux/Ubuntu1804-Readme.md
  Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F20220306.1

@gamegine gamegine mentioned this issue Mar 15, 2022
7 tasks
@mimartin12
Copy link
Author

I have the same issue on my run gamegine/pv-utility/runs/5559983985

 Current runner version: '2.288.1'
Operating System
  Ubuntu
  20.04.4
  LTS
Virtual Environment
  Environment: ubuntu-20.04
  Version: 20220227.1
  Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20220227.1/images/linux/Ubuntu2004-Readme.md
  Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20220227.1

if it can help the update works on version 18.04 gamegine/pv-utility/runs/5560467171

Current runner version: '2.288.1'
Operating System
  Ubuntu
  18.04.6
  LTS
Virtual Environment
  Environment: ubuntu-18.04
  Version: 20220306.1
  Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20220306.1/images/linux/Ubuntu1804-Readme.md
  Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu18%2F20220306.1

I can confirm, I stepped down to ubuntu-18.04 and apt is working. It seems it's specifically an issue with ubuntu-20.04.

@mimartin12
Copy link
Author

It's looking like this issue has been resolved for my team and I. Runners are now working for us on ubuntu-20.04.

@alepauly
Copy link
Contributor

The team that maintains the repositories at packages.microsoft.com confirmed the issue was resolved: microsoft/linux-package-repositories#3

nmoroze added a commit to siliconcompiler/siliconcompiler that referenced this issue Dec 1, 2022
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
0