Unable to update - Repository does not have a Release file

Hi All,

I am currently trying to update my Gitlab server but I’m running into the following issue:

> sudo apt-get update && sudo apt-get upgrade
Hit:1 http://gb.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://gb.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Ign:5 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial InRelease
Ign:6 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial Release
Ign:7 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Sources
Ign:8 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main amd64 Packages
Ign:9 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main i386 Packages
Ign:10 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main all Packages
Ign:11 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en_GB
Ign:12 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en
Ign:7 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Sources
Ign:8 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main amd64 Packages
Ign:9 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main i386 Packages
Ign:10 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main all Packages
Ign:11 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en_GB
Ign:12 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en
Ign:7 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Sources
Ign:8 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main amd64 Packages
Ign:9 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main i386 Packages
Ign:10 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main all Packages
Ign:11 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en_GB
Ign:12 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en
Ign:7 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Sources
Ign:8 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main amd64 Packages
Ign:9 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main i386 Packages
Ign:10 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main all Packages
Ign:11 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en_GB
Ign:12 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en
Ign:7 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Sources
Ign:8 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main amd64 Packages
Ign:9 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main i386 Packages
Ign:10 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main all Packages
Ign:11 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en_GB
Ign:12 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en
Err:7 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Sources
  404  Not Found
Ign:8 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main amd64 Packages
Ign:9 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main i386 Packages
Ign:10 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main all Packages
Ign:11 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en_GB
Ign:12 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Translation-en
Fetched 306 kB in 10s (28.0 kB/s)
Reading package lists... Done
W: The repository 'https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/dists/xenial/main/source/Sources  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

OS Version:
> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION=“Ubuntu 16.04.1 LTS”

Gitlab apt sources:
> cat /etc/apt/sources.list.d/gitlab_gitlab-ce.list
# 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/ xenial main
deb-src https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ xenial main

Is this an issue with the repository or is something broken on my server?

I have this same issue with gitlab-ee on two Ubuntu servers, 16.04.1 and 14.04.5.

Seems fine now, I’m guessing that the GitLab folks were doing some updates of their own.

Yes. There was a period of downtime. Sorry about that!

Hello,

I am getting the same issue with same OS as the initial post.
Only difference that I try to Install. (apt-get install gitlab-ce)

Err:7 https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial/main Sources 404 Not Found

W: The repository ‘https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu xenial Release’ does not have a Release file.
N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/dists/xenial/main/source/Sources 404 Not Found

We are trying to set up a Gitlab CE for evaluation.
Should we contact the sales with whom we discuss the EE purchase? …

Thank you,
Mircea

Hi. Is this issue still up? I have the same problem as the reporter.

Having the same issue while trying to update. Request inputs to resolve this issue

The issue is happening again:


E: Failed to fetch http://security.debian.org/dists/stretch/updates/main/binary-amd64/Packages Cannot initiate the connection to security.debian.org:80 (151.101.192.204). - connect (101: Network is unreachable) [IP: 151.101.192.204 80]
E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages Cannot initiate the connection to deb.debian.org:80 (151.101.186.133). - connect (101: Network is unreachable) [IP: 151.101.186.133 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

Now what?