[Bug 2056344] Re: "apt-get install software-properties-gtk" command produces an error: /usr/lib/python3/dist-packages/softwareproperties/gtk/DialogMirror.py:197: SyntaxWarning: invalid escape sequence '\.'

Mike 2056344 at bugs.launchpad.net
Sun Mar 24 13:02:41 UTC 2024


downgrading python3-276 to python3-271 helped! since then GTK is opening
up again.

https://discourse.ubuntu.com/t/spec-apt-deb822-sources-by-default/29333

fthx
Feb 16
FYI I did revert to this one:
https://launchpad.net/ubuntu/+source/python-apt/2.7.1~ubuntu1/+build/27047450/+files/python3-apt_2.7.1~ubuntu1_amd64.deb 12
(I do use old sources format).

-- 
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/2056344

Title:
  "apt-get install software-properties-gtk" command produces an error:
  /usr/lib/python3/dist-
  packages/softwareproperties/gtk/DialogMirror.py:197: SyntaxWarning:
  invalid escape sequence '\.'

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

Bug description:
  after an upgrade to 24.04 version unable to open Software&Update application
  While trying reinstall software-properties-gtk package I get the following error:
  $ sudo apt-get install  software-properties-gtk
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  The following NEW packages will be installed:
    software-properties-gtk
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/83.1 kB of archives.
  After this operation, 520 kB of additional disk space will be used.
  Selecting previously unselected package software-properties-gtk.
  (Reading database ... 212809 files and directories currently installed.)
  Preparing to unpack .../software-properties-gtk_0.99.42_all.deb ...
  Unpacking software-properties-gtk (0.99.42) ...
  Setting up software-properties-gtk (0.99.42) ...
  /usr/lib/python3/dist-packages/softwareproperties/gtk/DialogMirror.py:197: SyntaxWarning: invalid escape sequence '\.'
    elif re.match("^((ftp)|(http)|(file)|(rsync)|(https))://([a-z]|[A-Z]|[0-9]|:|/|\.|~)+$", uri) == None:
  Processing triggers for shared-mime-info (2.4-1) ...
  Processing triggers for desktop-file-utils (0.26-1ubuntu5) ...
  Processing triggers for hicolor-icon-theme (0.17-2) ...
  Processing triggers for gnome-menus (3.36.0-1.1ubuntu1) ...
  Processing triggers for libglib2.0-0:amd64 (2.79.2-1~ubuntu1) ...
  Processing triggers for man-db (2.12.0-3) ...

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




More information about the foundations-bugs mailing list