Ubuntu Server 17 instalado recentemente - incapaz de localizar pacotes e dependências não atendidas para o phpmyadmin

1

Agradecemos antecipadamente por qualquer ajuda.

Meu servidor:

Acabei de instalar um Ubuntu Server 17.04 com software básico e LAMP. (Eu tentei pela primeira vez 18, mas por causa desse bug ( link ) eu não posso instalá-lo de um dispositivo usb.

O objetivo é ter um servidor da web local na minha intranet atual. Apache, PHP e MySQL estão funcionando bem.

Eu já configurei meu DNS para apontar para o servidor da web e recebo o site padrão do apache. Ao abrir meu phpinfo eu recebo PHP Version 7.0.15-1ubuntu4 , então o php7 está rodando bem.

Ainda não tentei o ftp, mas isso pode ser feito mais tarde.

Problema:

Tudo que eu preciso agora é fazer o phpmadmin rodar, porque agora eu recebo um erro ao abrir / phpmyadmin Então eu verifiquei o servidor e parece que o phpmyadmin não está instalado junto com o LAMP (nenhuma pasta do phpmyadmin em / usr / share /)

O que tentei até agora:

  1. Adicionei deb http://us.archive.ubuntu.com/ubuntu/ zesty universe multiverse e deb http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe multiverse à lista de repo
  2. Eu adicionei o repositório phpmyadmin sudo add-apt-repository ppa:nijel/phpmyadmin
  3. Eu tenho apt-get update e apt-get upgrade várias vezes
  4. Usado apt-get install -f
  5. Muitas outras coisas que não consigo lembrar agora, mas que foram revertidas posteriormente.

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.

Agora, quando eu emito o comando 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 , recebo os seguintes erros:

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

Agora eu não sei mais o que posso, mas perguntando aqui. Eu vi que muitos usuários já tinham problemas em fazer o phpmyadmin funcionar em um Linux com LAMP, mas parece que todos esses problemas foram resolvidos com soluções que eu já tentei. Eu realmente aprecio qualquer ajuda aqui. (Se você perguntar: Além das mudanças na sources.list que eu mencionei acima, eu não adicionei nenhum outro repositório).

    
por FrischVerwegen 03.05.2018 / 16:50

1 resposta

1

Tudo bem,

A solução

foi exatamente como eu postei no meu comentário acima. A versão 17.04 é o fim da vida útil e, portanto, não consegui encontrar nenhum software. Eu reinstalei o 16.04 LTS e tudo funciona perfeitamente.

    
por FrischVerwegen 03.05.2018 / 18:13