我发出了命令:
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
- 确保您的/etc/apt/source.list文件和内部/etc/apt/sources.list.d目录。如果有,请将其注释掉。
- 跑步apt-get 更新和apt-get 升级命令。
- 跑步apt-get 自动删除和apt-get -f 安装命令。
希望以上内容对您有帮助。