Ubuntu 14.04 上的舒适安装:CONNECT 后从代理接收到 HTTP 代码 403

Cozy Installation on Ubuntu 14.04: Received HTTP code 403 from proxy after CONNECT

我是 Cozy Cloud 的新手,正尝试在 Ubuntu 14.04 上进行设置,如前所述 Install Cozy on Ubuntu:

在安装 cozy 时,我尝试 运行 命令:

$ sudo apt-get update

我收到以下错误:

W: Failed to fetch https://ubuntu.cozycloud.cc/debian/dists/trusty/main/binary-amd64/Packages Received HTTP code 403 from proxy after CONNECT W: Failed to fetch https://ubuntu.cozycloud.cc/debian/dists/trusty/main/binary-i386/Packages Received HTTP code 403 from proxy after CONNECT E: Some index files failed to download. They have been ignored, or old ones used instead.

虽然上述网址可以在浏览器中访问并在浏览器中下载包文件,但在使用上述命令的终端中,我收到错误。

如何解决这个问题?

找到解决方案,我的 apt 配置为使用代理服务器。我尝试在命令行上 运行 apt-config dump | grep -i proxy 并在以下文件中找到代理条目:

/etc/apt/apt.conf

已删除该条目,现在可以正常使用了。