Gitlab-ce ubuntu packagecloud repositories broken after 18.6.2 release
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
Running apt-update against the repos configured via https://packages.gitlab.com/gitlab/gitlab-ce/install has been broken since the 18.6.2 release due to improper package URLs
Steps to reproduce
Pull a Packages file from packages.gitlab.com e.g. https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/dists/jammy/main/binary-amd64/Packages. Grepping for 18.6.2:
Package: gitlab-ce
Version: 18.6.2-ce.0
Architecture: amd64
Section: misc
Priority: extra
Installed-Size: 3974567
Maintainer: GitLab, Inc. <support@gitlab.com>
Description: GitLab Community Edition (including NGINX, Postgres, Redis)
Homepage: https://about.gitlab.com/
Conflicts: gitlab-ee, gitlab-fips, gitlab
Depends: openssh-server, perl
Replaces: gitlab-ee, gitlab-fips, gitlab
Vendor: GitLab, Inc. <support@gitlab.com>
License: MIT
SHA1: d4b95522334cdb56bbd1bd1dafa6112d1310ff18
SHA256: b0144113d1826c71c9b687996f3fc70579deec14eafb79311590b132bb94a2e2
Size: 1473688978
Filename: pool/main/g/gitlab-ce/gitlab-ce_18.6.2-ce.0_amd64.deb
Observe that the Filename points at pool/main/…. I have snapshots of this repo and prior to the 18.6.2 release on 12/10, those pointed at pool/jammy/main/….
As a result, all ubuntu releases are trying to use the same gitlab-ce package file, which does not work as Ubuntu is expecting different files/hashes in the Packages file.