Não é possível instalar o phpmyadmin no ubuntu 14.04 LTS

2

Instalei o Ubuntu junto com a janela 10 (inicialização dupla). Eu configurei o servidor apache2, mysql e instalei o PHP 7, e então eu quero instalar o phpmyadmin. Eu não posso instalá-lo. Eu tentei muitas vezes, mas ainda tenho o mesmo problema. E aqui está o erro que recebo:

    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: libapache2-mod-php5 but it is not going to be installed or
                       libapache2-mod-php5filter but it is not going to be installed or
                       php5-cgi but it is not going to be installed or
                       php5-fpm but it is not going to be installed or
                       php5 but it is not going to be installed
              Depends: php5-mysql but it is not going to be installed or
                       php5-mysqli but it is not installable or
                       php5-mysqlnd but it is not going to be installed
              Depends: php5-mcrypt but it is not going to be installed
              Depends: php5-json but it is not going to be installed
              Depends: php-gettext but it is not going to be installed
              Recommends: php5-gd but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Ele diz que eu quebrei pacotes e realmente não sei como consertar isso. Por favor ajude!

Muito obrigado antecipadamente.

    
por july 03.02.2016 / 11:12

2 respostas

1

Você pode verificar xampp . Ele irá instalar todos eles. Também está disponível para o Ubuntu.

Faça o download do arquivo .run e instale-o assim

chmod 755 xampp-linux-*-installer.run
sudo ./xampp-linux-*-installer.run

Depois disso, você pode executar isso assim.

sudo /opt/lampp/lampp start

E para parar

sudo /opt/lampp/lampp stop

Isso executará sua ferramenta de linha de comando. Também tem sua ferramenta gráfica. Pode ser executado assim.

cd /opt/lampp
sudo ./manager-linux.run (or manager-linux-x64.run)
    
por Muhammad Hassan 03.02.2016 / 11:22
0

Você pode tentar instalar o php7 e depois instalar o phpmyadmin, isso funciona para mim no Ubuntu 14.04.

sudo apt-add-repository ppa:ondrej/php -y
sudo apt-get update
sudo apt-get install -y php7.0-common php7.0-cli php7.0-fpm php7.0-curl php7.0-sqlite3 php7.0-json php7.0-tidy php7.0-mysql
sudo apt-get install -y phpmyadmin
    
por Hustlion 22.05.2017 / 09:18