Свежий установленный Ubuntu Server 17 - не удается найти пакеты и неудовлетворенные зависимости для phpmyadmin

Заранее спасибо за любую помощь.

& nbsp;

Мой сервер:

Я только что установил Ubuntu Server 17.04 с базовым программным обеспечением и LAMP. (Я сначала попробовал 18, но из-за этой ошибки (https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1767569) я не могу установить ее с устройства USB.

Цель: иметь локальный веб-сервер в моей текущей интрасети. Apache, PHP и MySQL работают нормально.

Я уже настроил свой DNS, чтобы указать на веб-сервер, и я получаю сайт по умолчанию apache. phpinfo Я получаю PHP Version 7.0.15-1ubuntu4, поэтому php7 работает нормально.

Еще не пробовал ftp, но это можно сделать позже.

& nbsp;

Мой сервер:

Все, что мне нужно сейчас, это запустить phpmadmin, потому что прямо сейчас я получаю сообщение об ошибке при открытии / phpmyadmin. Итак, я проверил сервер и, похоже, phpmyadmin isn 't установлен вместе с LAMP (нет папки phpmyadmin в / usr / share /)

& nbsp;

То, что я пробовал до сих пор:

Я добавлено deb http://us.archive.ubuntu.com/ubuntu/ zesty universe multiverse и deb http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe multiverse в список репо. Я добавил репозиторий phpmyadmin sudo add-apt-repository ppa:nijel/phpmyadmin. Я apt-get update и apt-get upgrade несколько раз. Используется apt-get install -f. Многое другое, что я не помню. r теперь, но были возвращены впоследствии.

& nbsp;

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.

& nbsp;

Теперь, когда я выдаю команду 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, я получаю следующие ошибки:

& nbsp ;

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

& nbsp;

Сейчас я не знаю, что еще могу, но спрашиваю здесь. Я видел, что у многих пользователей были проблемы с получением работы phpmyadmin в Linux с LAMP, но мне кажется, что все эти проблемы были решены с помощью решений, которые я уже пробовал. Я бы очень признателен за любую помощь здесь. (Если вы спросите: помимо изменений в sources.list, о которых я упомянул выше, я не добавил никаких других репозиториев.)

1
задан 3 May 2018 в 17:50

3 ответа

Хорошо,

решение было таким же, как я опубликовал в своем комментарии выше. Версия 17.04 - это конец жизни, и поэтому я не смог найти какое-либо программное обеспечение. Я переустановил 16.04 LTS, и все работает отлично.

1
ответ дан 17 July 2018 в 15:20

Хорошо,

решение было таким же, как я опубликовал в своем комментарии выше. Версия 17.04 - это конец жизни, и поэтому я не смог найти какое-либо программное обеспечение. Я переустановил 16.04 LTS, и все работает отлично.

1
ответ дан 20 July 2018 в 15:46

Хорошо,

решение было таким же, как я опубликовал в своем комментарии выше. Версия 17.04 - это конец жизни, и поэтому я не смог найти какое-либо программное обеспечение. Я переустановил 16.04 LTS, и все работает отлично.

1
ответ дан 23 July 2018 в 16:17

Другие вопросы по тегам:

Похожие вопросы: