Public bug reported:

running python rtupdate hooks for python3.12...
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 55, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of gdebi-core
error running python rtupdate hook gdebi-core
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 55, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of gdebi
error running python rtupdate hook gdebi
/usr/share/hplip/base/imagesize.py:186: SyntaxWarning: invalid escape sequence 
'\#'
  re.compile('\#define\s+\S+\s+\d+')     : ('image/x-xbitmap', xbmsize),
/usr/share/hplip/base/imagesize.py:187: SyntaxWarning: invalid escape sequence 
'\/'
  re.compile('\/\* XPM \*\/')            : ('image/x-xpixmap', xpmsize),
/usr/share/hplip/base/imagesize.py:189: SyntaxWarning: invalid escape sequence 
'\*'
  re.compile('^II\*\x00')                : ('image/tiff', tiffsize),
/usr/share/hplip/fax/ledmfax.py:46: SyntaxWarning: invalid escape sequence '\d'
  http_result_pat = re.compile(b"""HTTP/\d.\d\s(\d+)""", re.I)
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 55, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of ibus
error running python rtupdate hook ibus
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 55, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of libglib2.0-dev-bin
error running python rtupdate hook libglib2.0-dev-bin
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 55, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of rhythmbox-plugin-alternative-toolbar
error running python rtupdate hook rhythmbox-plugin-alternative-toolbar
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 55, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of rhythmbox-plugins
error running python rtupdate hook rhythmbox-plugins
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 55, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of system-config-printer
error running python rtupdate hook system-config-printer
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 55, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of virt-manager
error running python rtupdate hook virt-manager
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 55, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of virtinst
error running python rtupdate hook virtinst
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 55, in from_package
    raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of xfce4-panel-profiles
error running python rtupdate hook xfce4-panel-profiles
dpkg: error processing package python3 (--configure):
 installed python3 package post-installation script subprocess returned error 
exit status 4
Setting up libeot0:amd64 (0.01-5build3) ...
dpkg: dependency problems prevent configuration of python3-distupgrade:
 python3-distupgrade depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-distupgrade (--configure):
 dependency problems - leaving unconfigured
Setting up firebird3.0-common-doc (3.0.11.33703.ds4-2ubuntu2) ...
No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                          Setting up libreoffice-uiconfig-calc 
(4:24.2.5-0ubuntu0.24.04.2) ...
Setting up librevenge-0.0-0:amd64 (0.0.5-3build1) ...
dpkg: dependency problems prevent configuration of apport:
 apport depends on python3; however:
  Package python3 is not configured yet.

dpkg: error processing package apport (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python3-apport:
 python3-apport depends on python3:any; however:
  Package python3 is not configured yet.

No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                          No apport report written because MaxReports is 
reached already
                                                                                
                                                                                
        dpkg: error processing package python3-apport (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of netplan.io:
 netplan.io depends on python3; however:
  Package python3 is not configured yet.

dpkg: error processing package netplan.io (--configure):
 dependency problems - leaving unconfigured
Setting up fonts-crosextra-carlito (20230309-2) ...
No apport report written because MaxReports is reached already
                                                              Setting up 
libxmlsec1t64-nss:amd64 (1.2.39-5build2) ...
Setting up firebird3.0-common (3.0.11.33703.ds4-2ubuntu2) ...
Setting up fonts-sil-gentium (20081126:1.03-4) ...
dpkg: dependency problems prevent configuration of python3-pil:amd64:
 python3-pil:amd64 depends on python3 (<< 3.13); however:
  Package python3 is not configured yet.
 python3-pil:amd64 depends on python3 (>= 3.12~); however:
  Package python3 is not configured yet.
 python3-pil:amd64 depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-pil:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Setting up 
libreoffice-uiconfig-impress (4:24.2.5-0ubuntu0.24.04.2) ...
Setting up libreoffice-style-colibre (4:24.2.5-0ubuntu0.24.04.2) ...
dpkg: dependency problems prevent configuration of python3-cryptography:
 python3-cryptography depends on python3 (>= 3~); however:
  Package python3 is not configured yet.
 python3-cryptography depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-cryptography (--configure):
 dependency problems - leaving unconfigured
Setting up libwebsocket-api-java (1.1-2) ...
No apport report written because MaxReports is reached already
                                                              dpkg: dependency 
problems prevent configuration of python3-idna:
 python3-idna depends on python3:any; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-idna (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-release-upgrader-core:
 ubuntu-release-upgrader-core depends on python3:any; however:
  Package python3 is not configured yet.
 ubuntu-release-upgrader-core depends on python3-distupgrade (= 1:24.04.22); 
however:
  Package python3-distupgrade is not configured yet.

dpkg: error processing package ubuntu-release-upgrader-core (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              No apport report 
written because MaxReports is reached already
                                                                                
                                            Setting up 
libreoffice-uiconfig-common (4:24.2.5-0ubuntu0.24.04.2) ...
Setting up libfreehand-0.1-1 (0.1.2-3build3) ...
Setting up liborcus-0.18-0:amd64 (0.19.2-3build3) ...
Setting up fonts-linuxlibertine (5.3.0-6) ...
Setting up libbsh-java (2.0b4-20) ...
Setting up libjsp-api-java (2.3.4-3) ...
Setting up libmhash2:amd64 (0.9.9.9-9build3) ...
Setting up libmythes-1.2-0:amd64 (2:1.2.5-1build1) ...
Setting up fonts-dejavu-extra (2.37-8) ...
Setting up libreoffice-uiconfig-base (4:24.2.5-0ubuntu0.24.04.2) ...
Setting up libexttextcat-data (3.4.7-1build1) ...
Setting up libabw-0.1-1:amd64 (0.1.3-1build4) ...
Setting up libservlet-api-java (4.0.1-2) ...
Setting up libepubgen-0.1-1:amd64 (0.1.1-1ubuntu6) ...
dpkg: dependency problems prevent configuration of python3-netplan:
 python3-netplan depends on python3; however:
  Package python3 is not configured yet.

dpkg: error processing package python3-netplan (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Setting up 
fonts-crosextra-caladea (20200211-2) ...
Setting up libreoffice-style-yaru (4:24.2.5-0ubuntu0.24.04.2) ...
Setting up libsuitesparseconfig7:amd64 (1:7.6.1+dfsg-1build1) ...
dpkg: dependency problems prevent configuration of python3-uno:
 python3-uno depends on python3:any; however:
  Package python3 is not configured yet.
 python3-uno depends on python3 (<< 3.13); however:
  Package python3 is not configured yet.
 python3-uno depends on python3 (>= 3.12~); however:
  Package python3 is not configured yet.

dpkg: error processing package python3-uno (--configure):
 dependency problems - leaving unconfigured
Setting up libatk-wrapper-java (0.40.0-3build2) ...
No apport report written because MaxReports is reached already

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.22
ProcVersionSignature: Ubuntu 6.8.0-41.41-generic 6.8.12
Uname: Linux 6.8.0-41-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: KDE
Date: Fri Sep  6 08:32:44 2024
InstallationDate: Installed on 2024-09-05 (1 days ago)
InstallationMedia: Kubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240425.1)
PackageArchitecture: all
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug dist-upgrade noble

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

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

Title:
  sudo apt upgrade ends in failure. 'running python rtupdate hooks for
  python 3.12' raises an exception

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to