I have the same error trying to install for Ubuntu. The script runs fine until it gets to this part…
Installing /etc/apt/sources.list.d/gitlab_gitlab-ee.list…curl: (22) The requested URL returned error: 404
Unable to download repo config from: https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/config_file.list?os=Ubuntu&dist=impish&source=script
I tried the url to config_file.list and that’s where the 404 is coming from. Can you please let us know how to fix the script, or fix it yourself and update the page here (Download and install GitLab | GitLab)??
My full error is below…
pblanton@Newton:~$ sudo curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
- % Total % Received % Xferd Average Speed Time Time Time Current*
Dload Upload Total Spent Left Speed
100 5933 100 5933 0 0 20388 0 --:–:-- --:–:-- --:–:-- 20388
Detected operating system as Ubuntu/impish.
Checking for curl…
Detected curl…
Checking for gpg…
Detected gpg…
Running apt-get update… done.
Installing apt-transport-https… done.
Installing /etc/apt/sources.list.d/gitlab_gitlab-ee.list…curl: (22) The requested URL returned error: 404
Unable to download repo config from: https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/config_file.list?os=Ubuntu&dist=impish&source=script
This usually happens if your operating system is not supported by
packagecloud.io, or this script’s OS detection failed.
You can override the OS detection by setting os= and dist= prior to running this script.
You can find a list of supported OSes and distributions on our website: packagecloud Documentation - Documentation for the Command-Line Interface (CLI) and automation tools
For example, to force Ubuntu Trusty: os=ubuntu dist=trusty ./script.sh
If you are running a supported OS, please email support@packagecloud.io and report this.
Update: I have figured out that only the LTS versions are supported.