我正在尝试安装 VPN 客户端(圣天诺 dVPN)在 Linux Mint 18.2 上.deb
包管理器返回:
"Error: Dependency is not satisfiable: shadowsocks-libev"
sudo apt-get install shadowsocks-libev
回
E: Unable to locate package shadowsocks-libev"
并sudo snap install shadowsocks-libev
有效,但依赖性错误仍然存在。
这是我安装的第一个依赖项snap
,所以以这种方式安装时可能会遇到识别它们的问题?
我怎样才能找出问题出在哪里?
到目前为止,我还没有找到解决方案,但我只剩下一个未满足的依赖项,请参阅:edit2。
编辑:似乎我遇到了运行中未满足的依赖项的下一堵墙
sudo sh -c 'printf "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/stretch-backports.list'
sudo apt update`
回报
Ign:1 http://deb.debian.org/debian stretch-backports InRelease
Get:11 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Fetched 417 kB in 3s (124 kB/s)
Reading package lists... Done
W: GPG error: http://deb.debian.org/debian stretch-backports InRelease: The >following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 04EE7237B7D453EC
W: The repository 'http://deb.debian.org/debian stretch-backports InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
并且sudo apt -t stretch-backports install shadowsocks-libev
只返回 apt 命令列表。
sudo apt-get install shadowsocks-libev
现在返回
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
shadowsocks-libev :
Depends: libc-ares2 (>= 1.11.0~rc1) but 1.10.0-3ubuntu0.2 is to be installed
Depends: libcork16 but it is not installable
Depends: libcorkipset1 but it is not installable
E: Unable to correct problems, you have held broken packages.
libc-ares2 是可以安装的,但对于其他两个,它找不到源
Reading state information... Done
Package libcorkipset1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libcorkipset1' has no installation candidate
编辑2:找到并安装了 libcork16 和 libcorkipset1 的源代码,但它仍然停留在
The following packages have unmet dependencies:
shadowsocks-libev : Depends: libc-ares2 (>= 1.11.0~rc1) but 1.10.0-3ubuntu0.2 is to be installed
E: Unable to correct problems, you have held broken packages.
我已经安装了 libc-ares21.10.0-3ubuntu0.2,但它无法识别它......如果我修复这个问题,它应该可以工作
有任何想法吗?
答案1
Mint 基于 debian 9,因此您可以使用以下命令安装必要的软件包
sudo sh -c 'printf "deb http://deb.debian.org/debian stretch-backports main" > /etc/apt/sources.list.d/stretch-backports.list'
sudo apt update
sudo apt -t stretch-backports install shadowsocks-libev
Snap 安装无法解决您需要使用 apt 安装的 apt 依赖性问题