apt-get does not work via an ipv6 proxy server

Asked by Chris Martin

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

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vishwas Dani (vdani) said :
#1

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

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.