我已经下载了最新版本openvpn-as
,当我尝试安装它时,它显示依赖性问题
$ sudo dpkg -i openvpn-as-latest-ubuntu18.amd_64.deb
Selecting previously unselected package openvpn-as.
(Reading database ... 166060 files and directories currently installed.)
Preparing to unpack openvpn-as-latest-ubuntu18.amd_64.deb ...
Unpacking openvpn-as (2.8.3-f28d2eae-Ubuntu18) ...
dpkg: dependency problems prevent configuration of openvpn-as:
openvpn-as depends on libssl1.1 (>= 1.1.1); however:
Version of libssl1.1:amd64 on system is 1.1.0g-2ubuntu4.
openvpn-as depends on openvpn-as-bundled-clients; however:
Package openvpn-as-bundled-clients is not installed.
dpkg: error processing package openvpn-as (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
openvpn-as
$ openssl version
OpenSSL 1.1.1g 21 Apr 2020
$ apt-cache policy openssl
openssl:
Installed: 1.1.0g-2ubuntu4
Candidate: 1.1.0g-2ubuntu4
Version table:
*** 1.1.0g-2ubuntu4 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
但是我必须手动安装 OpenSSL 1.1.1g,因为 apt-get 已停止在 1.1.0g。
如何修复此问题?
答案1
找到答案了。我的/etc/apt/sources.list
不知什么原因坏了。
修复是 这里