apt-get update 更新失败----如何清除破损而且陈旧的PPA仓库 (W: Failed to fetch http://ppa.launchpad.net/jonathonf/pyt)
来源:互联网 发布:中小企业 云计算 编辑:程序博客网 时间:2024/05/16 19:57
我使用sudo apt-get update之后,更新失败,遇到如下错误。
W: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/precise/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/precise/main/binary-i386/Packages 404 Not Found最终发现如下的解决方案!(PPA仓库破损而且陈旧的问题)
问题:我试着通过运行apt-get update命令来再次同步包索引文件,但是却出现了“404 无法找到”的错误,看起来似乎是我不能从先前添加的第三方PPA仓库中获取最新的索引。我怎样才能清除这些破损而且陈旧的PPA仓库呢?
Err http://ppa.launchpad.net trusty/main amd64 Packages 404 Not FoundErr http://ppa.launchpad.net trusty/main i386 Packages 404 Not FoundW: Failed to fetch http://ppa.launchpad.net/finalterm/daily/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not FoundW: Failed to fetch http://ppa.launchpad.net/finalterm/daily/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not FoundE: Some index files failed to download. They have been ignored, or old ones used instead.
当你试着更新APT包索引时,“404 无法找到”错误总是会在版本更新之后发生。就是说,在你升级你的Ubuntu发行版后,你在旧的版本上添加的一些第三方PPA仓库就不再受新版本的支持。在此种情况下,你可以像下面这样来鉴别并清除那些破损的PPA仓库。
首先,找出那些引起“404 无法找到”错误的PPA。
- $ sudo apt-get update | grep "Failed"
在本例中,Ubuntu Trusty不再支持的PPA仓库是“ppa:finalterm/daily”。
去移除PPA仓库吧。
- $ sudo add-apt-repository --remove ppa:finalterm/daily
你得去重复重复再重复,把上面找到的所有过时的PPA仓库一个一个地移除。
在移除所有过时的PPA仓库后,重新运行“apt-get update”命令来检查它们是否都被成功移除。
转自:http://blog.csdn.net/u012585964/article/details/50590802
- apt-get update 更新失败----如何清除破损而且陈旧的PPA仓库 (W: Failed to fetch http://ppa.launchpad.net/jonathonf/pyt)
- Failed to fetch http://ppa.launchpad.net/shawn-p-huang/ppa/ubuntu/dists/oneiric/main/source/Sources
- ubuntu版本很老,apt-get update更新失败时(W: Failed to fetch ...)------如何创建新的sources.list
- failed to fetch ... ppa
- W: 仓库 “http://ppa.launchpad.net/fcitx-team/nightly/ubuntu xenial Release” 没有 Release 文件。
- Ubuntu 18签名错误: W: GPG error: http://ppa.launchpad.net lucid Release:
- W: GPG 错误:http://ppa.launchpad.net lucid Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY FAF69C646FF368B7的问题
- W: GPG 错误:http://ppa.launchpad.net lucid Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY FAF69C646FF368B7的问题
- W: GPG 错误:http://ppa.launchpad.net vivid InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 2E30EE6263DE9CD4
- W: 无法下载 http://ppa.launchpad.net/fcitx-team/nightly/ubuntu/dists/jessie/main/binary-amd64/Packages
- W: 无法下载 http://ppa.launchpad.NET/fcitx-team/nightly/ubuntu/dists/jessie/main/binary-amd64/Packages
- W: 无法下载 http://ppa.launchpad.NET/fcitx-team/nightly/ubuntu/dists/jessie/main/binary-amd64/Packages
- W: 无法下载 http://ppa.launchpad.net/fcitx-team/nightly/ubuntu/dists/jessie/main/binary-amd64/Packages
- ubuntu 执行apt-get update报错Failed to fetch
- [ubuntu系列]apt-get update 出现failed to fetch
- ubuntu 执行apt-get update报错Failed to fetch
- Ubuntu执行sudo apt-get update出现Failed to fetch.......的问题的解决
- apt-get install 报Failed to fetch http
- [知了堂学习笔记]_JavaScript之内置对象
- 通过adb shell设置日志开关
- [知了堂学习笔记]_JS内置对象
- 消息队列
- 对称加密-利用mcrypt实现加密解密(1)
- apt-get update 更新失败----如何清除破损而且陈旧的PPA仓库 (W: Failed to fetch http://ppa.launchpad.net/jonathonf/pyt)
- Bootstrap之表单控件状态
- jQuery向下弹出遮罩图片相册代码
- SpringMVC 拦截器不拦截静态资源的三种处理方式
- Win10 Python3.6下安装PyTorch
- skiplist的简单实现(c语言版)
- Node Js form-data格式传输文件
- Golang错误和异常处理的正确姿势
- 关于HashTable和HashMap的区别