PPA 似乎一直处于离线状态。每当我使用时sudo apt-get update,都会显示此错误:
W: Failed to fetch http://ppa.launchpad.net/ 404 Not Found
Run Code Online (Sandbox Code Playgroud)
如何修复这些错误?
我不再需要服务器密钥环中的密钥。是否可以删除它?我使用以下命令添加了密钥:
curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add -
Run Code Online (Sandbox Code Playgroud)
谢谢你的帮助
请让我知道如何在 Ubuntu 11.04 中删除某些存储库。更新时出现以下错误。
sudo apt-get update
Err http://ppa.launchpad.net natty/main Sources
404 Not Found
Err http://ppa.launchpad.net natty/main i386 Packages
404 Not Found
......
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud) 我目前使用的是 Ubuntu 10.04。我知道有 10.10 版本,但我可以直接升级到 11.04 吗?你能帮我完成这些步骤吗?
我添加了一个 PPA 来更新我的 ubuntu-12.04 内核。后来发现内核在PPA内的链接上是不存在的。
我用过这个命令。
sudo add-apt-repository ppa:kernel-ppa/ppa
现在,如果我尝试sudo apt-get update,我会收到错误 404,因为 http://ppa.launchpad.net/kernel-ppa/ppa/ubuntu/dists/precise/main/source/Sources不存在。
问题是我无法进行更新。甚至做不到sudo ppa-purge ppa:kernel-ppa/ppa
提出解决方案。
我注意到这/var/lib/apt/lists是巨大的。它有 86MB 大。这似乎有点太大了。这是正常的吗?如果没有,我该怎么办?
问题在标题中。官网仅提供 Windows 和 Mac 的详细信息:
每当我尝试安装任何东西或运行时apt update,我都会收到此错误:
E: The repository 'http://ppa.launchpad.net/armagetronad-dev/ppa/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.
Run Code Online (Sandbox Code Playgroud)
我不够熟练,无法弄清楚这一点。我已经看到我可以尝试 ppa purge 但我不知道如何。
为了从 10.04 平滑升级到 10.10,我想删除所有不在默认存储库中的包(例如,chromium PPA 和第三方存储库)。查找和删除这些包的最简单方法(最好是 CLI)是什么?
编辑:这个问题不限于 PPA,我也有一个 x2go 存储库,所以我正在寻找一个通用命令来删除属于某个存储库的包。对于 PPA,如何删除PPA 的问题有很好的答案。
我可以使用移动宽带通过 Firefox 访问互联网,但是当我想从终端安装任何软件包或执行“apt-get update”命令时,出现以下错误:
got 'NODATA' (does the network require authentication?)
Run Code Online (Sandbox Code Playgroud)
apt-get 更新输出:
Get:1 extras.ubuntu.com trusty InRelease [213 B] 98% [1 InRelease gpgv 213 B] [Connecting to archive.ubuntu.com]
Splitting up /var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_trusty_InRelease into data
Ign extras.ubuntu.com trusty InRelease E: GPG error: extras.ubuntu.com trusty InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
Run Code Online (Sandbox Code Playgroud)
`cat /var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_trusty_InRelease 的输出
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>404</title> <meta http-equiv="Cache-Control" content="no-cache"/> </head> <body> <p> Not Found </p> </body> </html>
Run Code Online (Sandbox Code Playgroud)
wget 的输出: …