Fix Repository Doesn't Have a Release File Error

«  WWDC2022 - Swift
Upgrade Ubuntu 18.04 to 20.04  »

Sometimes, we got issue when run sudo apt-get update, and may be required to add 3rd party PPAs. And when we run to update software packages, may run into an error indicating added PPA does not have a release file.

The error will look like:

E: The repository 'http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic Release' does not have a Release file.

In above example, my system shows issue is on wine builds. Since I’d like to update system first, I’d like to remove this PPA to quick solve the issue.

For remove this PPA from system, the command line solution is here:

sudo apt-add-repository --remove ppa:wine/wine-builds

And it will promp:

Press [ENTER] to conitnue or Ctrl-c to cancel removing it.

After press ENTER, it will remove this PPA, and when we run sudo apt-get update again, this issue should be solved.

Reference

Published on 27 Jun 2022 Find me on Facebook, Twitter!

«  WWDC2022 - Swift
Upgrade Ubuntu 18.04 to 20.04  »

Comments

    Join the discussion for this article at here . Our comments is using Github Issues. All of posted comments will display at this page instantly.