我跑
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
最后返回这些失败:
W: Failed to fetch httpe://archive.ubuntu.com/ubuntu/dists/raring/main/binary-amd64/Packages Protocol httpe not supported or disabled in libcurl
W: Failed to fetch httpe://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-i386/Packages Protocol httpe not supported or disabled in libcurl
E: Some index files failed to download. They have been ignored, or old ones used instead.
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个问题?我环顾四周,似乎找不到答案。
运行后
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Run Code Online (Sandbox Code Playgroud)
一个简单的命令httpe不是有效的协议:
sudo sed -i 's/httpe:/http:/g' /etc/apt/sources.list
sudo apt-get update
Run Code Online (Sandbox Code Playgroud)
现在,您似乎已经安装了 Trusty 和 Raring 存储库 sources.list
如果您不需要此存储库,请删除以下行
sudo sed -i '/raring/d' /etc/apt/sources.list
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
552 次 |
| 最近记录: |