Tag: 代理

apt.conf“获取:: http:代理”代理服务器:端口“似乎不被使用(Win7上的Virtual Box下的Ubuntu 13.04)

这是为了在VirtualBox VM中安装Ubuntu 13.04 Desktop。 我在xyz251:9090上使用HTTP代理的公司网络。 我已经使用自动配置脚本配置了客户操作系统,因此Firefox工作正常,但我无法使用代理连接“apt-get”或“Ubuntu Software Center”。 我创建了文件“/etc/apt/apt.conf”,它现在包含一行文本: Acquire::http:Proxy “http://xyz251:9090” 这是我在“系统设置/网络/网络代理”中指定并应用于整个系统的proxy.pac文件。 当我使用Firefox时,数据包跟踪显示TCP连接是通过端口9090上的公司代理完成的,当我运行“Ubuntu软件中心”和“apt-get”时,数据包跟踪显示TCP SYN数据包与最终目标IP地址和端口80.当然,对SYN数据包没有响应,因为公司防火墙阻止端口80上的TCP连接进入或退出。 在终端窗口中使用“sudo apt-get”,我总是看到: Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ – Release amd64 (20130424) raring/main Translation-en_US Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ – Release amd64 (20130424) raring/main Translation-en Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ – Release amd64 (20130424) raring/restricted Translation-en_US Ign cdrom://Ubuntu 13.04 _Raring Ringtail_ – […]

无法从代理后面完成Dropbox安装

问题: 校园里的我的PC位于代理(需要身份validation)后面,我无法设置Dropbox。 我确信这是一个代理问题,因为我无法设置Ubuntu(但我不使用Ubuntu One因此这不是问题)。 我查看了Ubuntu One修复程序,但它似乎是修改与Ubuntu One明确相关的设置。 我可以安装nautilus-dropbox软件包(从源代码和.deb软件包从网站和软件中心编译)但是一旦我从“Dropbox安装”对话框中单击“确定”(提示我下载专有守护程序),安装就会冻结按下OK按钮。 当我在系统监视器中查看它的进程时,它的等待通道是inet_wait_for_connect。 到目前为止,我已设置了以下代理指令: 将mj22:** @ proxy.waikato.ac.nz:80信息添加到网络设置中的网络代理设置中。 在gconf-editor-> system-> proxy下添加了http_host和http_port变量 在gconf-editor-> system-> http_proxy下添加了’host’,’authentication_password”authentication_user’并勾选了’user authentication’和’use_http_proxy’ 将导出http_proxy =“http:// mj22:**@proxy.waikato.ac.nz:80 /”添加到/etc/bash.bashrc 添加了Acquire :: http :: proxy“http:// mj22:**@proxy.waikato.ac.nz:80 /”; 到/etc/apt/apt.conf(这是我想象的让Software Center检索包)。 (其中**是我的密码) 我还为上面的条目添加了等效的ftp和https行。 我上网很好,软件中心可以下载包,但就是这样。 相关问题: 软件中心无法获取评论(但可以下载软件包)。 当尝试在Gnome 3中添加在线帐户时,会弹出一个对话框,显示“获取请求令牌时出错:无法连接到代理(proxy.waikato.ac.nz)” 更新: 一段时间后(10分钟)Dropbox显示一个错误对话框,内容如下: 无法连接到Dropbox服务器。 也许您的互联网连接已关闭,或者您需要设置http_proxy环境变量。 有没有办法可以看到当前设置的环境变量?

由于代理无法下载任何内容

我第一次使用13.04并且我使用代理基本服务器,这就是为什么我在使用apt-get update时无法下载任何内容然后它显示此消息 coolmonter@coolmonter-HP-ProBook-4431s:~$ apt-get update E: Could not open lock file /var/lib/apt/lists/lock – open (13: Permission denied) E: Unable to lock directory /var/lib/apt/lists/ E: Could not open lock file /var/lib/dpkg/lock – open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? 任何建议

Apt-Get Update不断获得相同的包

