Executar comando apt-get install tasksel
.
Depois disso, selecione LAMP Server com barra de espaço e pressione enter ..
Mas instale o servidor apache primeiro.
Atualmente estou trabalhando no Ubuntu 14.04. Eu estava tentando instalar o LAMP na minha máquina de aqui .
Eu consegui instalar o apache. Mas enquanto instalava o mysql, recebi o seguinte erro:
$ sudo apt-get install mysql-server
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:
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Eu também tentei baixar o mesmo do Ubuntu Software Center, mas novamente fui atingido pelo mesmo erro:
This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.
Por que não consigo instalar o mySql-server?
Executar comando apt-get install tasksel
.
Depois disso, selecione LAMP Server com barra de espaço e pressione enter ..
Mas instale o servidor apache primeiro.