Code:
mark@~$ sudo apt update
[sudo] password for mark:
Hit:1 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu noble InRelease
Get:3 http://us.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu noble-backports InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [614 kB]
Get:7 https://esm.ubuntu.com/apps/ubuntu noble-apps-updates InRelease [7,468 B]
Get:8 https://esm.ubuntu.com/apps/ubuntu noble-apps-security InRelease [7,532 B]
Get:9 http://us.archive.ubuntu.com/ubuntu noble-updates/main i386 Packages [322 kB]
Get:10 https://esm.ubuntu.com/infra/ubuntu noble-infra-updates InRelease [7,461 B]
Get:11 https://esm.ubuntu.com/infra/ubuntu noble-infra-security InRelease [7,462 B]
Fetched 1,093 kB in 1s (766 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
Code:
~$ apt list --upgradable
Listing... Done
lintian/noble-updates,noble-updates 2.117.0ubuntu1.2 all [upgradable from: 2.117.0ubuntu1.1]
xdiagnose/noble-updates,noble-updates 3.8.10ubuntu0.1 all [upgradable from: 3.8.10]
Code:
~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following upgrades have been deferred due to phasing:
lintian
The following packages will be upgraded:
xdiagnose
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/57.5 kB of archives.
After this operation, 2,048 B disk space will be freed.
Do you want to continue? [Y/n] Y
dpkg: warning: files list file for package 'xdiagnose' missing; assuming package has no files currently installed
(Reading database ... 255819 files and directories currently installed.)
Preparing to unpack .../xdiagnose_3.8.10ubuntu0.1_all.deb ...
Unpacking xdiagnose (3.8.10ubuntu0.1) over (3.8.10) ...
dpkg: error processing archive /var/cache/apt/archives/xdiagnose_3.8.10ubuntu0.1_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
Errors were encountered while processing:
/var/cache/apt/archives/xdiagnose_3.8.10ubuntu0.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code:
~$ sudo apt install --reinstall xdiagnose
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be upgraded:
xdiagnose
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/57.5 kB of archives.
After this operation, 2,048 B disk space will be freed.
dpkg: warning: files list file for package 'xdiagnose' missing; assuming package has no files currently installed
(Reading database ... 255819 files and directories currently installed.)
Preparing to unpack .../xdiagnose_3.8.10ubuntu0.1_all.deb ...
Unpacking xdiagnose (3.8.10ubuntu0.1) over (3.8.10) ...
dpkg: error processing archive /var/cache/apt/archives/xdiagnose_3.8.10ubuntu0.1_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
Errors were encountered while processing:
/var/cache/apt/archives/xdiagnose_3.8.10ubuntu0.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)