← Back to team overview

desktop-packages team mailing list archive

[Bug 879223] Re: Network -> Network Proxy -> Apply System Wide does NOT update "/etc/apt/apt.conf"

 

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/879223

Title:
  Network -> Network Proxy -> Apply System Wide does NOT update
  "/etc/apt/apt.conf"

Status in “gnome-control-center” package in Ubuntu:
  New

Bug description:
  When I bring my Ubuntu laptop to work, I must tell it to connect to
  the proxy server. To do this, I go to the "Network" pane, then the
  "Network Proxy" sub-pane. Under "Method" I select "Automatic" and
  enter the correct "Configuration URL". Then I press "Apply System
  wide". My web browser now can connect to the Internet. However,
  applications like "Update Manager", and "Ubuntu Software Center", and
  even "apt-get" in the command line fail to communicate with ANY
  package repository servers. Checking "/etc/apt/apt.conf", I see the
  file is empty.

  To reproduce this issue:
  1. With a computer that does not connect to the Internet via proxy, isolate the computer behind a firewall which forwards all Web traffic (HTTP, HTTPS, FTP) to a content-filtering proxy server.
  2. In gnome-control-center, go to Network -> Network Proxy, and set the method to "Automatic", filling in the correct URL for the proxy configuration file. The same problem seems to occur if you configure the proxy settings manually.
  3. Press the "Apply system wide" button.
  4. Open "Update Manager" and press "Check" and/or "Install Updates". FAILS -- package updates appear to begin to download, but eventually times-out and reports an error.
  5. Check "/etc/apt/apt.conf", it should be empty (or unchanged by gnome-control-center).

  Work-around:
  As a root user, modify "/etc/apt/apt.conf" by hand with content like:
  	Acquire::http::proxy "http://proxy.serv.org:8080/";;
  	Acquire::https::proxy "https://proxy.serv.org:8080/";;
  	Acquire::ftp::proxy "ftp://proxy.serv.org:8080/";;
  	Acquire::socks::proxy "socks://proxy.serv.org:8080/";

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: gnome-control-center 1:3.2.0-0ubuntu6
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic-pae 3.0.4
  Uname: Linux 3.0.0-12-generic-pae i686
  ApportVersion: 1.23-0ubuntu3
  Architecture: i386
  Date: Fri Oct 21 13:22:24 2011
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gnome-control-center
  UpgradeStatus: Upgraded to oneiric on 2011-10-14 (6 days ago)
  usr_lib_gnome-control-center:
   deja-dup           20.0-0ubuntu3
   gnome-bluetooth    3.2.0-0ubuntu2
   indicator-datetime 0.3.1-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/879223/+subscriptions


References