[Bug 2038949] [NEW] do-release-upgrade makes incorrect changes to sources.list, causing crash

Gavin John 2038949 at bugs.launchpad.net
Tue Oct 10 16:25:18 UTC 2023


Public bug reported:

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.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade kinetic uec-images

-- 
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 makes incorrect changes to sources.list, causing
  crash

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