包操作失败 - 需要帮助

包操作失败 - 需要帮助

打开 Ubuntu 软件中心时出现此错误:

New software cannot be installed because there is a problem with the software 
currently installed. Do you want to repair this problem now?

我单击“修复”并显示:

Package operation failed
The installation or removal of a software package failed.

当我点击详细信息时,我看到的就是这些内容。

installArchives() failed: E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
E: Cannot get debconf version. Is debconf installed?
debconf: apt-extracttemplates failed: No such file or directory
dpkg: regarding .../libgcc1_1%3a4.9.1-0ubuntu1_amd64.deb containing libgcc1:amd64, pre-dependency problem:
 libgcc1 pre-depends on multiarch-support
  multiarch-support is unpacked, but has never been configured.
dpkg: error processing archive /var/cache/apt/archives/libgcc1_1%3a4.9.1-0ubuntu1_amd64.deb (--unpack):
 pre-dependency problem - not installing libgcc1:amd64
dpkg: regarding .../libgcc1_1%3a4.9.1-0ubuntu1_i386.deb containing libgcc1:i386, pre-dependency problem:
 libgcc1 pre-depends on multiarch-support
  multiarch-support is unpacked, but has never been configured.
dpkg: error processing archive /var/cache/apt/archives/libgcc1_1%3a4.9.1-0ubuntu1_i386.deb (--unpack):
 pre-dependency problem - not installing libgcc1:i386
Errors were encountered while processing:
 /var/cache/apt/archives/libgcc1_1%3a4.9.1-0ubuntu1_amd64.deb
 /var/cache/apt/archives/libgcc1_1%3a4.9.1-0ubuntu1_i386.deb
Error in function: 
dpkg: dependency problems prevent configuration of libc6:amd64:
 libc6:amd64 depends on libgcc1; however:
  Package libgcc1 is not installed.
dpkg: error processing package libc6:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6:i386:
 libc6:i386 depends on libgcc1; however:
  Package libgcc1 is not installed.
dpkg: error processing package libc6:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of multiarch-support:
 multiarch-support depends on libc6 (>= 2.3.6-2); however:
  Package libc6:amd64 is not configured yet.
dpkg: error processing package multiarch-support (--configure):
 dependency problems - leaving unconfigured

更新

输入 dpkg --configure -a 后出现以下错误

dpkg:依赖性问题阻止了 libc6:amd64 的配置:libc6:amd64 依赖于 libgcc1;但是:软件包 libgcc1 未安装。

dpkg: 错误处理软件包 libc6:amd64 (--configure):依赖性问题 - 未配置 dpkg:依赖性问题阻止配置 libc6:i386:libc6:i386 依赖于 libgcc1;然而:软件包 libgcc1 未安装。

dpkg: 错误处理软件包 libc6:i386 (--configure):依赖性问题 - 未配置 dpkg:依赖性问题阻止配置 multiarch-support:multiarch-support 依赖于 libc6 (>= 2.3.6-2);然而:软件包 libc6:amd64 尚未配置。

dpkg:处理软件包 multiarch-support 时出错(--configure):依赖性问题 - 未配置 处理时遇到错误:libc6:amd64 libc6:i386 multiarch-support 由于出现错误,我没有输入其他命令。


关于如何解决这个问题,您有什么想法吗?我是 Ubuntu 和 Linux 的新用户,所以请尽可能保持简单。

提前致谢。


感谢您如此迅速地回复。我输入后出现以下错误dpkg--configure-a

dpkg: dependency problems prevent configuration of libc6:amd64:
 libc6:amd64 depends on libgcc1; however:
  Package libgcc1 is not installed.

dpkg: error processing package libc6:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6:i386:
 libc6:i386 depends on libgcc1; however:
  Package libgcc1 is not installed.

dpkg: error processing package libc6:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of multiarch-support:
 multiarch-support depends on libc6 (>= 2.3.6-2); however:
  Package libc6:amd64 is not configured yet.

dpkg: error processing package multiarch-support (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6:amd64
 libc6:i386
 multiarch-support

由于错误,我没有输入其他命令。

相关内容