我在Bitnami 的支持论坛上也有一个开放线程。我已经通过 AWS 市场安装了由 Bitnami 认证的 WordPress 多站点。
我正在尝试安装 webmin (或任何软件包,真的)并且不能
通过 SSH,我运行:
sudo apt-get update
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
哪个输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libnet-ssleay-perl 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
Package libauthen-pam-perl 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
Package libio-pty-perl 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
Package apt-show-versions 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
Package python 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 'libnet-ssleay-perl' has no installation candidate
E: Package 'libauthen-pam-perl' has no installation candidate
E: Package 'libio-pty-perl' has no installation candidate
E: Package 'apt-show-versions' has no installation candidate
E: Package 'python' has no installation candidate
我已经尝试了一堆修复,似乎 /etc/apt/sources.list 中需要调整一些东西......奇怪的是这个文件是空的。
我也试过
nano /etc/apt/sources.list
deb http://download.webmin.com/download/repository sarge contrib
...然后..
sudo apt-get -f install webmin
...输出
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:
webmin : Depends: libnet-ssleay-perl but it is not installable
Depends: libauthen-pam-perl but it is not installable
Depends: libio-pty-perl but it is not installable
Depends: apt-show-versions but it is not installable
Depends: python but it is not installable
E: Unable to correct problems, you have held broken packages.
先感谢您!
您是否尝试填充 /etc/apt/sources.list ?这是我在 aws 中的 16.04:
跑步
显示可从选定的 repos 获得的包
希望这会有所帮助。谢谢