libssl1.0.0 不会让我安装任何东西

5 debian skype

我的电脑出现了同样的问题已经有一段时间了,它真的一直困扰着我。这一切都始于大约一个月前我安装 Skype 时。另外,我很抱歉,我实际上并没有使用 Ubuntu,但如果我有选择的话我会的:P。我正在使用 Debian:更具体地说是 SteamOS。我在 Debian 用户论坛上发布了 3 个不同的问题,但没有得到答案。我希望也许你们可以提供帮助,因为我认为这不是 Debian 独有的问题。

基本上,每当我尝试安装大多数程序时,我都会收到此错误:

desktop@steamos:~$ sudo apt-get install zip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libssl1.0.0 : Breaks: libssl1.0.0:i386 (!= 1.0.1e-2+deb7u4) but 1.0.1e-2+deb7u4+bsos1 is to be installed
libssl1.0.0:i386 : Breaks: libssl1.0.0 (!= 1.0.1e-2+deb7u4+bsos1) but 1.0.1e-2+deb7u4 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)

我在这里阅读并为某人找到了答案,所以我尝试了它。他们说只需重新下载 libssl1 和 dpkg 即可。但这就是发生的事情。

desktop@steamos:~$ sudo apt-get download libssl1.0.0:i386
[sudo] password for desktop: 
Get:1 Downloading libssl1.0.0 1.0.1e-2+deb7u4+bsos1 [3,008 kB]
Fetched 3,008 kB in 5s (528 kB/s) 
desktop@steamos:~$ sudo dpkg -i '/home/desktop/libssl1.0.0_1.0.1e-2+deb7u4+bsos1_i386.deb' 
(Reading database ... 114464 files and directories currently installed.)
Preparing to replace libssl1.0.0:i386 1.0.1e-2+deb7u4+bsos1 (using .../libssl1.0.0_1.0.1e-2+deb7u4+bsos1_i386.deb) ...
De-configuring libssl1.0.0:amd64 ...
Unpacking replacement libssl1.0.0:i386 ...
dpkg: error processing libssl1.0.0:i386 (--install):package libssl1.0.0:i386 1.0.1e-2+deb7u4+bsos1 cannot be configured because libssl1.0.0:amd64 is at a different version (1.0.1e-2+deb7u4)
dpkg: error processing libssl1.0.0:amd64 (--install):package libssl1.0.0:amd64 1.0.1e-2+deb7u4 cannot be configured because libssl1.0.0:i386 is at a different version (1.0.1e-2+deb7u4+bsos1)
Errors were encountered while processing:
libssl1.0.0:i386
libssl1.0.0:amd64
Run Code Online (Sandbox Code Playgroud)

那么任何想法如何解决这个问题?每次我尝试安装使用 libssl1 的任何东西时都会遇到中断错误,它阻止我使用任何解压缩工具(除了 tar)、WINE,甚至是矮人堡垒:(

编辑:运行后

sudo apt-cache policy libssl1.0.0:i386
Run Code Online (Sandbox Code Playgroud)

我得到

desktop@steamos:~$ sudo apt-cache policy libssl1.0.0:i386
libssl1.0.0:i386:
  Installed: 1.0.1e-2+deb7u4+bsos1
  Candidate: 1.0.1e-2+deb7u4+bsos1
  Version table:
 *** 1.0.1e-2+deb7u4+bsos1 0
        500 http://repo.steampowered.com/steamos/ alchemist/main i386 Packages
        500 http://repo.steampowered.com/steamos/ alchemist_beta/main i386 Packages
        500 http://repo.steampowered.com/internal/steamos/ alchemist/main i386 Packages
        100 /var/lib/dpkg/status
     1.0.1e-2+deb7u4 0
        500 http://ftp.us.debian.org/debian/ wheezy/main i386 Packages
     1.0.1e-2+deb7u3 0
        500 http://security.debian.org/debian-security/ wheezy/updates/main i386 Packages
Run Code Online (Sandbox Code Playgroud)

并在运行后

sudo apt-cache policy libssl1.0.0
Run Code Online (Sandbox Code Playgroud)

我得到:

desktop@steamos:~$ sudo apt-cache policy libssl1.0.0
libssl1.0.0:
  Installed: 1.0.1e-2+deb7u4
  Candidate: 1.0.1e-2+deb7u4+bsos1
  Version table:
     1.0.1e-2+deb7u4+bsos1 0
        500 http://repo.steampowered.com/steamos/ alchemist/main amd64 Packages
        500 http://repo.steampowered.com/steamos/ alchemist_beta/main amd64 Packages
        500 http://repo.steampowered.com/internal/steamos/ alchemist/main amd64 Packages
 *** 1.0.1e-2+deb7u4 0
        500 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages
        100 /var/lib/dpkg/status
     1.0.1e-2+deb7u3 0
        500 http://security.debian.org/debian-security/ wheezy/updates/main amd64 Packages
Run Code Online (Sandbox Code Playgroud)

sai*_*895 1

您有 i386 的较新版本的库,但 amd64 的较旧版本的库。因此,您会遇到冲突,因为您不能(而且可能不应该)拥有同一库的不同版本(但架构不同)。这样做apt-get dist-upgrade将更新所有软件包并安装任何必要的依赖项。