如何修复包依赖错误?

如何修复包依赖错误?

由于这个原因,我无法安装任何东西。我已经尝试过了,sudo apt-get install -f但什么也没做。以下是输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libsigsegv2 linux-headers-5.13.0-27-generic linux-hwe-5.13-headers-5.13.0-27
  linux-image-5.13.0-27-generic linux-modules-5.13.0-27-generic
  linux-modules-extra-5.13.0-27-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libssl0.9.8
The following NEW packages will be installed:
  libssl0.9.8
0 upgraded, 1 newly installed, 0 to remove and 162 not upgraded.
2 not fully installed or removed.
Need to get 0 B/692 kB of archives.
After this operation, 2,445 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 220950 files and directories currently installed.)
Preparing to unpack .../libssl0.9.8_0.9.8o-7ubuntu3.2.14.04.1_amd64.deb ...
Unpacking libssl0.9.8:amd64 (0.9.8o-7ubuntu3.2.14.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libssl0.9.8_0.9.8o-7ubuntu3.2.14.04.1_amd64.deb (--unpack):
 unable to open '/lib/x86_64-linux-gnu/libssl.so.0.9.8.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/libssl0.9.8_0.9.8o-7ubuntu3.2.14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容