我今天在桌面计算机上启动了apt-get update ,并在30分钟后仍在运行。 它不断从同一个存储库下载。 每一行都有一个Get计数器,并且不断递增。 我最终放弃了它。 我得到的输出是: Get:53 http://nz.archive.ubuntu.com trusty-updates Release [63.5 kB] Hit http://security.ubuntu.com trusty-security/multiverse Translation-en Get:54 http://nz.archive.ubuntu.com trusty-updates Release [63.5 kB] Hit http://security.ubuntu.com trusty-security/restricted Translation-en Get:55 http://nz.archive.ubuntu.com trusty-updates Release [63.5 kB] Get:56 http://nz.archive.ubuntu.com trusty-updates Release [63.5 kB] Get:57 http://security.ubuntu.com trusty-security/universe Translation-en [67.8 kB] Get:58 http://nz.archive.ubuntu.com trusty-updates Release [63.5 kB] Get:59 http://nz.archive.ubuntu.com trusty-updates Release […]

如何在不使用软件中心的情况下下载软件包?

我可以在哪里手动下载东西(以用户友好的方式)而不使用Ubuntu软件中心? 如果那是不可能的,我该如何修复软件中心的代理限制。 虽然所有其他网站都运行良好,但它似乎并不适用于我有良好的互联网访问权限的唯一地方。

错误503:在代理后面使用apt-get update时服务不可用

我正在使用透明代理(其他框)。 当我尝试进行’apt-get update’时,我会收到这些警告(德语): … W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/source/Sources.gz 503 Service Unavailable W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/source/Sources.gz 503 Service Unavailable W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/multiverse/source/Sources.gz 503 Service Unavailable W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/main/binary-i386/Packages.gz 503 Service Unavailable W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/restricted/binary-i386/Packages.gz 503 Service Unavailable W: Fehlschlag beim Holen von http://security.ubuntu.com/ubuntu/dists/maverick-security/universe/binary-i386/Packages.gz […]

ubuntu 12.04中的网络配置文件

我在家里和大学里都使用有线连接。 但在家里我将我的ipV4设置设置为自动DHCP,而在大学时我需要手动输入IP地址,子网和网关,我还需要更改代理设置。 因此,每当我回家时,我需要将系统设置更改为无代理,还需要更改IP地址设置,当我上大学时,我需要在代理设置和手动tcp / ip配置中输入自动配置URL 。 无论如何我可以结合这两个过程,所以当我连接到大学的有线网络时,我的代理设置是根据我在大学里需要的,同样在家里设置的。 是否有可能将此自动化扩展到无线网络? 这对我真的很有帮助。

Juju 2.0代理bootstrap

虽然juju model-config支持代理,但在模型存在之前,我很难设置HTTP代理。 刚刚运行juju bootstrap localhost lxd-test失败,因为juju不使用代理。 我如何告诉Juju使用代理?

111:拒绝连接

当我尝试通过sudo apt-get install安装软件包时,无论我尝试安装什么,它都会返回111:Connection Refused错误。 Web浏览器似乎可以工作,但不是sudo apt-get install。 我试图安装Ruby,PHP和开放式RHC工具,我也尝试使用Synaptic来更新/安装软件包,但我无法做到。 我每次都会遇到类似以下的错误: W: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main /liby/libyaml > /libyaml-0-2_0.1.4-3ubuntu3.1_i386.deb Could not connect to 155.238.4.87:8080 (155.238.4.87). – connect (111: Connection refused) 我使用的是Ubuntu 14.04.1 LTS。 我通过无线连接到我的adsl路由器,并运行我从大学运行的图像,使用Windows 10运行vmware。大学使用代理但我在M2设置文件中编辑它并编辑firefox以自动检测代理让我的互联网工作 有人可以帮我弄清楚如何解决这个问题吗?

在ubuntu上安装ansible

我正在按照此文档安装ansible: https ://www.digitalocean.com/community/tutorials/how-to-install-and-configure-ansible-on-ubuntu-14-04 我试着在我的ubuntu存储库列表中添加ansible,但这是发生的事情: me@mydev:~/Documents$ sudo apt-add-repository ppa:ansible/ansible Cannot add PPA: ‘ppa:~ansible/ubuntu/ansible’. ERROR: ‘~ansible’ user or team does not exist. me@mydev:~/Documents$ 我也尝试过克隆repo(遵循这些说明: http : //docs.ansible.com/ansible/intro_installation.html )但是失败了以下内容: me@mydev:~/Documents/ansible$ git clone git://github.com/ansible/ansible.git –recursive Cloning into ‘ansible’… fatal: unable to connect to github.com: github.com[0: 192.30.252.131]: errno=Connection timed out me@mydev:~/Documents/ansible$ ping 192.30.252.131 PING 192.30.252.131 (192.30.252.131) 56(84) bytes of data. […]