-
Notifications
You must be signed in to change notification settings - Fork 341
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
extrepo: Why not for Ubuntu, only for Debian? #2468
Labels
Milestone
Comments
I was not aware that |
drybjed
added
bug
something is not working as expected
priority: high
tag: APT packages
labels
Jan 23, 2024
It's worth mentioning, although obvious, that Debian APT package origin will not be the same as Ubuntu codename. For example, for GitLab installed through lsb_release -cs
#jammy
apt-cache policy |grep gitlab-ce
#500 https://packages.gitlab.com/gitlab/gitlab-ce/debian bookworm/main amd64 Packages
# release v=1,o=packages.gitlab.com/gitlab/gitlab-ce,a=bookworm,n=bookworm,l=gitlab-ce,c=main,b=amd64
# ^^^^^^^^ ^^^^^^^^ It must be anticipated, by example if using Unattended-Upgrades: unattended_upgrades__origins:
- 'o=packages.gitlab.com/gitlab/{{gitlab_ce_ee}},n=${distro_codename},l={{gitlab_ce_ee}}'
+ - 'o=packages.gitlab.com/gitlab/{{gitlab_ce_ee}},n=bookworm,l={{gitlab_ce_ee}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to run the GitLab role on an Ubuntu, but
debops.extrepo
was skipping due toansible_distribution != "Debian"
(defaults/main.yml#L27)Why limiting to Debian only?
I manually installed
extrepo
on the machine, enabledgitlab_ce
, then the role could continue.sudo apt install extrepo sudo extrepo enable gitlab_ce sudo apt update
So it looks like (from my view of someone who has just discovered Extrepo!) it could be enable for Ubuntu machines too, no?
The text was updated successfully, but these errors were encountered: