我无法通过 Ubuntu 软件中心安装或卸载

我无法通过 Ubuntu 软件中心安装或卸载

我最近尝试更新 chrome,发现无法通过 Ubuntu 软件中心安装或卸载任何软件。当我尝试打开它时,我得到了 这个窗口。我点击了修复,然后输入了密码,然后这个窗口。

细节:

installArchives() failed: (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 298492 files and directories currently installed.)
Preparing to unpack .../openarena-081-players_0.8.5split-2_all.deb ...
Unpacking openarena-081-players (0.8.5split-2) ...
dpkg-deb (subprocess): decompressing archive member: internal gzip read error: '<fd:4>: incorrect data check'
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/openarena-081-players_0.8.5split-2_all.deb (--unpack):
 subprocess dpkg-deb --fsys-tarfile returned error exit status 2
No apport report written because the error message indicates an issue on the local system
Errors were encountered while processing:
 /var/cache/apt/archives/openarena-081-players_0.8.5split-2_all.deb
Error in function: 
dpkg: dependency problems prevent configuration of openarena-data:
 openarena-data depends on openarena-081-players; however:
  Package openarena-081-players is not installed.

dpkg: error processing package openarena-data (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openarena:
 openarena depends on openarena-081-players; however:
  Package openarena-081-players is not installed.
 openarena depends on openarena-data (>= 0.8.5-3~); however:
  Package openarena-data is not configured yet.
 openarena depends on openarena-data (<< 0.8.6~); however:
  Package openarena-data is not configured yet.

dpkg: error processing package openarena (--configure):
 dependency problems - leaving unconfigured

另外,当我尝试直接从 Ubuntu 软件中心下载东西时,出现一个窗口,提示我只有在卸载 Open Arena 和 openarena-data 后才能安装这些东西。但是,我无法卸载这些东西,因为,你知道,我无法卸载任何东西。

答案1

软件中心一直很糟糕。我不知道他们为什么删除了 Synaptic。

sudo apt install synaptic

但是,要安装 Chrome,最好使用 gdebi

sudo apt install gdebi

右键单击 deb 文件并选择“使用 gdebi 打开”。一切应该都很好……确保没有其他软件管理器同时运行。一次只能安装一个。

祝你好运。
格德比

在此处输入图片描述

答案2

下载的其中一个软件包已损坏,因此出现错误:

dpkg-deb (subprocess): decompressing archive member: internal gzip read error: '<fd:4>: incorrect data check'

要强制再次下载,您首先需要从本地缓存中删除损坏的下载:

sudo apt-get clean

然后更新可用包列表:

sudo apt-get update

安装缺少的软件包:

sudo apt-get -f install

并确保所有包都正确配置:

sudo dpkg --configure -a

相关内容