[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 '\.'
Andrey Belenky
2056344 at bugs.launchpad.net
Wed Mar 27 10:08:07 UTC 2024
👍
Andrey Belenky reacted via Gmail
<https://www.google.com/gmail/about/?utm_source=gmail-in-product&utm_medium=et&utm_campaign=emojireactionemail#app>
On Wed, Mar 27, 2024 at 5:30 AM Philip Lamb <2056344 at bugs.launchpad.net>
wrote:
> The backslash is being treated as an escape character for the enclosing
> string. Needs to be replaced with two backslashes to produce an actual
> backslash IN the regex.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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
>
>
--
בתודה,
אנדרי בלנקי
נייד: 052-3996798 | פקס: 072-3412237 | דוא"ל: andrey.belenky at gmail.com
** Attachment added: "unnamed"
https://bugs.launchpad.net/bugs/2056344/+attachment/5759884/+files/unnamed
--
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