卸载 Google Chrome 后无法访问 Dash

卸载 Google Chrome 后无法访问 Dash

通过命令删除 google chrome 软件包后,sudo apt-get remove google-chrome-stable我无法访问 dash。我尝试了sudo apt-get install unity-scope-home命令,但它给出了未满足依赖项的错误。之后我尝试了sudo apt-get -f install,它询问 y/n 是否安装libgcc1软件包。但随后它给出了错误:

E: Cannot get debconf version. Is debconf installed? 
Debconf: apt-extracttemplates failed: No such file or directory
dpkg: regarding .../libgcc1_1%3a4.8.1-10ubuntu9_i386.deb containing libgcc1:i386, pre-dependency problem: 
libgcc1 pre-depends on multiarch-support
multiarch-support is unpacked, but never has been configured.

dpkg: error processing /var/cache/apt/archives/libgcc1_1%3a4.8.1-10ubuntu9_i386.deb (--unpack):
pre-dependency problem - not installing libgcc1:i386
Errors were encountered while processing:
/var/cache/apt/archives/libgcc1_1%3a4.8.1-10ubuntu9_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

我花了一整天时间在 askubuntu 和其他 ubuntu 上研究这个错误,最后在 raspberry 论坛上找到了答案。解决方案如下:

wget http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/multiarch-support_2.17-93ubuntu4_i386.deb
dpkg -i --force-depends multiarch-support_2.17-93ubuntu4_i386.deb

此后我libgcc1使用以下命令安装了包:

sudo apt-get install libgcc1

通过这些命令,您可以纠正多架构支持包错误设置的依赖关系

答案2

尝试重新加载 unity。在终端中输入:

unity

相关内容