web-dev-qa-db-ja.com

Ubuntu Server 17の新規インストール-パッケージを見つけられず、phpmyadminの依存関係が満たされていない

助けてくれてありがとう。

私のサーバー:

Ubuntu Server 17.04に基本ソフトウェアとLAMPをインストールしました。 (私は最初に18を試しましたが、このバグのために( https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1767569 )usbデバイスからインストールできません。

目標は、現在のイントラネットにローカルWebサーバーを設置することです。 Apache、PHPおよびMySQLはすべて正常に動作しています。

Webサーバーを指すようにDNSを構成し、Apacheのデフォルトサイトを取得しました。 phpinfoを開くとPHP Version 7.0.15-1ubuntu4が返されるので、php7は正常に動作しています。

まだftpを試していませんが、後で行うことができます。

問題:

今必要なのは、phpmadminを実行することです。/phpmyadminを開くときにエラーが発生するので、サーバーを確認したところ、phpmyadminがLAMPと一緒にインストールされていないようです(/ usr/share /にphpmyadminフォルダーはありません)

私がこれまでに試したこと:

  1. deb http://us.archive.ubuntu.com/ubuntu/ zesty universe multiversedeb http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe multiverseをレポリストに追加しました
  2. PhpmyadminリポジトリSudo add-apt-repository ppa:nijel/phpmyadminを追加しました
  3. apt-get updateapt-get upgradeを複数回使用した
  4. 使用済みapt-get install -f
  5. 私が今思い出すことができない多くの事柄は、その後取り消されました。

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:
phpmyadmin : Depends: php but it is not installable
              Depends: php-mbstring but it is not installable
              Depends: php-xml but it is not installable
              Depends: libjs-sphinxdoc (>= 1.0) but it is not installable
              Depends: dbconfig-mysql but it is not installable or
                       dbconfig-no-thanks but it is not installable or
                       dbconfig-common (< 2.0.0) but it is not installable
              Depends: php-php-gettext but it is not installable or
                       php-gettext (<= 1:7.0) but it is not installable
              Depends: php-phpseclib (>= 2.0) but it is not installable
              Recommends: php-curl but it is not installable
              Recommends: php-Gd but it is not installable
              Recommends: php-bz2 but it is not installable
              Recommends: php-Zip but it is not installable
              Recommends: php-tcpdf but it is not installable
E: Unable to correct problems, you have held broken packages.

コマンドapt-get install phpmyadmin php php-mbstring php-xml libjs-sphinxdoc dbconfig-mysql php-php-gettext php-phpseclib php-curl php-Gd php-bz2 php-Zip php-tcpdfを発行すると、次のエラーが表示されます。

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package php 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 php-mbstring 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 php-xml 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 libjs-sphinxdoc 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 dbconfig-mysql 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 php-php-gettext 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 php-phpseclib 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 php-curl 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 php-Gd 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 php-bz2 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 php-Zip 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 php-tcpdf 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 'php' has no installation candidate
E: Package 'php-mbstring' has no installation candidate
E: Package 'php-xml' has no installation candidate
E: Package 'libjs-sphinxdoc' has no installation candidate
E: Package 'dbconfig-mysql' has no installation candidate
E: Package 'php-php-gettext' has no installation candidate
E: Package 'php-phpseclib' has no installation candidate
E: Package 'php-curl' has no installation candidate
E: Package 'php-Gd' has no installation candidate
E: Package 'php-bz2' has no installation candidate
E: Package 'php-Zip' has no installation candidate
E: Package 'php-tcpdf' has no installation candidate

今、私は他に何ができるかわかりませんが、ここで尋ねます。多くのユーザーがLAMPを使用したLinuxでphpmyadminを動作させるのに問題を抱えていることを見てきましたが、これらの問題はすべて、すでに試したソリューションで解決されたようです。ここで助けていただければ幸いです。 (尋ねる場合:上記で言及したsources.listの変更は別として、他のリポジトリは追加しませんでした。)

1
FrischVerwegen

よし、

解決策は、上記のコメントで投稿したようなものでした。バージョン17.04はサポート終了のため、ソフトウェアを見つけることができませんでした。 16.04 LTSを再インストールしましたが、すべて正常に機能します。

1
FrischVerwegen