[Bug 2038949] Re: do-release-upgrade fails because dependencies cannot be satisfied

Nick Rosbrook 2038949 at bugs.launchpad.net
Tue Oct 10 17:02:37 UTC 2023


That's actually not what's causing the upgrade to fail. While there is
something wrong with "c..archive.ubuntu.com", the upgrader will just
just "arhive.ubuntu.com instead. E.g., from
VarLogDistupgradeMainlog.txt:

2023-10-10 16:20:29,075 DEBUG upgrade from old-releases.ubuntu.com detected
2023-10-10 16:20:29,075 DEBUG verifySourcesListEntry: deb http://c..archive.ubuntu.com/ubuntu lunar main restricted
2023-10-10 16:20:29,075 DEBUG url_downloadable: http://c..archive.ubuntu.com/ubuntu/dists/lunar/Release
2023-10-10 16:20:29,075 DEBUG s='http' n='c..archive.ubuntu.com' p='/ubuntu/dists/lunar/Release' q='' f=''
2023-10-10 16:20:29,080 DEBUG error from httplib: 'encoding with 'idna' codec failed (UnicodeError: label empty or too long)'
2023-10-10 16:20:29,080 DEBUG verifySourcesListEntry: deb http://archive.ubuntu.com/ubuntu lunar main restricted
2023-10-10 16:20:29,080 DEBUG url_downloadable: http://archive.ubuntu.com/ubuntu/dists/lunar/Release
2023-10-10 16:20:29,080 DEBUG s='http' n='archive.ubuntu.com' p='/ubuntu/dists/lunar/Release' q='' f=''
2023-10-10 16:20:29,096 INFO transition from old-release.u.c to http://archive.ubuntu.com/ubuntu

The real error, seen in VarLogDistupgradeAptlog.txt, is this:

  MarkInstall python3.10-venv:amd64 < 3.10.7-1ubuntu0.4 @ii mK Ib > FU=0
    python3.10-venv:amd64 Depends on python3.10-distutils:amd64 < none @un mH > can't be satisfied! (dep)
  MarkInstall xfsprogs:amd64 < 5.16.0-1ubuntu1 -> 6.1.0-1ubuntu1 @ii umU Ib > FU=0
  Installing libicu72:amd64 as Depends of xfsprogs:amd64
    MarkInstall libicu72:amd64 < none -> 72.1-3ubuntu2 @un uN > FU=0
   Upgrading: libgs9:amd64 < 9.56.1~dfsg1-0ubuntu3.2 @ii mK Ib > due to libgs9:amd64 Depends on libgs9-common:amd64 < 9.56.1~dfsg1-0ubuntu3.2 -> 10.0.0~dfsg1-0ubuntu1.3 @ii umU Ib > (= 9.56.1~dfsg1-0ubuntu3.2)
  MarkInstall libgs9-common:amd64 < 9.56.1~dfsg1-0ubuntu3.2 -> 10.0.0~dfsg1-0ubuntu1.3 @ii umU Ib > FU=0
    MarkInstall libgs9:amd64 < 9.56.1~dfsg1-0ubuntu3.2 @ii mK Ib > FU=0
      libgs9:amd64 Depends on libgs9-common:amd64 < 9.56.1~dfsg1-0ubuntu3.2 -> 10.0.0~dfsg1-0ubuntu1.3 @ii pumU Ib > (= 9.56.1~dfsg1-0ubuntu3.2) can't be satisfied! (dep)

Normally these sort of things with python are caused by using the python
deadsnakes PPA. I am not sure about the other package at the moment,
though.

** Summary changed:

- do-release-upgrade makes incorrect changes to sources.list, causing crash
+ do-release-upgrade fails because dependencies cannot be satisfied

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

Title:
  do-release-upgrade fails because dependencies cannot be satisfied

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

Bug description:
  It tries to change old-releases.ubuntu.com to c..archive.ubuntu.com,
  which doesn't work.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: ubuntu-release-upgrader-core 1:22.10.8
  ProcVersionSignature: Ubuntu 5.19.0-46.47-generic 5.19.17
  Uname: Linux 5.19.0-46-generic x86_64
  ApportVersion: 2.23.1-0ubuntu3.2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CloudArchitecture: x86_64
  CloudID: configdrive
  CloudName: configdrive
  CloudPlatform: configdrive
  CloudSubPlatform: config-disk (/dev/vdb)
  CrashDB: ubuntu
  Date: Tue Oct 10 16:20:48 2023
  JournalErrors:
   Hint: You are currently not seeing messages from other users and the system.
         Users in groups 'adm', 'systemd-journal' can see all messages.
         Pass -q to turn off this notice.
   Oct 10 16:21:02 hostname pkexec[20008]: username: Error executing command as another user: Not authorized [USER=root] [TTY=/dev/pts/1] [CWD=/home/username] [COMMAND=/usr/bin/cat /var/log/dist-upgrade/apt-clone_system_state.tar.gz]
   Oct 10 16:21:02 hostname pkexec[20020]: username: Error executing command as another user: Not authorized [USER=root] [TTY=/dev/pts/1] [CWD=/home/username] [COMMAND=/usr/share/apport/root_info_wrapper /tmp/tmpkkuakb8b/:script:]
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to kinetic on 2023-10-10 (0 days ago)
  VarLogDistupgradeAptclonesystemstate.tar.gz:
   Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 127: Error executing command as another user: Not authorized
   
   This incident has been reported.

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




More information about the foundations-bugs mailing list