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

Ubuntu 22 Support #105

Closed
Dviros opened this issue Jan 19, 2024 · 2 comments
Closed

Ubuntu 22 Support #105

Dviros opened this issue Jan 19, 2024 · 2 comments

Comments

@Dviros
Copy link
Contributor

Dviros commented Jan 19, 2024

Hey Chad :)
I tried to upgrade to Ubuntu 22 in an Azure deployment and it completely broke down the os lol.
Seems that there are couple of things to address:

  • docker gpg key needs to be saved as gpg instead of asc; that was the old convention afaik and according to their docs, gpg is the right way to go.
  • pip installations are breaking os packages, hence when attempting to install with pip, a new flag should be added "break-system-packages", or else they should be installed via apt.

Thanks again!
D

@Dviros
Copy link
Contributor Author

Dviros commented Jan 22, 2024

When running on 22.04 on a brand new Azure machine, I get the following error:

TASK [Docker apt repo] **************************************************************************************************************************************************************
task path: /opt/cloudblock/playbooks/cloudblock_azure.yml:36
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: W:GPG error: https://download.docker.com/linux/ubuntu jammy InRelease: Unknown error executing apt-key, E:The repository 'https://download.docker.com/linux/ubuntu jammy InRelease' is not signed."}

Seems like these are the correct permissions for the docker.asc key:

  • sudo chmod a+r /etc/apt/keyrings/docker.asc

Spun up a new 22.04 machine based on the latest version mentioned in the Azure deployment file and it works.

@chadgeary
Copy link
Owner

fixed by: #107, thanks for calling it out as well

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

No branches or pull requests

2 participants