Tag: proxy

如何使用TOR SOCKS代理apt-get?

我在我的Ubuntu 14.04中运行浏览器,并且在成功连接后我在我的浏览器中使用了socks :127:0.0.1:9150并且它工作正常。 但是当我把Acquire :: socks :: proxy“socks://127.0.0.1:9150 /”时; 在apt.conf中,它根本不起作用。 我怎样才能在袜子上使用apt-get? 请帮我。 谢谢。

在安装期间使用APT代理进行下载

在从Desktop LiveCD(10.10)进行系统安装期间,我选中了“安装期间下载更新”选项。 在开始安装之前,我已经配置了一个apt代理服务器。 代理服务器是通过编写配置的 Acquire::http { Proxy “http://apt-proxy-server:3142”; }; 到从LiveCD启动的正在运行的系统上的新文件/etc/apt/apt.conf.d/02proxy 。 在启动系统安装GUI之前,此代理已正确用于实时系统上的各种软件包安装。 它访问在机器apt-proxy-server上以非透明模式运行的apt-cacher-ng 。 但是,安装期间发生的下载不使用此代理。 我确认文件02proxy没有被更改或删除。 有没有办法在安装过程中强制使用APT代理?

/etc/apt/apt.conf发生了什么?

我浏览apt文件夹尝试我的代理设置,我无法在Ubuntu 11.04中找到apt.conf文件。 有替代文件吗? 将代理设置添加到apt.conf.d中的99-synaptic没有帮助,因为每次重新启动系统时它都会被覆盖。

无法在代理Ubuntu 14.04后面添加PPA

我无法通过Ubuntu 14.04上的命令行添加存储库。 Apt-get工作得非常好,我能够更新系统。 我已经配置了我的/etc/apt/apt.config文件,如下所示: Acquire::http::proxy “http://:@:/”; 例如,在尝试为y-ppa-manager添加存储库时,我收到: add-apt-repository ppa:webupd8team/y-ppa-manager Cannot add PPA: ‘ppa:webupd8team/y-ppa-manager’. Please check that the PPA name or format is correct. 如果您需要更多信息,请随时提出。

使用@in密码错误进行Apt-get更新

我想通过apt-get更新ubuntu 11.04。 所以我在apt.conf添加了以下几行 export http_proxy=http://username:password@proxyserver.net:port/ export ftp_proxy=http://username:password@proxyserver.netport/ export http_proxy=http://deepak:Deepak@123@12.1.1.1:3128 我的问题是:如何在用户名或密码中插入特殊字符? 例如:我的代理密码是Deepak @ 123,它收到错误。

apt-get 403 Forbidden

我今天开始了一份新工作,我正在尝试设置我的机器以运行他们的Windows服务器。 我已经设法通过服务器获得了互联网连接,但现在我无法运行apt-get update因为我收到“403 Forbidden”错误。 这是针对我的源列表下的每个repo,除了翻译(?)。 我在apt.conf有一个代理,如果我没有它,我得到407权限被拒绝错误。 这是我的apt.conf文件(我省略了我的用户名和密码) Acquire::http::proxy “http://username:password@192.168.0.2:8080/”; 这是我的sources.list #deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ – Release amd64 (20130213)]/ dists/precise/main/binary-i386/ #deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ – Release amd64 (20130213)]/ dists/precise/restricted/binary-i386/ #deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ – Release amd64 (20130213)]/ precise main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer […]

如何让add-apt-repository通过代理工作?

我正在尝试按照wiki.linaro.org (在我的Ubuntu 10.04 VM上)上的“在Ubuntu 10.04(Lucid)和10.10(Maverick)主机上安装交叉工具链”的说明 。 第一步是: sudo add-apt-repository ppa:linaro-maintainers/toolchain 但当我跑步时,我得到: Error reading https://launchpad.net/api/1.0/~linaro-maintainers/+archive/toolchain: 我猜测问题出在我的雇主代理服务器的配置上,特别是对于HTTPS。 当我在Firefox中打开https://launchpad.net/api/1.0/~linaro-maintainers/+archive/toolchain时,我得到了“连接超时”。 然后我进入Firefox首选项 – >高级 – >网络 – >设置…并将HTTP代理设置为“网关”,将端口设置为8080,并选中“将此代理服务器用于所有协议”。 然后页面加载。 这支持了我的理论。 我已经尝试设置http_proxy和https_proxy环境变量(大小写和大写): $ set | grep -i proxy HTTPS_PROXY=https://gateway:8080 HTTP_PROXY=http://gateway:8080 http_proxy=http://gateway:8080 https_proxy=https://gateway:8080 我也尝试将它们改为: $ set | grep -i proxy HTTPS_PROXY=gateway:8080 HTTP_PROXY=gateway:8080 http_proxy=gateway:8080 https_proxy=gateway:8080 我尝试将第二行添加到/etc/apt/apt.conf: Acquire::http::proxy “http://gateway:8080/”; Acquire::https::proxy “https://gateway:8080/”; 但我继续得到同样的错误。 我该如何解决这个问题? 更新:我按照“添加存储库并从代理后面的终端连接问题”的接受答案中的说明进行了进一步说明: […]

如何在Xubuntu,Lubuntu或Ubuntu Studio中设置系统范围的代理服务器?

我无法在任何地方找到代理设置。 我是否必须通过终端设置它,通过gconftools或者是否存在一些GUI?