Área de Trabalho$ apt remove xdiagnose E: Não foi possível abrir arquivo de trava /var/lib/dpkg/lock-frontend - open (13: Permissão negada)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? sergio@sergio-POS-EIH61CE:~/Área de Trabalho$ Em qui., 9 de jan. de 2025 às 10:30, Launchpad Bug Tracker < 2083...@bugs.launchpad.net> escreveu: > This bug was fixed in the package xdiagnose - 3.8.12~24.10.1 > > --------------- > xdiagnose (3.8.12~24.10.1) oracular; urgency=high > > [ Nathan Pratta Teodosio ] > * d/xdiagnose.install: Remove 'debian/failsafe-x.service > lib/systemd/system' > line, as dh_installinit already exists in d/rules and this results in a > double installation, which confuses dh_installinit and causes a failure > to install the package. LP: #2083754. > > [ Dave Jones ] > * Remove .git rubbish accidentally introduced in last upload > * setup.py: Fix version mangling to account for non-native suffix > > -- Dave Jones <dave.jo...@canonical.com> Tue, 03 Dec 2024 23:17:26 > +0000 > > ** Changed in: xdiagnose (Ubuntu Oracular) > Status: Fix Committed => Fix Released > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (2088262). > 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 Released > Status in xdiagnose source package in Oracular: > Fix Released > > 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 ${versionInProposed} 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 > > -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xdiagnose in Ubuntu. https://bugs.launchpad.net/bugs/2083754 Title: [SRU] Failed to upgrade xdiagnose (3.8.10ubuntu1) over (3.8.10) To manage notifications about this bug go to: https://bugs.launchpad.net/xdiagnose/+bug/2083754/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp