[Bug 2085735] Re: do-release-upgrade fails with an IPv6 address for the proxy

Julian Andres Klode 2085735 at bugs.launchpad.net
Thu Nov 7 15:19:36 UTC 2024


This is implemented in update-manager. update-manager generally only
supports a very narrow subset of the configuration and then tries to do
its own downloading rather than reusing apt's download code which would
handle this all correctly.

** Package changed: ubuntu-release-upgrader (Ubuntu) => update-manager
(Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2085735

Title:
  do-release-upgrade fails with an IPv6 address for the proxy

Status in update-manager package in Ubuntu:
  New

Bug description:
  1) Ubuntu release
  Description:    Ubuntu 22.04.5 LTS
  Release:        22.04

  Description:    Ubuntu 20.04.6 LTS
  Release:        20.04

  2)
  ubuntu-release-upgrader-core:
    Installed: 1:22.04.20
    Candidate: 1:22.04.20
    Version table:
   *** 1:22.04.20 500
          500 http://mirrors.ircam.fr/pub/ubuntu/archive jammy-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       1:22.04.10 500
          500 http://mirrors.ircam.fr/pub/ubuntu/archive jammy/main amd64 Packages

  3)
  From its initial installation with Ubuntu 20.04, this system has been using a local proxy using its IPv6 address.
  This has been configured for apt, which worked fine.
  $ cat /etc/apt/apt.conf.d/90curtin-aptproxy
  Acquire::http::Proxy "http://[fc00:cafe::1]:3128";
  Acquire::https::Proxy "http://[fc00:cafe::1]:3128";

  However, when I tried to upgrade to 22.04 using do-release-upgrade,
  the command failed immediately:

  $ sudo do-release-upgrade
  proxy 'http://[fc00:cafe::1]:3128' looks invalid
  Checking for a new Ubuntu release
  Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
  There is no development version of an LTS available.
  To upgrade to the latest non-LTS development release
  set Prompt=normal in /etc/update-manager/release-upgrades.

  
  4) I expected the upgrade to a newer release to work.

  Workaround found:

  It was suggested that I add a name for the server in /etc/hosts, which
  I did, and then the command ran without a hitch (and once it finished,
  I checked the same issue is present on Ubuntu 22.04)

  $ grep proxy /etc/hosts
  fc00:cafe::1    proxy

  $ cat /etc/apt/apt.conf.d/90curtin-aptproxy
  Acquire::http::Proxy "http://proxy:3128";
  Acquire::https::Proxy "http://proxy:3128";

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2085735/+subscriptions




More information about the foundations-bugs mailing list