Syntax warning while upgrading

Bug #2053038 reported by madigal
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Mate Noble distro:

Dépaquetage de python3-distupgrade (1:24.04.6) sur (1:24.04.5) ...
Paramétrage de python3-distupgrade (1:24.04.6) ...
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeGettext.py:33: SyntaxWarning: invalid escape sequence '\%'
  arguments_in_message = message.count("%") - message.count("\%")
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeGettext.py:34: SyntaxWarning: invalid escape sequence '\%'
  arguments_in_translation = translated.count("%") - translated.count("\%")
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeQuirks.py:400: SyntaxWarning: invalid escape sequence '\s'
  if re.search("^cpu\s*:\s*POWER8", cpuinfo, re.MULTILINE):
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeQuirks.py:448: SyntaxWarning: invalid escape sequence '\-'
  re.compile("ros-[^\-]+-%s" % package_name))
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeQuirks.py:557: SyntaxWarning: invalid escape sequence '\s'
  if re.search("^Processor\s*:\s*ARMv[45]", cpuinfo,
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeQuirks.py:642: SyntaxWarning: invalid escape sequence '\*'
  if re.search("^ \* PASS", connected[0], re.MULTILINE):
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeQuirks.py:646: SyntaxWarning: invalid escape sequence '\*'
  elif re.search("^ \*.*unreachable", connected[0], re.MULTILINE):
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeQuirks.py:780: SyntaxWarning: invalid escape sequence '\s'
  if re.search("^flags\s+:.* pae ", cpuinfo, re.MULTILINE):
Paramétrage de ubuntu-release-upgrader-core (1:24.04.6) ...
---
ProblemType: Bug
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CurrentDesktop: MATE
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader (not installed)
ProcEnviron:
 LANG=fr_FR.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcVersionSignature: Ubuntu 6.8.0-7.7-generic 6.8.0-rc3
Tags: noble dist-upgrade
Uname: Linux 6.8.0-7-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True

Related branches

Revision history for this message
madigal (osse7) wrote : CurrentDmesg.txt.txt

apport information

tags: added: noble
tags: added: apport-collected dist-upgrade
description: updated
Revision history for this message
madigal (osse7) wrote : JournalErrors.txt

apport information

Revision history for this message
madigal (osse7) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
madigal (osse7) wrote : VarLogDistupgradeAptlog.txt

apport information

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
tags: added: foundations-todo
tags: added: fr-6631
Nick Rosbrook (enr0n)
Changed in ubuntu-release-upgrader (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:24.04.12

---------------
ubuntu-release-upgrader (1:24.04.12) noble; urgency=medium

  [ Calvin Mwadime Makokha ]
  * fix(regex): fix invalid escape sequence error (LP: #2053038)

  [ Nick Rosbrook ]
  * Run pre-build.sh: updating mirrors, demotions, and translations.

 -- Nick Rosbrook <email address hidden> Tue, 02 Apr 2024 11:01:32 -0400

Changed in ubuntu-release-upgrader (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.