apt-get does not work via an ipv6 proxy server

Bug #1136671 reported by Chris Martin

This bug report was converted into a question: question #269527: apt-get does not work via an ipv6 proxy server.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

running apt-get update: [ discussed in question #223040 ]

i have tried/etc/apt/apt.conf.d/80proxies with contents:

  Acquire::http::proxy "http://ipv6onlydqdn:port/";

and when this didnt work tried:

  Acquire::http::proxy "http://[ipv6address]:port/";

both times i see the following messages:

W: Failed to fetch

http://archive.ubuntu.com/ubuntu/dists/precise-updates/universe/i18n/Translation-en Unable to connect to ipv6onlydqdn:8123:

or

W: Failed to fetch

http://archive.ubuntu.com/ubuntu/dists/precise-updates/universe/i18n/Translation-en Unable to connect to 2axx:1234:1234:0:xxxx:xxxx:xxxx:xxxx:8123:

E: Some index files failed to download. They have been ignored, or old ones used instead.

Installed OS is:

Description: Ubuntu 12.04.2 LTS
Release: 12.04

version of apt is 0.8.16~exp12ubuntu10.7

Revision history for this message
Vishwas Dani (vdani) wrote :

How to configure http proxy with IPv6 address in apt.conf.

Is following syntax correct?

Acquire::http::proxy "http://[2008::103]:80/";
Acquire::https::proxy "https://[2008::103]:80/";

Regards,
Vishwas

Changed in apt (Ubuntu):
status: New → Invalid
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.