question-mark
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 'https://dl.bintray.com/sbt/debian Release' no longer has a Release file.

See original GitHub issue

How to avoid the error?

Operating System
  Ubuntu
  18.04.5
  LTS
Virtual Environment
  Environment: ubuntu-18.04
  Version: 20201210.0
  Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20201210.0/images/linux/Ubuntu1804-README.md
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v2'
Download action repository 'actions/setup-python@master'

Log:

sudo apt-get update
  sudo apt-get -qq install gcc-multilib libsdl-dev scons
  shell: /bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.8.6/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.6/x64/lib
Hit:1 http://azure.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://azure.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://azure.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:4 https://packages.microsoft.com/repos/azure-cli bionic InRelease [3965 B]
Get:5 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease [4003 B]
Get:6 https://storage.googleapis.com/bazel-apt stable InRelease [2256 B]
Get:7 http://dl.google.com/linux/chrome/deb stable InRelease [1811 B]
Get:8 https://packages.cloud.google.com/apt cloud-sdk InRelease [6739 B]
Ign:11 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 InRelease
Hit:12 https://download.mono-project.com/repo/ubuntu stable-bionic InRelease
Get:13 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:14 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic InRelease [15.9 kB]
Get:9 https://cli-assets.heroku.com/apt ./ InRelease [2879 B]
Get:15 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 Release [5391 B]
Get:10 https://packages.cloud.google.com/apt kubernetes-xenial InRelease [9383 B]
Get:16 https://apt.postgresql.org/pub/repos/apt bionic-pgdg InRelease [104 kB]
Get:17 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 Release.gpg [801 B]
Get:18 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04  InRelease [1613 B]
Hit:20 http://ppa.launchpad.net/apt-fast/stable/ubuntu bionic InRelease
Get:21 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic InRelease [20.8 kB]
Get:22 http://ppa.launchpad.net/hvr/ghc/ubuntu bionic InRelease [15.4 kB]
Ign:23 https://dl.bintray.com/sbt/debian  InRelease
Hit:24 https://dl.yarnpkg.com/debian stable InRelease
Get:25 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease [20.8 kB]
Hit:26 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic InRelease
Get:19 https://packagecloud.io/github/git-lfs/ubuntu bionic InRelease [23.2 kB]
Get:27 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1851 kB]
Get:28 https://packages.microsoft.com/repos/azure-cli bionic/main amd64 Packages [12.5 kB]
Get:29 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [385 kB]
Get:30 http://azure.archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [240 kB]
Get:31 http://azure.archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [32.3 kB]
Get:32 http://azure.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1706 kB]
Get:33 http://azure.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [360 kB]
Get:34 http://azure.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [31.5 kB]
Get:35 http://azure.archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [7180 B]
Get:36 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 Packages [155 kB]
Get:37 https://storage.googleapis.com/bazel-apt stable/jdk1.8 amd64 Packages [5863 B]
Get:38 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1063 B]
Get:39 https://packages.cloud.google.com/apt cloud-sdk/main amd64 Packages [153 kB]
Err:40 https://dl.bintray.com/sbt/debian  Release
  502  Bad Gateway [IP: 52.88.1.177 443]
Get:41 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 Packages [44.1 kB]
Get:42 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main amd64 Packages [820 B]
Get:43 https://cli-assets.heroku.com/apt ./ Packages [612 B]
Get:44 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4/multiverse amd64 Packages [7867 B]
Get:45 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [1513 kB]
Get:46 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_18.04  Packages [5882 B]
Get:47 https://apt.postgresql.org/pub/repos/apt bionic-pgdg/main amd64 Packages [232 kB]
Get:48 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4/multiverse arm64 Packages [5846 B]
Get:49 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [293 kB]
Get:50 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [219 kB]
Get:51 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [28.8 kB]
Get:52 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1101 kB]
Get:53 http://ppa.launchpad.net/git-core/ppa/ubuntu bionic/main amd64 Packages [3048 B]
Get:54 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [246 kB]
Get:55 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [26.0 kB]
Get:56 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [5272 B]
Get:57 http://ppa.launchpad.net/hvr/ghc/ubuntu bionic/main amd64 Packages [11.9 kB]
Get:58 http://ppa.launchpad.net/hvr/ghc/ubuntu bionic/main Translation-en [872 B]
Get:59 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 Packages [81.5 kB]
Get:60 https://packagecloud.io/github/git-lfs/ubuntu bionic/main amd64 Packages [4249 B]
Get:61 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main Translation-en [31.9 kB]
Reading package lists...
E: The repository 'https://dl.bintray.com/sbt/debian  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

7reactions
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!!
4reactions
tofescommented, Oct 28, 2021

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

Err:10 https://dl.bintray.com/sbt/debian Packages 403 Forbidden Get:13 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB] Fetched 391 kB in 0s (455 kB/s) Reading package lists… Done W: The repository ‘https://dl.bintray.com/sbt/debian 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://dl.bintray.com/sbt/debian/Packages 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 'https://dl.bintray.com/sbt/debian 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 >
0
The repository 'https://dl.bintray.com/sbt/debian 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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found