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

[BUG] pkgrepo uri wrong on ubuntu20 #483

Open
noelmcloughlin opened this issue Aug 16, 2020 · 3 comments
Open

[BUG] pkgrepo uri wrong on ubuntu20 #483

noelmcloughlin opened this issue Aug 16, 2020 · 3 comments
Labels

Comments

@noelmcloughlin
Copy link
Member

Your setup

Formula commit hash / release tag

Versions reports (master & minion)

Pillar / config used


Bug details

Describe the bug

Failed state on Ubuntu 20.04

          ID: salt-pkgrepo-install-saltstack-debian
    Function: pkgrepo.managed
        Name: deb http://repo.saltstack.com/apt/ubuntu/20.04/amd64/latest focal main
      Result: False
     Comment: Failed to configure repo 'deb http://repo.saltstack.com/apt/ubuntu/20.04/amd64/latest focal main': Error: HTTP 404: Not Found reading https://repo.saltstack.com/apt/ubuntu/20.04/amd64/latest/SALTSTACK-GPG-KEY.pub
     Started: 22:57:47.925263
    Duration: 687.385 ms
     Changes:

Correct repo uri is (according to https://repo.saltstack.com/#ubuntu):

https://repo.saltstack.com/py3/ubuntu/20.04/amd64/latest/

Steps to reproduce the bug

Expected behaviour

Attempts to fix the bug

Additional context

@noelmcloughlin
Copy link
Member Author

noelmcloughlin commented Aug 16, 2020

workaround: wget -O - https://repo.saltstack.com/py3/ubuntu/20.04/amd64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -

@arthurzenika
Copy link
Contributor

Same bug for debian.

Workaround : add the following to your pillars :

salt:
  py_vers: py3

Not sure how it would work for py2 deploys

@major0
Copy link
Contributor

major0 commented Aug 28, 2022

py2 deploys shouldn't be supported anymore.

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

No branches or pull requests

3 participants