完整错误:
Err:11 http://ppa.launchpad.net/kernel-ppa/ppa/ubuntu xenial Release
404 Not Found
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/kernel-ppa/ppa/ubuntu xenial 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.
普通的sources.list
:
$ cat /etc/apt/sources.list
deb http://ports.ubuntu.com/ xenial main restricted universe multiverse
deb-src http://ports.ubuntu.com/ xenial main restricted universe multiverse
deb http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse
deb-src http://ports.ubuntu.com/ xenial-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ xenial-security main restricted universe multiverse
deb-src http://ports.ubuntu.com/ xenial-security main restricted universe multiverse
deb http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse
deb-src http://ports.ubuntu.com/ xenial-backports main restricted universe multiverse
我看到 kernel-ppa 有没有 xenial dist 文件夹。我该如何修复此错误或停用由于缺少 xenial 文件夹而引发的错误?
答案1
移除PPA 删除了错误:
sudo add-apt-repository --remove ppa:kernel-ppa/ppa