[Bug 2083754] Re: [SRU] Failed to upgrade xdiagnose (3.8.10ubuntu1) over (3.8.10)

Dave Jones 2083754 at bugs.launchpad.net
Tue Dec 3 23:22:37 UTC 2024


Sponsoring patches from comment 15 for oracular and noble with a couple
of minor changes. The noble upload needs a different version to ensure
it's earlier (using 3.8.12~24.04.1). The oracular upload I'll also tweak
to remove the .git garbage I accidentally introduced in the upload for
the py3-fix (an unfortunate side-effect of scripting the update to 70 or
so packages, which is also why the version number was incongruous for a
version 1 style package).

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

Title:
  [SRU] Failed to upgrade xdiagnose (3.8.10ubuntu1) over (3.8.10)

Status in xdiagnose:
  New
Status in xdiagnose package in Ubuntu:
  Fix Released
Status in xdiagnose source package in Noble:
  Fix Committed
Status in xdiagnose source package in Oracular:
  Triaged

Bug description:
  Impact
  ------

  Xdiagnose fails to install and causes disruption on upgrades. This
  very bug has many people affected and a handful of duplicates, and
  there are some external reports:

  https://askubuntu.com/questions/1530070/problem-installing-xdiagnose
  https://ubuntuforums.org/showthread.php?t=2502192

  Test case
  ---------

  Install the package from the proposed pocket. It should install and
  not raise a Dpkg error. 'dpkg -l xdiagnose' should say

  ii  xdiagnose      3.8.11ubuntu1 all          X.org diagnosis tool

  Regression potential
  --------------------

  Regression could manifest as a missing failsafe-x Systemd service.
  This can be ruled out with 'systemctl status failsafe-x'.

  Notes
  -----

  There will be a bunch of Python "SyntaxWarning: invalid escape
  sequence" when installing. These warnings do not have to do with the
  fix and are already tracked elsewhere (LP:2089003).

  Original report
  ---------------

  System was upgraded from 24.04 to 24.10. Now, when I attempt to
  install available package upgrades, I get this error:

  $ sudo aptitude upgrade
  The following packages will be upgraded:
    xdiagnose
  1 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/57.4 kB of archives. After unpacking 2,048 B will be freed.
  Do you want to continue? [Y/n/?] y
  (Reading database ... 291217 files and directories currently installed.)
  Preparing to unpack .../xdiagnose_3.8.10ubuntu1_all.deb ...
  Unpacking xdiagnose (3.8.10ubuntu1) over (3.8.10) ...
  dpkg: error processing archive /var/cache/apt/archives/xdiagnose_3.8.10ubuntu1_all.deb (--unpack):
   unable to open '/usr/lib/systemd/system/failsafe-x.service.dpkg-new': No such file or directory
  No apport report written because the error message indicates an issue on the local system
                                                                                           /usr/lib/python3/dist-packages/xdiagnose/applet.py:185: SyntaxWarning: invalid escape sequence '\w'
    re_kparam = re.compile("^([\w\.]+)=(.*)")
  /usr/lib/python3/dist-packages/xdiagnose/applet.py:195: SyntaxWarning: invalid escape sequence '\w'
    re_kparam = re.compile("^([\w\.]+)=(.*)")
  /usr/lib/python3/dist-packages/xdiagnose/applet.py:324: SyntaxWarning: invalid escape sequence '\['
    re_xorg_error = re.compile("^\[\s*([\d\.]+)\] \(EE\) (.*)$")
  /usr/lib/python3/dist-packages/xdiagnose/applet.py:325: SyntaxWarning: invalid escape sequence '\['
    re_dmesg_error = re.compile("^\[\s*(\d+\.\d+)\] (.*(?:BUG|ERROR|WARNING).*)$")
  /usr/lib/python3/dist-packages/xdiagnose/applet.py:326: SyntaxWarning: invalid escape sequence '\d'
    re_jockey_error = re.compile("^(\d+\-\d+-\d+ \d+:\d+:\d+,\d+) ERROR: (.*)$")
  /usr/lib/python3/dist-packages/xdiagnose/config_update.py:105: SyntaxWarning: invalid escape sequence '\s'
    re_param = re.compile("^\s*(\w+)\s*"+delim+"\s*(.*)")
  /usr/lib/python3/dist-packages/xdiagnose/config_update.py:105: SyntaxWarning: invalid escape sequence '\s'
    re_param = re.compile("^\s*(\w+)\s*"+delim+"\s*(.*)")
  /usr/lib/python3/dist-packages/xdiagnose/config_update.py:133: SyntaxWarning: invalid escape sequence '\s'
    p = re.compile("^\s*"+key+"\s*"+delim+"\s*(\"?)(.*)(\"?)")
  /usr/lib/python3/dist-packages/xdiagnose/config_update.py:133: SyntaxWarning: invalid escape sequence '\s'
    p = re.compile("^\s*"+key+"\s*"+delim+"\s*(\"?)(.*)(\"?)")
  /usr/lib/python3/dist-packages/xdiagnose/config_update.py:133: SyntaxWarning: invalid escape sequence '\s'
    p = re.compile("^\s*"+key+"\s*"+delim+"\s*(\"?)(.*)(\"?)")
  /usr/lib/python3/dist-packages/xdiagnose/config_update.py:145: SyntaxWarning: invalid escape sequence '\s'
    p = re.compile("^\s*"+key+"\s*"+delim)
  /usr/lib/python3/dist-packages/xdiagnose/config_update.py:145: SyntaxWarning: invalid escape sequence '\s'
    p = re.compile("^\s*"+key+"\s*"+delim)
  /usr/lib/python3/dist-packages/xdiagnose/config_update.py:175: SyntaxWarning: invalid escape sequence '\o'
    'BAR':                        'f(1&&2*$i^2) # \o/',
  /usr/lib/python3/dist-packages/xdiagnose/edid.py:67: SyntaxWarning: invalid escape sequence '\('
    re_head = re.compile("\(II\) .*\(\d+\): EDID \(in hex\):$")
  /usr/lib/python3/dist-packages/xdiagnose/edid.py:68: SyntaxWarning: invalid escape sequence '\('
    re_edid = re.compile("\(II\) .*\(\d+\):\s\t([0-9a-f]{32})$")
  /usr/lib/python3/dist-packages/xdiagnose/edid.py:287: SyntaxWarning: invalid escape sequence '\('
    regex = re.compile("\(II\) .*\(\d+\):\s+(.*)$")
  /usr/lib/python3/dist-packages/xdiagnose/pci_devices.py:97: SyntaxWarning: invalid escape sequence '\/'
    PciDevice('i945g',      '(8086:2772|945G[ \/])',  [INTEL], gen='i945',      opengl='1.4' ),
  /usr/lib/python3/dist-packages/xdiagnose/pci_devices.py:99: SyntaxWarning: invalid escape sequence '\/'
    PciDevice('i945gm',     '(8086:27a2|945GM[ \/])', [INTEL], gen='i945',      opengl='1.4' ),
  /usr/lib/python3/dist-packages/xdiagnose/utils/config.py:16: SyntaxWarning: invalid escape sequence '\)'
    '''Yet another INI-style config file parser.
  /usr/lib/python3/dist-packages/xdiagnose/xorglog.py:94: SyntaxWarning: invalid escape sequence '\('
    m = re.search('\(II\) Loading.*modules\/drivers\/(.+)_drv\.so', line)
  Errors were encountered while processing:
   /var/cache/apt/archives/xdiagnose_3.8.10ubuntu1_all.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/xdiagnose/+bug/2083754/+subscriptions




More information about the Ubuntu-sponsors mailing list