[Bug 2062435] Re: ubuntu 24.04 partial upgrade failes with python exception
Grizzly(Francis Smit)
2062435 at bugs.launchpad.net
Fri Apr 19 00:44:24 UTC 2024
seams I grabbed an extra the ubuntu-bug call on the end
--
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/2062435
Title:
ubuntu 24.04 partial upgrade failes with python exception
Status in update-manager package in Ubuntu:
New
Bug description:
1) lsb_release -rd
No LSB modules are available.
Description: Ubuntu Noble Numbat (development branch)
Release: 24.04
2) apt-cache policy update-manager
update-manager:
Installed: 1:24.04.6
Candidate: 1:24.04.6
Version table:
*** 1:24.04.6 500
500 http://au.archive.ubuntu.com/ubuntu noble/main amd64 Packages
500 http://au.archive.ubuntu.com/ubuntu noble/main i386 Packages
100 /var/lib/dpkg/status
3) expected it to do a partial upgrade on clicking the "partial upgrade" button
4) crashes with the following messages
$ sudo update-manager
(update-manager:497814): dconf-WARNING **: 10:29:23.723: failed to
commit changes to dconf: Failed to execute child process “dbus-launch”
(No such file or directory)
(update-manager:497814): dconf-WARNING **: 10:29:23.723: failed to
commit changes to dconf: Failed to execute child process “dbus-launch”
(No such file or directory)
(update-manager:497814): libunity-CRITICAL **: 10:29:23.731: file
unity-launcher.c: line 1638: unexpected error: Failed to execute child
process “dbus-launch” (No such file or directory) (g-exec-error-quark,
8)
(update-manager:497814): libunity-CRITICAL **: 10:29:23.731:
unity_launcher_entry_dbus_impl_construct: assertion 'conn != NULL'
failed
(update-manager:497814): libunity-CRITICAL **: 10:29:23.735: unity-inspector.vala:96: Unable to connect to session bus: Failed to execute child process “dbus-launch” (No such file or directory)
warning: could not initiate dbus
/usr/lib/python3/dist-packages/uaclient/apt.py:288: Warning: W:Unable to read /var/lib/ubuntu-advantage/apt-esm/etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or directory)
apt_pkg.init()
/usr/lib/python3/dist-packages/uaclient/apt.py:270: Warning: W:Unable to read /var/lib/ubuntu-advantage/apt-esm/etc/apt/preferences.d/ - DirectoryExists (2: No such file or directory)
apt_pkg.init_system()
ERROR:root:not handled exception:
Traceback (most recent call last):
File "/usr/lib/ubuntu-release-upgrader/do-partial-upgrade", line 114, in <module>
controller.doPartialUpgrade()
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 2609, in doPartialUpgrade
self.prepare()
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 465, in prepare
if not self._pythonSymlinkCheck():
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 415, in _pythonSymlinkCheck
config.readfp(f)
^^^^^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did
you mean: 'read'?
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeViewGtk3.py", line 540, in _handleException
apport_crash(type, value, tb)
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeApport.py", line 57, in apport_crash
apport_excepthook(type, value, tb)
TypeError: apport_excepthook() missing 1 required positional argument: 'exc_tb'
Original exception was:
Traceback (most recent call last):
File "/usr/lib/ubuntu-release-upgrader/do-partial-upgrade", line 114, in <module>
controller.doPartialUpgrade()
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 2609, in doPartialUpgrade
self.prepare()
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 465, in prepare
if not self._pythonSymlinkCheck():
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 415, in _pythonSymlinkCheck
config.readfp(f)
^^^^^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?
[grizzlysmit:~] 34s 1 $ ubuntu-bug update-manager
REDACTED config part /etc/cloud/cloud.cfg.d/99-installer.cfg, insufficient permissions
REDACTED config part /etc/cloud/cloud.cfg.d/90-installer-network.cfg, insufficient permissions
Gdk-Message: 10:31:25.104: Unable to load col-resize from the cursor theme
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: update-manager 1:24.04.6
ProcVersionSignature: Ubuntu 6.8.0-22.22-generic 6.8.1
Uname: Linux 6.8.0-22-generic x86_64
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Apr 19 10:30:28 2024
InstallationDate: Installed on 2024-04-09 (10 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Daily amd64 (20240408)
PackageArchitecture: all
SourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2062435/+subscriptions
More information about the foundations-bugs
mailing list