当我尝试安装新软件时,该过程中断dpkg
并libllvm12
出现以下错误:
The following packages have mismatched dependencies:
libllvm12 : Break: libllvm12:i386 (!= 1:12.0.0-3ubuntu1~20.04.3) but 1:12.0.0-3ubuntu1~20.04.4 is installed libllvm12:i386 : Break: libllvm12 (!= 1:12.0.0-3ubuntu1~20.04.4) but 1:12.0.0-3ubuntu1~20.04.3 is installed
E: Mismatched dependencies. Try 'apt --fix-broken install' without any packages (or specify a solution)
也sudo apt --fix-broken install
不起作用,因为dpkg
出现错误:
dpkg-deb: error: subprocess <decompression> returned exit status 2
error dpkg: error processing file /var/cache/apt/archives/libllvm12_1%3a12.0.0-3 ubuntu1~20.04.4_amd64.deb (--unpack):
cannot copy extracted data to './usr/lib/x86_64-linux-gnu/libLLVM-12.so. 1' to '/usr/lib/x86_64-linux-gnu/libLLVM-12.so.1.dpkg-new':
end of file or unexpected stream
Errors were encountered while processing:
/var/cache/apt/archives/libllvm12_1%3a12.0.0-3ubuntu1~20.04.4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
此外,Ubuntu 商店已损坏,只有文本,齿轮图标,并且无法找到屏幕截图。