apt-get update ignores sytem proxy settings

Bug #946863 reported by Jacques Viviers
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ia32-libs-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

1. I go to Dash | Network | Network proxy where I set up my proxy.
2. Go to a terminal and say wget www.google.com, this works.
3. type sudo apt-get update
4. See that apt-get update does not use the proxy setting that wget uses.
5. edit /etc/apt/apt.conf:
Acquire::http::proxy "http://localhost:3128/";
Acquire::ftp::proxy "http://localhost:3128/";
Acquire::https::proxy "https://localhost:3128/";
6. Try apt-get update again
7. It Works!

Network proxy thould update the apt.conf file as well.

This is actually a network settings bug, but it manifests in apt-get.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt 0.8.16~exp12ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
CasperVersion: 1.305
Date: Mon Mar 5 07:08:01 2012
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jacques Viviers (jacques-viviers) wrote :
Revision history for this message
Jacques Viviers (jacques-viviers) wrote :

Can someone give me a shove in the right direction? I'd like to fix this myself?

Revision history for this message
divyang (div-nanotech) wrote :

even creating /etc/apt/apt.conf file doesn't solve the problem.
apt-get is showin folowing error
E: Syntax error /etc/apt/apt.conf:2: Extra junk at end of file

Revision history for this message
Jacques Viviers (jacques-viviers) wrote :

I did the same steps as in the above bug report, and it works!

Thank you.

Revision history for this message
Jacques Viviers (jacques-viviers) wrote :

This is fixed in the Daily Build of 18 April 2012

Changed in ia32-libs-tools (Ubuntu):
status: New → Incomplete
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.