您似乎遇到了系统存储库配置错误。Plesk 要求启用系统存储库。
为了实验,我ubuntu-16.04.3-server-amd64.iso
使用默认设置从官方安装了操作系统(只需输入-输入-输入):
# cat /etc/*release | grep VERSION
VERSION="16.04.3 LTS (Xenial Xerus)"
VERSION_ID="16.04"
VERSION_CODENAME=xenial
然后使用一键安装程序的 Plesk Onyx 17.8(目前是默认设置)。
安装成功。我可以看到,提到的包取决于libsnmp30
,但不是特定的版本:
# apt-cache depends plesk-php56-snmp
plesk-php56-snmp
Depends: libc6
Depends: libsnmp30
Depends: plesk-php56
但是,您缺少的版本已经安装:
# dpkg -l | grep libsnmp30
ii libsnmp30:amd64 5.7.3+dfsg-1ubuntu4.1 amd64 SNMP (Simple Network Management Protocol) library
它来自xenial-updates main
存储库,默认启用:
# apt-cache showpkg libsnmp30 | grep 4.1 | grep binary-amd64
5.7.3+dfsg-1ubuntu4.1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages) (/var/lib/dpkg/status)
以防万一,这是我的sources.list
:
# cat /etc/apt/sources.list | grep -v "^#"
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse