Unable to locate package at install
From a customer in https://gitlab.zendesk.com/agent/tickets/82627:
I'm having problems installing gitlab-runner on an Ubuntu 16.04.3 LTS machine hosted at DigitalOcean.
First I followed the recommended apt repo instructions (https://docs.gitlab.com/runner/install/linux-repository.html) and got "Unable to locate package gitlab-runner".
$ sudo apt-get install gitlab-runner Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package gitlab-runner
>And then I tried manually installing but got a "403 Forbidden" error.
>```bash
$ sudo wget -O /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64
--2017-09-19 04:35:55-- https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64
Resolving gitlab-runner-downloads.s3.amazonaws.com (gitlab-runner-downloads.s3.amazonaws.com)... 54.231.82.251
Connecting to gitlab-runner-downloads.s3.amazonaws.com (gitlab-runner-downloads.s3.amazonaws.com)|54.231.82.251|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2017-09-19 04:35:56 ERROR 403: Forbidden.
After a bit more digging I've found that none of the /latest/ or /[tag]/ download URLs seem to work, but I've been able to get it working with /master/.
Assuming this is a problem on your end?
I've reproduced the problem in the following system:
vagrant@default-ubuntu-1604:~$ curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | sudo bash
.
.
.
The repository is setup! You can now install packages.
vagrant@default-ubuntu-1604:~$ sudo apt-get install gitlab-runner
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gitlab-runner
vagrant@default-ubuntu-1604:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
vagrant@default-ubuntu-1604:~$ uname -a
Linux default-ubuntu-1604 4.4.0-92-generic #115-Ubuntu SMP Thu Aug 10 09:04:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux