Não é possível instalar o LAMP e não pode executar o tasksel

0

Não consigo instalar o LAMP e não consigo executar o TASKSEL. Isso está realmente se tornando um empecilho agora.

minha entrada para instalar o LAMP: sudo apt-get install lamp-server
saída:

The following packages have unmet dependencies:
 apache2 : Conflicts: apache2.2-common but 2.2.22-6ubuntu5 is to be installed
 apache2-bin : Conflicts: apache2.2-common but 2.2.22-6ubuntu5 is to be installed
 apache2-data : Conflicts: apache2.2-common but 2.2.22-6ubuntu5 is to be installed
 apache2.2-common : Depends: apache2.2-bin (= 2.2.22-6ubuntu5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
my input for running tasksel: sudo tasksel
next the interface (the familiar text based ui) starts and after selecting the progress bar starts. But then unexpected it breaks of (drops out of the ui)
with this message:
tasksel: aptitude failed (100)

agora eu procuro muito e tentei todos eles: "desinstalar o apache" (nenhum instalado), "tentar encontrar pacotes quebrados" (nenhum), "purgar", "remover", etc.

Alguém é uma pista? Ou depois de todos esses anos eu ainda sou um noob que é melhor usar janelas? (Espero que não.) Estou pensando em fazer um novo ubuntu reinstalar, mas isso também é um empecilho. Além disso, vai me fazer sentir como um idiota ainda mais do que eu faço agora. (bem,;))

$ apt-cache policy apache2
apache2:
  Installed: (none)
  Candidate: 2.4.7-1ubuntu4.1
  Version table:
     2.4.7-1ubuntu4.1 0
        500 archive.ubuntu.com/ubuntu trusty-updates/main amd64 Packages
        500 archive.ubuntu.com/ubuntu trusty-security/main amd64 Packages
     2.4.7-1ubuntu4 0
        500 archive.ubuntu.com/ubuntu trusty/main amd64 Packages
     2.2.22-6ubuntu5 0
        500 old-releases.ubuntu.com/ubuntu raring/main amd64 Packages 

$ lsb_release -a LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-‌​amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noar‌​ch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security‌​-4.1-amd64:security-4.1-noarch Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty – 
    
por John Bleeker 29.10.2014 / 21:50

2 respostas

0

Não sei se isso consertará isso, mas no link eles dizem que você deve usá-lo com um acento circunflexo (^), isso funcionou para mim:

sudo apt-get install lamp-server^
    
por Ivo 21.11.2014 / 01:19
-2

apenas execute

apt-get update

e tente novamente. Trabalhou para mim.

    
por Ad Nauseum 05.11.2014 / 05:16