3

I am running Ubuntu 18.04 in WSL1 on my Windows computer

When I try to run apt-get update I see the following in the output:

Err:8 https://dl.bintray.com/sbt/debian  Release
   404  Not Found [IP: 3.95.117.170 443]
E: The repository 'https://dl.bintray.com/sbt/debian  Release' no longer has a Release file.

I have tried the following solutions:

  • apt-get clean: successful, but still can run apt-get update
  • apt-get update --allow-insecure-repositories: still get the same error
  • apt-get update && apt-get –yes –force-yes –fix-missing –auto-remove –allow-unauthenticated --allow-insecure-repositories –show-upgraded –option DPkg::Options::=“–force-confold” dist-upgrade: same error

How can I run the update?

1 Answers1

3

I was able to remove the bad repo with the following commands:

sudo add-apt-repository --remove "deb http://dl.bintray.com/sbt/debian /"
sudo rm -fv /etc/apt/sources.list.d/sbt.list
sudo rm -fv /etc/apt/sources.list.d/sbt.list.save
sudo apt update