Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The repository ' Release' no longer has a Release file.

See original GitHub issue

How to avoid the error?

Operating System
Virtual Environment
  Environment: ubuntu-18.04
  Version: 20201210.0
  Included Software:
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v2'
Download action repository 'actions/setup-python@master'


sudo apt-get update
  sudo apt-get -qq install gcc-multilib libsdl-dev scons
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
    pythonLocation: /opt/hostedtoolcache/Python/3.8.6/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.6/x64/lib
Hit:1 bionic InRelease
Get:2 bionic-updates InRelease [88.7 kB]
Get:3 bionic-backports InRelease [74.6 kB]
Get:4 bionic InRelease [3965 B]
Get:5 bionic InRelease [4003 B]
Get:6 stable InRelease [2256 B]
Get:7 stable InRelease [1811 B]
Get:8 cloud-sdk InRelease [6739 B]
Ign:11 bionic/mongodb-org/4.4 InRelease
Hit:12 stable-bionic InRelease
Get:13 bionic-security InRelease [88.7 kB]
Get:14 bionic InRelease [15.9 kB]
Get:9 ./ InRelease [2879 B]
Get:15 bionic/mongodb-org/4.4 Release [5391 B]
Get:10 kubernetes-xenial InRelease [9383 B]
Get:16 bionic-pgdg InRelease [104 kB]
Get:17 bionic/mongodb-org/4.4 Release.gpg [801 B]
Get:18  InRelease [1613 B]
Hit:20 bionic InRelease
Get:21 bionic InRelease [20.8 kB]
Get:22 bionic InRelease [15.4 kB]
Ign:23  InRelease
Hit:24 stable InRelease
Get:25 bionic InRelease [20.8 kB]
Hit:26 bionic InRelease
Get:19 bionic InRelease [23.2 kB]
Get:27 bionic-updates/main amd64 Packages [1851 kB]
Get:28 bionic/main amd64 Packages [12.5 kB]
Get:29 bionic-updates/main Translation-en [385 kB]
Get:30 bionic-updates/restricted amd64 Packages [240 kB]
Get:31 bionic-updates/restricted Translation-en [32.3 kB]
Get:32 bionic-updates/universe amd64 Packages [1706 kB]
Get:33 bionic-updates/universe Translation-en [360 kB]
Get:34 bionic-updates/multiverse amd64 Packages [31.5 kB]
Get:35 bionic-updates/multiverse Translation-en [7180 B]
Get:36 bionic/main amd64 Packages [155 kB]
Get:37 stable/jdk1.8 amd64 Packages [5863 B]
Get:38 stable/main amd64 Packages [1063 B]
Get:39 cloud-sdk/main amd64 Packages [153 kB]
Err:40  Release
  502  Bad Gateway [IP: 443]
Get:41 kubernetes-xenial/main amd64 Packages [44.1 kB]
Get:42 bionic/main amd64 Packages [820 B]
Get:43 ./ Packages [612 B]
Get:44 bionic/mongodb-org/4.4/multiverse amd64 Packages [7867 B]
Get:45 bionic-security/main amd64 Packages [1513 kB]
Get:46  Packages [5882 B]
Get:47 bionic-pgdg/main amd64 Packages [232 kB]
Get:48 bionic/mongodb-org/4.4/multiverse arm64 Packages [5846 B]
Get:49 bionic-security/main Translation-en [293 kB]
Get:50 bionic-security/restricted amd64 Packages [219 kB]
Get:51 bionic-security/restricted Translation-en [28.8 kB]
Get:52 bionic-security/universe amd64 Packages [1101 kB]
Get:53 bionic/main amd64 Packages [3048 B]
Get:54 bionic-security/universe Translation-en [246 kB]
Get:55 bionic-security/multiverse amd64 Packages [26.0 kB]
Get:56 bionic-security/multiverse Translation-en [5272 B]
Get:57 bionic/main amd64 Packages [11.9 kB]
Get:58 bionic/main Translation-en [872 B]
Get:59 bionic/main amd64 Packages [81.5 kB]
Get:60 bionic/main amd64 Packages [4249 B]
Get:61 bionic/main Translation-en [31.9 kB]
Reading package lists...
E: The repository '  Release' no longer has a Release file.
Error: Process completed with exit code 100.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:14 (1 by maintainers)

github_iconTop GitHub Comments

cmurad0215commented, Jul 25, 2021

Since we do not actively use any artifacts from the sbt repo, I removed it from our “docker” build agent, you can do this in AWS codebuild as well

  • rm /etc/apt/sources.list.d/sbt.list works like a charm!!
tofescommented, Oct 28, 2021

The rm /etc/apt/sources.list.d/sbt.list worked to get around the errors below:

Err:10 Packages 403 Forbidden Get:13 xenial-backports InRelease [107 kB] Fetched 391 kB in 0s (455 kB/s) Reading package lists… Done W: The repository ‘ 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 403 Forbidden E: Some index files failed to download. They have been ignored, or old ones used instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with sudo apt update command
Done E: The repository ' Release' does not have a Release file. N: Updating from such a repository can't be ...
Read more >
Debian: The repository does not have a Release file
Whenever trying to install some programs from source, or specifically running apt update, I receive this message: E: The repository 'http://ftp.
Read more >
How to Fix 'No Release File' Error in Ubuntu and Debian
The message “Repository does not have a Release file” indicates that apt, the package manager for Ubuntu and Debian, can't find a release...
Read more >
The repository ' InRelease' is not signed in aws ... I git push to a branch in codecommit and I started receiving ...
Read more >
What to do When You See "Repository does not have a ...
Understanding “Repository does not have a release file” error. Repository Does Not Have A Release File. Let's go step by step here. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found