aliyun ubuntu读取第三方源被forbidden的问题

前端之家收集整理的这篇文章主要介绍了aliyun ubuntu读取第三方源被forbidden的问题前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

使用下面指令添加了一个源:

sudo add-apt-repository ppa:webupd8team/java

然后update的时候提示
W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/main/binary-amd64/Packages: 403  Forbidden [IP: 112.124.140.210 80]
W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/main/binary-i386/Packages: 403  Forbidden [IP: 112.124.140.210 80]
E: Some index files Failed to download. They have been ignored,or old ones used instead.
E: Couldn't rebuild package cache


根据这个帖子 https://ubuntuforums.org/showthread.PHP?t=2181359 的提示,看了一下apt的设置,发现以下配置:
Acquire::http::Proxy "http://mirrors.aliyun.com/";
注释掉,就Ok了,阿里云对镜像的此类修改有损阴德。

猜你在找的Ubuntu相关文章