今天在更新系统软件时打开Software Updater, 遇到了Failed to download repository information 的错误
解决办法
在terminal 中输入
sudo apt-get update
查看显示,可以发现有些软件的源的链接已经失效,比如E: The repository 'http://ppa.launchpad.net/bumblebee/stable/ubuntu bionic Release' does not have a Release file.
[sudo] password for wei:
Hit:1 http://linux.teamviewer.com/deb stable InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Ign:3 http://ppa.launchpad.net/bumblebee/stable/ubuntu bionic InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:5 https://nvidia.github.io/libnvidia-container/ubuntu18.04/amd64 InRelease
Hit:6 https://nvidia.github.io/nvidia-container-runtime/ubuntu18.04/amd64 InRelease
Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:8 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Hit:9 https://deb.nodesource.com/node_10.x bionic InRelease
Hit:10 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 InRelease
Err:11 http://ppa.launchpad.net/bumblebee/stable/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Get:12 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Ign:13 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 InRelease
Hit:14 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 Release
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/bumblebee/stable/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
打开Software & Updates把相应的无效源链接remove掉即可