更新时,我在更新管理器中收到此错误:
installArchives() failed: (Reading database ...
[...]
(Reading database ... 100%%
(Reading database ... 168216 files and directories currently installed.)
Preparing to replace libasound2 1.0.25-1ubuntu10 (using .../libasound2_1.0.25-1ubuntu10.1_i386.deb) ...
Unpacking replacement libasound2 ...
dpkg-deb (subprocess): data: internal gzip read error: '<fd:4>: data error'
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing /var/cache/apt/archives/libasound2_1.0.25-1ubuntu10.1_i386.deb (--unpack):
subprocess dpkg-deb --fsys-tarfile returned error exit status 2
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/var/cache/apt/archives/libasound2_1.0.25-1ubuntu10.1_i386.deb
Error in function:
答案1
更新管理器似乎在提取某些文件时出错。可能是在下载更新时出现问题,某些下载的文件可能已损坏。
要删除这些文件,请在终端上执行此操作
sudo apt-get clean
sudo apt-get update
这应该会删除所有下载的文件。之后,再次运行更新管理器以重新下载并安装更新。