[Bug 1990798] Re: do-release-upgrade fails if ESM enabled

kevin wang 1990798 at bugs.launchpad.net
Tue Jun 13 00:43:25 UTC 2023


I got the same 401 errors running apt-get upgrade from 18.04

The following packages will be upgraded:
  libnghttp2-14 libpython2.7 libpython2.7-dev libpython2.7-minimal
  libpython2.7-stdlib libpython3.6 libpython3.6-dev libpython3.6-minimal
  libpython3.6-stdlib python2.7 python2.7-dev python2.7-minimal python3.6
  python3.6-dev python3.6-minimal python3.6-venv sysstat vim vim-common
  vim-runtime vim-tiny xxd
...
E: Failed to fetch https://esm.ubuntu.com/infra/ubuntu/pool/main/s/sysstat/sysstat_11.6.1-1ubuntu0.2+esm1_amd64.deb  401  Unauthorized [IP: 91.189.91.47 443]

ran pro disable esm-infra

ran apt-get upgrade, saw that it no longer listed those packages.

ran pro enable esm-infra

ran apt-get upgrade, and now it is downloading the packages in question.

Note that I have not rebooted since adding the free Ubuntu Pro token.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1990798

Title:
  do-release-upgrade fails if ESM enabled

Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed

Bug description:
  Trying to run a do-release-upgrade from Focal to Jammy fails if ESM is
  enabled:

  Failed to fetch 
  https://esm.ubuntu.com/apps/ubuntu/pool/main/a/ansible/ansible_2.10.7+merged+base+2.10.8+dfsg-1ubuntu0.1~esm1_all.deb 
  401 Unauthorized [IP: 185.125.190.23 443] 
  Failed to fetch 
  https://esm.ubuntu.com/apps/ubuntu/pool/main/o/openexr/libopenexr25_2.5.7-1ubuntu0.1~esm1_amd64.deb 
  401 Unauthorized [IP: 185.125.190.23 443] 
  Failed to fetch 
  https://esm.ubuntu.com/apps/ubuntu/pool/main/p/python2.7/python2.7-dev_2.7.18-13ubuntu1.1+esm2_amd64.deb 
  401 Unauthorized [IP: 185.125.190.23 443] 
  Failed to fetch 
  https://esm.ubuntu.com/apps/ubuntu/pool/main/p/python2.7/python2.7_2.7.18-13ubuntu1.1+esm2_amd64.deb 
  401 Unauthorized [IP: 185.125.190.23 443] 
  Failed to fetch 
  https://esm.ubuntu.com/apps/ubuntu/pool/main/p/python2.7/libpython2.7-dev_2.7.18-13ubuntu1.1+esm2_amd64.deb 
  401 Unauthorized [IP: 185.125.190.23 443] 
  Failed to fetch 
  https://esm.ubuntu.com/apps/ubuntu/pool/main/p/python2.7/libpython2.7_2.7.18-13ubuntu1.1+esm2_amd64.deb 
  401 Unauthorized [IP: 185.125.190.23 443] 
  Failed to fetch 
  https://esm.ubuntu.com/apps/ubuntu/pool/main/p/python2.7/libpython2.7-stdlib_2.7.18-13ubuntu1.1+esm2_amd64.deb 
  401 Unauthorized [IP: 185.125.190.23 443] 
  Failed to fetch 
  https://esm.ubuntu.com/apps/ubuntu/pool/main/p/python2.7/python2.7-minimal_2.7.18-13ubuntu1.1+esm2_amd64.deb 
  401 Unauthorized [IP: 185.125.190.23 443] 
  Failed to fetch 
  https://esm.ubuntu.com/apps/ubuntu/pool/main/p/python2.7/libpython2.7-minimal_2.7.18-13ubuntu1.1+esm2_amd64.deb 
  401 Unauthorized [IP: 185.125.190.23 443]

  SERVICE          ENTITLED  STATUS    DESCRIPTION
  esm-infra        yes       enabled   Expanded Security Maintenance for Infrastructure
  fips             yes       disabled  NIST-certified core packages
  fips-updates     yes       disabled  NIST-certified core packages with priority security updates
  livepatch        yes       enabled   Canonical Livepatch service
  usg              yes       disabled  Security compliance and audit tools

  Unfortunately running `pro disable esm-infra` does, apparently,
  nothing and so the workaround is to comment out the relevant lines in
  the Apt sources. Then this has to be reversed when the upgrade is
  complete. This shouldn't be necessary.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubuntu-release-upgrader-core 1:20.04.39
  ProcVersionSignature: Ubuntu 5.4.0-128.144-generic 5.4.210
  Uname: Linux 5.4.0-128-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.24
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashDB: ubuntu
  CurrentDesktop: MATE
  Date: Mon Sep 26 03:27:47 2022
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to focal on 2022-09-26 (0 days ago)
  mtime.conffile..etc.apport.crashdb.conf: 2019-08-06T11:56:22.315382

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1990798/+subscriptions




More information about the foundations-bugs mailing list