Package: python3 Version: 3.12.6-1 X-Debbugs-CC: [email protected]
When running `sudo apt-get update && sudo apt-get upgrade` the upgrade seems to run fine until it reaches a point when python attempts to run rtupdate hooks for python3.12 - at which point a series of `SyntaxWarning: invalid escape sequence...` is seen. Below is the transactional history: ```bash The following upgrades have been deferred due to phasing: chrome-remote-desktop The following packages have been kept back: libgexiv2-2 postgresql-client The following packages will be upgraded: debian-keyring dracut-install fwupd gstreamer1.0-pipewire helvum libepoxy-dev libepoxy0 libfwupd2 libmd4c0 libobject-pad-perl libpipewire-0.3-0t64 libpipewire-0.3-common libpipewire-0.3-modules libpq5 libpython3-dev libpython3-stdlib libqt6core6t64 libqt6dbus6 libqt6gui6 libqt6network6 libqt6opengl6 libqt6widgets6 libqt6xml6 libspa-0.2-bluetooth libspa-0.2-jack libspa-0.2-modules libtk8.6 pipewire pipewire-alsa pipewire-audio pipewire-audio-client-libraries pipewire-bin pipewire-jack pipewire-pulse postgresql-client-common python3 python3-dev python3-minimal python3-venv qt6-gtk-platformtheme qt6-qpa-plugins tk8.6 42 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 9,042 kB/50.4 MB of archives. After this operation, 475 kB of additional disk space will be used. N: Some packages may have been kept back due to phasing. Do you want to continue? [Y/n] y Get:1 http://deb.debian.org/debian testing/main amd64 libpython3-dev amd64 3.12.6-1 [9,952 B] Get:2 http://deb.debian.org/debian testing/main amd64 python3-dev amd64 3.12.6-1 [26.1 kB] Get:3 http://deb.debian.org/debian testing/main amd64 python3-venv amd64 3.12.6-1 [1,176 B] Get:4 http://deb.debian.org/debian testing/main amd64 python3-minimal amd64 3.12.6-1 [26.7 kB] Get:5 http://deb.debian.org/debian testing/main amd64 python3 amd64 3.12.6-1 [27.8 kB] Get:6 http://deb.debian.org/debian testing/main amd64 libpython3-stdlib amd64 3.12.6-1 [9,692 B] Get:7 http://deb.debian.org/debian testing/main amd64 libqt6core6t64 amd64 6.6.2+dfsg-12 [1,761 kB] Get:8 http://deb.debian.org/debian testing/main amd64 libqt6dbus6 amd64 6.6.2+dfsg-12 [255 kB] Get:9 http://deb.debian.org/debian testing/main amd64 libqt6network6 amd64 6.6.2+dfsg-12 [697 kB] Get:10 http://deb.debian.org/debian testing/main amd64 libqt6gui6 amd64 6.6.2+dfsg-12 [2,988 kB] Get:11 http://deb.debian.org/debian testing/main amd64 qt6-qpa-plugins amd64 6.6.2+dfsg-12 [91.4 kB] Get:12 http://deb.debian.org/debian testing/main amd64 libqt6opengl6 amd64 6.6.2+dfsg-12 [403 kB] Get:13 http://deb.debian.org/debian testing/main amd64 libqt6widgets6 amd64 6.6.2+dfsg-12 [2,528 kB] Get:14 http://deb.debian.org/debian testing/main amd64 libqt6xml6 amd64 6.6.2+dfsg-12 [82.7 kB] Get:15 http://deb.debian.org/debian testing/main amd64 postgresql-client-common all 263 [36.3 kB] Get:16 http://deb.debian.org/debian testing/main amd64 qt6-gtk-platformtheme amd64 6.6.2+dfsg-12 [98.4 kB] Fetched 9,042 kB in 1s (15.0 MB/s) Reading changelogs... Done Extracting templates from packages: 100% (Reading database ... 667306 files and directories currently installed.) Preparing to unpack .../libpython3-dev_3.12.6-1_amd64.deb ... Unpacking libpython3-dev:amd64 (3.12.6-1) over (3.12.5-1+b1) ... Preparing to unpack .../python3-dev_3.12.6-1_amd64.deb ... Unpacking python3-dev (3.12.6-1) over (3.12.5-1+b1) ... Preparing to unpack .../python3-venv_3.12.6-1_amd64.deb ... Unpacking python3-venv (3.12.6-1) over (3.12.5-1+b1) ... Preparing to unpack .../python3-minimal_3.12.6-1_amd64.deb ... Unpacking python3-minimal (3.12.6-1) over (3.12.5-1+b1) ... Setting up python3-minimal (3.12.6-1) ... (Reading database ... 667304 files and directories currently installed.) Preparing to unpack .../00-python3_3.12.6-1_amd64.deb ... running python pre-rtupdate hooks for python3.12... Unpacking python3 (3.12.6-1) over (3.12.5-1+b1) ... Preparing to unpack .../01-libpython3-stdlib_3.12.6-1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.12.6-1) over (3.12.5-1+b1) ... Preparing to unpack .../02-debian-keyring_2024.09.22_all.deb ... Unpacking debian-keyring (2024.09.22) over (2024.06.24) ... Preparing to unpack .../03-dracut-install_103-2_amd64.deb ... Unpacking dracut-install (103-2) over (103-1.1) ... Preparing to unpack .../04-libfwupd2_1.9.25-1_amd64.deb ... Unpacking libfwupd2:amd64 (1.9.25-1) over (1.9.24-1) ... Preparing to unpack .../05-fwupd_1.9.25-1_amd64.deb ... Unpacking fwupd (1.9.25-1) over (1.9.24-1) ... Preparing to unpack .../06-pipewire-pulse_1.2.4-2_amd64.deb ... Unpacking pipewire-pulse (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../07-pipewire-jack_1.2.4-2_amd64.deb ... Unpacking pipewire-jack:amd64 (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../08-pipewire-alsa_1.2.4-2_amd64.deb ... Unpacking pipewire-alsa:amd64 (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../09-libspa-0.2-jack_1.2.4-2_amd64.deb ... Unpacking libspa-0.2-jack:amd64 (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../10-libspa-0.2-bluetooth_1.2.4-2_amd64.deb ... Unpacking libspa-0.2-bluetooth:amd64 (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../11-gstreamer1.0-pipewire_1.2.4-2_amd64.deb ... Unpacking gstreamer1.0-pipewire:amd64 (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../12-libpipewire-0.3-0t64_1.2.4-2_amd64.deb ... Unpacking libpipewire-0.3-0t64:amd64 (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../13-libspa-0.2-modules_1.2.4-2_amd64.deb ... Unpacking libspa-0.2-modules:amd64 (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../14-pipewire_1.2.4-2_amd64.deb ... Unpacking pipewire:amd64 (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../15-pipewire-bin_1.2.4-2_amd64.deb ... Unpacking pipewire-bin (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../16-libpipewire-0.3-modules_1.2.4-2_amd64.deb ... Unpacking libpipewire-0.3-modules:amd64 (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../17-helvum_0.5.1+20240328-5_amd64.deb ... Unpacking helvum (0.5.1+20240328-5) over (0.5.1+20240328-4) ... Preparing to unpack .../18-libepoxy-dev_1.5.10-2_amd64.deb ... Unpacking libepoxy-dev:amd64 (1.5.10-2) over (1.5.10-1+b2) ... Preparing to unpack .../19-libepoxy0_1.5.10-2_amd64.deb ... Unpacking libepoxy0:amd64 (1.5.10-2) over (1.5.10-1+b2) ... Preparing to unpack .../20-libmd4c0_0.5.2-2+b1_amd64.deb ... Unpacking libmd4c0:amd64 (0.5.2-2+b1) over (0.5.2-1) ... Preparing to unpack .../21-libobject-pad-perl_0.814-1_amd64.deb ... Unpacking libobject-pad-perl (0.814-1) over (0.813-1) ... Preparing to unpack .../22-libpipewire-0.3-common_1.2.4-2_all.deb ... Unpacking libpipewire-0.3-common (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../23-libpq5_17.0-1_amd64.deb ... Unpacking libpq5:amd64 (17.0-1) over (17~rc1-1) ... Preparing to unpack .../24-libqt6core6t64_6.6.2+dfsg-12_amd64.deb ... Unpacking libqt6core6t64:amd64 (6.6.2+dfsg-12) over (6.6.2+dfsg-11) ... Preparing to unpack .../25-libqt6dbus6_6.6.2+dfsg-12_amd64.deb ... Unpacking libqt6dbus6:amd64 (6.6.2+dfsg-12) over (6.6.2+dfsg-11) ... Preparing to unpack .../26-libqt6network6_6.6.2+dfsg-12_amd64.deb ... Unpacking libqt6network6:amd64 (6.6.2+dfsg-12) over (6.6.2+dfsg-11) ... Preparing to unpack .../27-libqt6gui6_6.6.2+dfsg-12_amd64.deb ... Unpacking libqt6gui6:amd64 (6.6.2+dfsg-12) over (6.6.2+dfsg-11) ... Preparing to unpack .../28-qt6-qpa-plugins_6.6.2+dfsg-12_amd64.deb ... Unpacking qt6-qpa-plugins:amd64 (6.6.2+dfsg-12) over (6.6.2+dfsg-11) ... Preparing to unpack .../29-libqt6opengl6_6.6.2+dfsg-12_amd64.deb ... Unpacking libqt6opengl6:amd64 (6.6.2+dfsg-12) over (6.6.2+dfsg-11) ... Preparing to unpack .../30-libqt6widgets6_6.6.2+dfsg-12_amd64.deb ... Unpacking libqt6widgets6:amd64 (6.6.2+dfsg-12) over (6.6.2+dfsg-11) ... Preparing to unpack .../31-libqt6xml6_6.6.2+dfsg-12_amd64.deb ... Unpacking libqt6xml6:amd64 (6.6.2+dfsg-12) over (6.6.2+dfsg-11) ... Preparing to unpack .../32-libtk8.6_8.6.15-1_amd64.deb ... Unpacking libtk8.6:amd64 (8.6.15-1) over (8.6.14-1) ... Preparing to unpack .../33-pipewire-audio_1.2.4-2_all.deb ... Unpacking pipewire-audio (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../34-pipewire-audio-client-libraries_1.2.4-2_all.deb ... Unpacking pipewire-audio-client-libraries (1.2.4-2) over (1.2.4-1) ... Preparing to unpack .../35-postgresql-client-common_263_all.deb ... Unpacking postgresql-client-common (263) over (262) ... Preparing to unpack .../36-qt6-gtk-platformtheme_6.6.2+dfsg-12_amd64.deb ... Unpacking qt6-gtk-platformtheme:amd64 (6.6.2+dfsg-12) over (6.6.2+dfsg-11) ... Preparing to unpack .../37-tk8.6_8.6.15-1_amd64.deb ... Unpacking tk8.6 (8.6.15-1) over (8.6.14-1) ... Setting up libpipewire-0.3-common (1.2.4-2) ... Setting up postgresql-client-common (263) ... Setting up libqt6core6t64:amd64 (6.6.2+dfsg-12) ... Setting up libpython3-dev:amd64 (3.12.6-1) ... Setting up libtk8.6:amd64 (8.6.15-1) ... Setting up libfwupd2:amd64 (1.9.25-1) ... Setting up libpq5:amd64 (17.0-1) ... Setting up libobject-pad-perl (0.814-1) ... Setting up libqt6xml6:amd64 (6.6.2+dfsg-12) ... Setting up libepoxy0:amd64 (1.5.10-2) ... Setting up libspa-0.2-modules:amd64 (1.2.4-2) ... Setting up dracut-install (103-2) ... Setting up libspa-0.2-bluetooth:amd64 (1.2.4-2) ... Setting up libmd4c0:amd64 (0.5.2-2+b1) ... Setting up libpipewire-0.3-0t64:amd64 (1.2.4-2) ... Setting up fwupd (1.9.25-1) ... fwupd-offline-update.service is a disabled or a static unit not running, not starting it. fwupd-refresh.service is a disabled or a static unit not running, not starting it. fwupd.service is a disabled or a static unit not running, not starting it. Setting up debian-keyring (2024.09.22) ... Setting up libpython3-stdlib:amd64 (3.12.6-1) ... Setting up libqt6dbus6:amd64 (6.6.2+dfsg-12) ... Setting up tk8.6 (8.6.15-1) ... Setting up helvum (0.5.1+20240328-5) ... Setting up libepoxy-dev:amd64 (1.5.10-2) ... Setting up python3 (3.12.6-1) ... running python rtupdate hooks for python3.12... /usr/lib/x86_64-linux-gnu/gedit/plugins/externaltools/library.py:212: SyntaxWarning: invalid escape sequence '\-' RE_KEY = re.compile('^([a-zA-Z_][a-zA-Z0-9_.\-]*)(\[([a-zA-Z_@]+)\])?$') /usr/lib/x86_64-linux-gnu/gedit/plugins/snippets/substitutionparser.py:162: SyntaxWarning: invalid escape sequence '\s' match = re.match('\\\\?%s\s*' % self.REG_GROUP, tokens) /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/AstrawebParser.py:64: SyntaxWarning: invalid escape sequence '\/' url = re.split('(\/display[^"]*)', entry)[1] /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/AstrawebParser.py:66: SyntaxWarning: invalid escape sequence '\/' title = re.split('(\/display[^>]*)([^<]*)', entry)[2][1:].strip() /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/AstrawebParser.py:97: SyntaxWarning: invalid escape sequence '\/' lyrics = re.split('(<font face=arial size=2>)(.*)(<\/font><br></td><td*)', result)[2] /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/JetlyricsParser.py:50: SyntaxWarning: invalid escape sequence '\.' m = re.search('<a href=\'(http://jetlyrics\.com/viewlyrics\.php\?id=[0-9]*)\'>', result) /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/JlyricParser.py:49: SyntaxWarning: invalid escape sequence '\.' m = re.search('<div class=\'title\'><a href=\'(/artist/[^\.]*\.html)\'>', result) /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/TerraParser.py:39: SyntaxWarning: invalid escape sequence '\w' pattern = re.compile("&(#?\w+?);") /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/WinampcnParser.py:87: SyntaxWarning: invalid escape sequence '\[' lrcplaintext = re.sub('\[.*?\]', '', lrcplaintext) /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\(' LYRIC_TITLE_STRIP=["\(live[^\)]*\)", "\(acoustic[^\)]*\)", "\([^\)]*mix\)", "\([^\)]*version\)", "\([^\)]*edit\)", "\(feat[^\)]*\)"] /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\(' LYRIC_TITLE_STRIP=["\(live[^\)]*\)", "\(acoustic[^\)]*\)", "\([^\)]*mix\)", "\([^\)]*version\)", "\([^\)]*edit\)", "\(feat[^\)]*\)"] /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\(' LYRIC_TITLE_STRIP=["\(live[^\)]*\)", "\(acoustic[^\)]*\)", "\([^\)]*mix\)", "\([^\)]*version\)", "\([^\)]*edit\)", "\(feat[^\)]*\)"] /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\(' LYRIC_TITLE_STRIP=["\(live[^\)]*\)", "\(acoustic[^\)]*\)", "\([^\)]*mix\)", "\([^\)]*version\)", "\([^\)]*edit\)", "\(feat[^\)]*\)"] /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\(' LYRIC_TITLE_STRIP=["\(live[^\)]*\)", "\(acoustic[^\)]*\)", "\([^\)]*mix\)", "\([^\)]*version\)", "\([^\)]*edit\)", "\(feat[^\)]*\)"] /usr/lib/x86_64-linux-gnu/rhythmbox/plugins/lyrics/lyrics.py:44: SyntaxWarning: invalid escape sequence '\(' LYRIC_TITLE_STRIP=["\(live[^\)]*\)", "\(acoustic[^\)]*\)", "\([^\)]*mix\)", "\([^\)]*version\)", "\([^\)]*edit\)", "\(feat[^\)]*\)"] running python post-rtupdate hooks for python3.12... Setting up libspa-0.2-jack:amd64 (1.2.4-2) ... Setting up libpipewire-0.3-modules:amd64 (1.2.4-2) ... Setting up libqt6gui6:amd64 (6.6.2+dfsg-12) ... Setting up python3-venv (3.12.6-1) ... Setting up qt6-gtk-platformtheme:amd64 (6.6.2+dfsg-12) ... Setting up python3-dev (3.12.6-1) ... Setting up libqt6network6:amd64 (6.6.2+dfsg-12) ... Setting up qt6-qpa-plugins:amd64 (6.6.2+dfsg-12) ... Setting up libqt6opengl6:amd64 (6.6.2+dfsg-12) ... Setting up pipewire-bin (1.2.4-2) ... Setting up libqt6widgets6:amd64 (6.6.2+dfsg-12) ... Setting up pipewire:amd64 (1.2.4-2) ... Setting up pipewire-jack:amd64 (1.2.4-2) ... Setting up gstreamer1.0-pipewire:amd64 (1.2.4-2) ... Setting up pipewire-alsa:amd64 (1.2.4-2) ... Setting up pipewire-audio-client-libraries (1.2.4-2) ... Setting up pipewire-pulse (1.2.4-2) ... Processing triggers for libglib2.0-0t64:amd64 (2.82.1-1) ... Processing triggers for libglib2.0-0t64:i386 (2.82.1-1) ... Processing triggers for dbus (1.14.10-4+b1) ... Processing triggers for mailcap (3.72) ... Processing triggers for desktop-file-utils (0.27-2) ... Processing triggers for hicolor-icon-theme (0.18-1) ... Processing triggers for gnome-menus (3.36.0-1.1+b2) ... Processing triggers for libc-bin (2.40-2) ... Processing triggers for man-db (2.13.0-1) ... Setting up pipewire-audio (1.2.4-2) ... ``` The upgrade seems to finish up with out issue, but upon attempting to report the syntax warnings via reportbug I was met with the following error: ```bash $ reportbug python3 Traceback (most recent call last): File "/usr/bin/reportbug", line 2386, in <module> main() File "/usr/bin/reportbug", line 1071, in main if newui.initialize(): ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/reportbug/ui/gtk_ui.py", line 1895, in initialize Gtk.Window.set_default_icon_from_file(DEBIAN_LOGO) gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file “/usr/share/pixmaps/debian-logo.png” (3) Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/reportbug/ui/gtk_ui.py", line 207, in excepthook application.run_once_in_main_thread(cls.start_dialog, ^^^^^^^^^^^ NameError: name 'application' is not defined Original exception was: Traceback (most recent call last): File "/usr/bin/reportbug", line 2386, in <module> main() File "/usr/bin/reportbug", line 1071, in main if newui.initialize(): ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/reportbug/ui/gtk_ui.py", line 1895, in initialize Gtk.Window.set_default_icon_from_file(DEBIAN_LOGO) gi.repository.GLib.GError: gdk-pixbuf-error-quark: Couldn’t recognize the image file format for file “/usr/share/pixmaps/debian-logo.png” (3) rik@devrikx:~/Downloads$ reportbug --application python3 Usage: reportbug [options] <package | filename> reportbug: error: no such option: --application ``` I'd just like to report the issue(s) so it/they can be fixed. Thank you! I'm running Debian Trixie (Debian GNU/Linux kernel 6.10.6-amd64) with Gnome Desktop (the latter from Sid). Best regards, Richard Winters

