web-dev-qa-db-ja.com

Ubuntu 16.04 + Bitnami WP AWS + Webminのインストールが失敗する+ E:パッケージ[]にはインストール候補がありません

Bitnamiのサポートフォーラム にもオープンスレッドがあります。 BitnamiによるWordPress Multisite Certified をAWSマーケットプレイス経由でインストールしました。

私は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.

前もって感謝します!

1
Ryan Dorn

/etc/apt/sources.listに入力しようとしましたか?これは、awsでの16.04での私の挑戦です。

cat /etc/apt/sources.list | grep -v '#'

deb http://eu-west-2.ec2.archive.ubuntu.com/ubuntu/ xenialメイン制限deb-src http://eu-west-2.ec2。 archive.ubuntu.com/ubuntu/ xenialメイン制限

deb http://eu-west-2.ec2.archive.ubuntu.com/ubuntu/ xenial-updatesメイン制限deb-src http:// eu-west-2。 ec2.archive.ubuntu.com/ubuntu/ xenial-updatesメイン制限

deb http://eu-west-2.ec2.archive.ubuntu.com/ubuntu/ xenial universe deb-src http://eu-west-2.ec2.archive .ubuntu.com/ubuntu / xenial universe deb http://eu-west-2.ec2.archive.ubuntu.com/ubuntu/ xenial-updates universe deb-src http://eu-west-2.ec2.archive.ubuntu.com/ubuntu/ xenial-updates universe

deb http://eu-west-2.ec2.archive.ubuntu.com/ubuntu/ xenial multiverse deb-src http://eu-west-2.ec2.archive .ubuntu.com/ubuntu / xenial multiverse deb http://eu-west-2.ec2.archive.ubuntu.com/ubuntu/ xenial-updates multiverse deb-src http://eu-west-2.ec2.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

deb http://eu-west-2.ec2.archive.ubuntu.com/ubuntu/ xenial-backportsメイン制限ユニバースマルチバースdeb-src http:// eu-west- 2.ec2.archive.ubuntu.com/ubuntu/ xenial-backports main limited universe multiverse

deb http://security.ubuntu.com/ubunt xenial-securityメイン制限deb-src http://security.ubuntu.com/ubunt xenial-securityメイン制限deb http://security.ubuntu.com/ubunt xenial-security universe deb-src http://security.ubuntu.com/ubunt xenial-security universe deb- http://security.ubuntu.com/ubunt xenial-security multiverse deb-src http://security.ubuntu.com/ubunt xenial-security multiverse

ランニング

apt-cache madison  libnet-ssleay-Perl libauthen-pam-Perl libio-pty-Perl apt-show-versions python

選択したリポジトリから利用可能なパッケージを表示します

libnet-ssleay-Perl | 1.72-1build1 | http://gb.archive.ubuntu.com/ubuntu xenial/main AMD64 Packages

libauthen-pam-Perl | 0.16-3build2 | http://gb.archive.ubuntu.com/ubuntu xenial/universe AMD64 Packages

libio-pty-Perl | 1:1.08-1.1build1 | http://gb.archive.ubuntu.com/ubuntu xenial/main AMD64 Packages

apt-show-versions |     0.22.7 | http://gb.archive.ubuntu.com/ubuntu xenial/universe AMD64 Packages 

apt-show-versions |     0.22.7 | http://gb.archive.ubuntu.com/ubuntu xenial/universe i386 Packages

python | 2.7.12-1~16.04 | http://gb.archive.ubuntu.com/ubuntu xenial-updates/main AMD64 Packages

python |   2.7.11-1 | http://gb.archive.ubuntu.com/ubuntu xenial/main AMD64 Packages

これが役立つことを願っています。ありがとう

1
bogdan