[Bug 877088] Re: Network proxy setting does not set apt.conf from the second time
Ramin.Honary
877088 at bugs.launchpad.net
Fri Oct 21 05:55:36 UTC 2011
I have the same problem. I had created my own (duplicate) bug for this problem at:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/879223
I am behind a corporate firewall using a McAfee web gateway, a content-
filtering proxy server. Our DNS resolves IP addresses without any proxy
settings, but HTTP, HTTPS, and FTP connections cannot be made to
addresses beyond the firewall unless we connect through the proxy
server. So when executing apt-get, it resolves my mirror's IP address
OK, but times-out trying to download the "Packages.gz" file. The only
way to make "apt-get" work correctly is to set the "/etc/apt/apt.conf"
file, which should be done by gnome-control-center, but it doesn't.
All I can do is write my own script to set "/etc/apt/apt.conf" to use
the proxy, and execute it every time I want to run "apt-get" at the
office.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-system-service in
Ubuntu.
https://bugs.launchpad.net/bugs/877088
Title:
Network proxy setting does not set apt.conf from the second time
Status in “ubuntu-system-service” package in Ubuntu:
Confirmed
Bug description:
How to reproduce:
1. open network settings in gnome-control-center
2. set proxy like the example below:
* method - manual
* HTTP Proxy - example.com:8080
* HTTPS Proxy - example.com:8090
3. press "Apply system wide"
- confirm proxy settings are written in /etc/environment and /etc/apt/apt.conf
4. turn off proxy by set back the Method to "None" and press "Apply system wide" again.
- confirm proxy settings are gone from /etc/environment and /etc/apt/apt.conf
5. set proxy again as well as step. 2, then press "Apply system wide" again.
Expected to happen:
6. proxy settings are written in /etc/environment and /etc/apt/apt.conf
What happened instead:
6. proxy settings are written in only /etc/environment, then /etc/apt/apt.conf remains as blank.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-control-center 1:3.2.0-0ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CasperVersion: 1.285
Date: Tue Oct 18 05:07:00 2011
LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_gnome-control-center:
deja-dup 20.0-0ubuntu3
gnome-bluetooth 3.2.0-0ubuntu1
indicator-datetime 0.3.0-0ubuntu3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-service/+bug/877088/+subscriptions
More information about the foundations-bugs
mailing list