apt-upgrade 期间 dpkg 中没有这样的文件或目录错误

apt-upgrade 期间 dpkg 中没有这样的文件或目录错误

当我运行时apt upgrade,我得到以下输出:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libllvm11
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  gir1.2-clutter-1.0 gir1.2-clutter-gst-3.0 gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-gtkclutter-1.0 libjcat1 libllvm12 linux-headers-5.4.0-81 linux-headers-5.4.0-81-generic
  linux-image-5.4.0-81-generic linux-modules-5.4.0-81-generic linux-modules-extra-5.4.0-81-generic
The following packages will be upgraded:
  alsa-ucm-conf base-files distro-info-data firefox firefox-locale-en fwupd fwupd-signed gnome-settings-daemon gnome-settings-daemon-common gnome-shell-extension-desktop-icons
  google-chrome-stable grub-common grub-pc grub-pc-bin grub2-common language-pack-en language-pack-en-base language-pack-gnome-en language-pack-gnome-en-base libdrm-amdgpu1
  libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl-mesa0 libexiv2-27 libfwupd2 libfwupdplugin1 libgbm1 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa
  libgles2-mesa libglx-mesa0 libssh-4 libssh-gcrypt-4 libssl1.1 libxatracker2 linux-firmware linux-generic linux-headers-generic linux-image-generic linux-libc-dev login
  mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers openssh-client openssl openvpn passwd python3-distupgrade ssh-askpass-gnome ubuntu-release-upgrader-core
  ubuntu-release-upgrader-gtk update-notifier update-notifier-common wireless-regdb xserver-common xserver-xephyr xserver-xorg-core xserver-xorg-legacy xwayland
64 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
12 standard security updates
Need to get 371 kB/382 MB of archives.
After this operation, 552 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libssh-4 amd64 0.9.3-2ubuntu2.2 [170 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu focal-updates/main amd64 libssh-gcrypt-4 amd64 0.9.3-2ubuntu2.2 [202 kB]
Fetched 371 kB in 1s (285 kB/s)           
Extracting templates from packages: 100%
Preconfiguring packages ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
dpkg (subprocess): unable to execute split package reassembly (dpkg-split): No such file or directory
dpkg: error processing archive /var/cache/apt/archives/base-files_11ubuntu5.4_amd64.deb (--unpack):
 subprocess dpkg-split returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/base-files_11ubuntu5.4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

但是,该文件确实存在,如下所示:

-rw-r--r-- 1 root root     60600 Aug  5 14:14 base-files_11ubuntu5.4_amd64.deb

有人知道丢失的文件或目录是什么,或者我如何找到它?

我已删除该文件,但该文件已自动下载,因此我认为它是一个很好的副本。我已尝试清除、配置 -a 以及我在网站上找到的其他选项https://www.makeuseof.com/how-to-find-and-fix-broken-packages-on-linux/,但无济于事。

任何帮助都将不胜感激。

兰迪

@kanehekili——使用 Ubuntu 20.04 LTS;以下是输出sudo blkid

/dev/sdb5: UUID="debce135-ac9a-426d-ad1c-f195eebfa64e" TYPE="swap" PARTUUID="00026846-05"
/dev/sdb1: UUID="dba513cf-01c7-4ba3-b17e-ed0cf8aedf05" TYPE="ext4" PARTUUID="00026846-01"
/dev/sda1: LABEL="Files" UUID="d2350e92-0df8-4736-9a35-87490b711ef5" TYPE="ext4" PARTUUID="04033ca9-01"
/dev/sdc1: LABEL="D_DISK" UUID="0A008D13008D0743" TYPE="ntfs" PARTUUID="9a67ebf9-01"

@Nmath——我确实删除了一些部分以便更清晰。上面的原始输出块已被编辑以显示完整输出。

相关内容