我跑
sudo apt-get update
最后返回这些失败:
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.
我该如何解决这个问题?我找遍了所有地方,但似乎找不到答案。
跑步后
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
答案1
一个简单的命令,httpe
不是一个有效的协议:
sudo sed -i 's/httpe:/http:/g' /etc/apt/sources.list
sudo apt-get update
现在,您似乎已经安装了 Trusty,并且您的sources.list
如果你不需要此存储库,请删除以下行
sudo sed -i '/raring/d' /etc/apt/sources.list