Bash script install method fails: Directed to bad apt repository shows the quick-n-dirty way to install gitlab-ce via a bash script.

The script writes a repository to /etc/apt/sources.list.d/gitlab_gitlab-ce.list which results in a

The page you were looking for doesn’t exist.

You may have mistyped the address or the page may have moved.

The bash script uses curl to get the contents of this url

Which produces this sources.list.d entry

# this file was generated by for
# the repository at

deb trusty main
deb-src trusty main

Which results in

And apt-cache policy shows there’s and upgrade but I get Error 500 on the package location

$ apt-cache policy gitlab-ce
  Installed: 7.14.2-ce.0
  Candidate: 8.1.3-ce.0
  Version table:

8.1.3-ce.0 0
500 trusty/main amd64 Packages

Could the proper sources.list.d entry be posted so I can manually update my copy?



apt-get update
apt-get upgrade

result to this error?

No error but no upgrade either.

This has since resolved itself. So it looks like the problem was a transient issue. But multiple locations and multiple routes to the repository all resulted in the same problem. So it looks like the issue was on the remote side and has been fixed.