使用apt-get remove时如何解决E:内部错误?

我用:

apt-get remove 

要删除某些软件,但它会显示:

 error:E: Internal Error, No file name for libssl1.0.0 . 

我也尝试这个来解决错误:

 wget http://launchpadlibrarian.net/102991621/libssl1.0.0_1.0.0e-2ubuntu4.5_i386.deb sudo dpkg -i libssl1.0.0_1.0.0e-2ubuntu4.5_i386.deb 

但它也给出了一个错误:

  libssl1.0.0:i386 1.0.0e-2ubuntu4.5 cannot be configured because libssl1.0.0:amd64 is in a different version (1.0.1-4ubuntu5.3) 

我想知道解决这个问题的正确方法。

对我来说这有效:

 sudo dpkg --configure -a 

Src: E:dpkg被打断了…运行’sudo dpkg –configure -a’

然后重新启动,

 apt-get update apt-get upgrade 

我希望它也适合你!

在这两个上使用dpkg -i:

 http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.1-4ubuntu5.3_i386.deb http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.1-4ubuntu5.3_amd64.deb 

我在Ubuntu 12.04上也遇到过这个错误。 我用以下命令修复它:

 sudo apt-get update sudo apt-get clean sudo apt-get install -f sudo dpkg -i /var/cache/apt/archives/*.deb sudo dpkg --configure -a sudo apt-get install -f sudo apt-get dist-upgrade 

我的问题源于对rhythmbox的依赖程度不高。 只有以下3个命令摆脱了依赖和错误。 这些来自之前的post。

 error: E: Internal Error, No file name for libssl1.0.0 

我刚进入

 sudo apt-get update sudo apt-get clean sudo apt-get install -f 

如果有建议

 sudo dpkg --configure -a 

不起作用,尝试重新安装libssl1.0.0:i386libssl1.0.0:amd64 。 您可能必须强制执行此操作,因为您暂时中断了依赖项,直到使用followting命令的第四个重新安装这些程序包:

 sudo dpkg --purge --force-depends libssl1.0.0:i386 sudo dpkg --purge --force-depends libssl1.0.0:amd64 sudo dpkg --configure -a sudo apt-get -f install