When I go to https://packages.gitlab.com/runner/gitlab-ci-multi-runner/ubuntu/ I get a message that says “The page you were looking for doesn’t exist.”
I’m wondering if this could be causing trouble for my Gitlab installation. I’m trying to follow the instructions from Install GitLab Runner using the official GitLab repositories | GitLab on Ubuntu 20.04, but no matter what I do I get the gitlab-runner
package from the main Ubuntu repository.
$ apt-cache madison gitlab-runner
gitlab-runner | 11.2.0+dfsg-2ubuntu1 | http://us-west1.gce.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
Clearly shows the main Ubuntu package as the only available version.
But when I update, I don’t see any errors:
$ sudo apt-get update
Hit:1 http://us-west1.gce.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us-west1.gce.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://us-west1.gce.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Hit:4 https://download.docker.com/linux/ubuntu focal InRelease
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:6 https://packages.gitlab.com/runner/gitlab-ci-multi-runner/ubuntu focal InRelease
Fetched 214 kB in 2s (100 kB/s)
Reading package lists... Done
My Apt sources seems to be set up as expected:
$ cat /etc/apt/sources.list.d/runner_gitlab-ci-multi-runner.list
# this file was generated by packages.gitlab.com for
# the repository at https://packages.gitlab.com/runner/gitlab-ci-multi-runner
deb https://packages.gitlab.com/runner/gitlab-ci-multi-runner/ubuntu/ focal main
deb-src https://packages.gitlab.com/runner/gitlab-ci-multi-runner/ubuntu/ focal main
And I even pinned the repository, though it doesn’t make any difference:
$ cat /etc/apt/preferences.d/pin-gitlab-runner.pref
Explanation: Prefer GitLab provided packages over the Debian native ones
Package: gitlab-runner
Pin: origin packages.gitlab.com
Pin-Priority: 1001
And yet, grepping the apt-cache dump shows no packages from this repository:
$ apt-cache dump | grep packages.gitlab
I also noticed that while I do have a /var/lib/apt/lists/packages.gitlab.com_runner_gitlab-ci-multi-runner_ubuntu_dists_focal_InRelease
, I don’t see anything that matches the glob /var/lib/apt/lists/packages.gitlab*Packages
.
I’m running into the issue with 11.2.0 reported at image gitlab-runner-helper:11.2.0 (#4773) · Issues · GitLab.org / gitlab-runner · GitLab, so this is preventing me from getting my runner up and going.
Thanks in advance for any help!