Debian:无法安装某些软件包

Debian:无法安装某些软件包

我发出了命令:

apt-get install tor

我得到了以下结果:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 tor : Depends: libevent-2.0-5 (>= 2.0.10-stable) but it is not installable
       Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
E: Broken packages

有人能解释一下为什么会发生这种情况吗?我是 Linux 新手。

答案1

  1. 确保您的/etc/apt/source.list文件和内部/etc/apt/sources.list.d目录。如果有,请将其注释掉。
  2. 跑步apt-get 更新apt-get 升级命令。
  3. 跑步apt-get 自动删除apt-get -f 安装命令。

希望以上内容对您有帮助。

相关内容