由于错误退出状态 2 和错误代码 (1),无法安装任何内容

由于错误退出状态 2 和错误代码 (1),无法安装任何内容

每当我尝试安装任何东西时,我都会尝试安装 chrome,但它不允许我安装任何东西

dpkg-deb: error: archive '/var/cache/apt/archives/google-chrome-stable_90.0.4430.93-1_amd64.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg: error processing archive /var/cache/apt/archives/google-chrome-stable_90.0.4430.93-1_amd64.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/google-chrome-stable_90.0.4430.93-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

这是我到处都遇到的错误,我已经尝试了所有方法,尝试了互联网上能找到的所有解决方案

 subprocess dpkg-deb --control returned error exit status 2
E: Sub-process /usr/bin/dpkg returned an error code (1)
Errors were encountered while processing:
 /var/cache/apt/archives/google-chrome-stable_90.0.4430.93-1_amd64.deb

我甚至无法从 snyaptic 或终端安装,两者都给出相同的错误

请帮助我,我很绝望

答案1

您已中断下载。请清理程序包缓存并重试

sudo apt-get clean
sudo apt-get update
sudo apt-get install google-chrome-stable

相关内容