Bash script install method fails: Directed to bad apt repository

https://packages.gitlab.com/gitlab/gitlab-ce/install 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

https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/config_file.list?os=Ubuntu&dist=trusty&source=script

Which produces this sources.list.d entry

# this file was generated by packages.gitlab.com for
# the repository at https://packages.gitlab.com/gitlab/gitlab-ce

deb https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ trusty main
deb-src https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ 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
gitlab-ce:
  Installed: 7.14.2-ce.0
  Candidate: 8.1.3-ce.0
  Version table:

8.1.3-ce.0 0
500 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ trusty/main amd64 Packages

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

Thanks.

So,

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.