Ubuntu更新报错

E: The repository ‘https://download.docker.com/linux/ubuntu bionic Release‘ no longer has a Release_ubuntu

E: The repository 'https://download.docker.com/linux/ubuntu bionic Release' no longer has a Release file.

解决方法

sudo add-apt-repository --remove download.docker.com/linux/ubuntu

E: The repository ‘https://download.docker.com/linux/ubuntu bionic Release‘ no longer has a Release_ubuntu_02

官网的解释


Adding this PPA to your system
You can update your system with unsupported packages from this untrusted PPA by adding ppa:webupd8team/sublime-text-3 to your system’s Software Sources. (Read about installing)



sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update


加上remove就是把上面的sublime移除系统的软件源啦

而所谓的 PPA 源,就是指 “Personal Package Archives” ,也就是个人软件包集。这其实是一个网站,即-launchpad.net。Launchpad 是 Ubuntu 母公司 Canonical 有限公司所架设的网站,是一个提供维护、支援或联络 Ubuntu 开发者的平台。由于不是所有的软件都能进入 Ubuntu 的官方的软件库,launchpad.net 提供了 PPA,允许开发者建立自己的软件仓库,自由的上传软件。供用户安装和查看更新。