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

** Converted to question:
   https://answers.launchpad.net/ubuntu/+source/apt/+question/269527

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1136671

Title:
  apt-get does not work via an ipv6 proxy server

Status in apt package in Ubuntu:
  Invalid

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1136671/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to