当我尝试使用命令更新我的 18.04 时sudo apt update
,出现以下结果,我不知道如何解决。有人能帮我吗?谢谢。
Hit:1 http://repo.steampowered.com/steam precise InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease
Get:4 http://packages.microsoft.com/repos/vscode stable InRelease [2,801 B]
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [65.4 kB]
Hit:6 http://dl.google.com/linux/chrome/deb stable Release
Ign:7 http://ppa.launchpad.net/trebelnik-stefina/ubuntu-tweak/ubuntu bionic InRelease
Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [69.9 kB]
Hit:9 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Get:10 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages [50.1 kB]
Err:11 http://ppa.launchpad.net/trebelnik-stefina/ubuntu-tweak/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/trebelnik-stefina/ubuntu-tweak/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.
答案1
首先,我不明白为什么你不能更新。是的,你可以。
这样,您就为 ubuntu-tweak 添加了 PPA,但它没有适用于 18.04 的软件包。使用以下命令将其删除
sudo ppa-purge ppa:trebelnik-stefina/ubuntu-tweak
PS:如未ppa-purge
安装,请安装。