A reinstalação do Apache obtém falha devido a depenências não atendidas

1

Estou usando o ubnutu 14.04 os Tentei reistall o apache mas não consegui, agora estou recebendo a seguinte mensagem de erro

govind@govind-Inspiron-N5050:~$ sudo apt-get install apache2
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:
 apache2 : Depends: apache2-bin (= 2.4.7-1ubuntu4.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Eu tentei os seguintes comandos com base nos resultados pesquisados, mas sem sorte: (

sudo apt-get --purge remove apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 
sudo apt-get autoremove  
sudo apt-get install -f    
sudo apt-get install lamp-server^ --reinstall    
sudo apt-get install apache2-bin:i386   
sudo apt-get upgrade   
sudo apt-get dist-upgrade    

O apache foi removido agora, não estou vendo a pasta do Apache no meu sistema. Mas não consigo instalar o apache novamente.

Publicando a saída do comando - política apt-cache apache2 apache2-bin

govind@govind-Inspiron-N5050:~$ apt-cache policy apache2 apache2-bin
apache2:
  Installed: (none)
  Candidate: 2.4.7-1ubuntu4.5
  Version table:
     2.4.7-1ubuntu4.5 0
        500 http:// in.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http:// security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     2.4.7-1ubuntu4 0
        500 http:// in.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
apache2-bin:
  Installed: (none)
  Candidate: 2.4.7-1ubuntu4.5
  Version table:
     2.4.7-1ubuntu4.5 0
        500 http:// in.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http:// security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     2.4.7-1ubuntu4 0
        500 http:// in.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
govind@govind-Inspiron-N5050:~$ 

Publicando o resultado do comando sudo apt-get install apache2=2.4.7-1ubuntu4.5 apache2-bin=2.4.7-1ubuntu4.5

govind@govind-Inspiron-N5050:~$ sudo apt-get install apache2=2.4.7-1ubuntu4.5 apache2-bin=2.4.7-1ubuntu4.5
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:
 apache2-bin : Depends: libaprutil1-dbd-sqlite3 but it is not going to be installed or
                        libaprutil1-dbd-mysql but it is not going to be installed or
                        libaprutil1-dbd-odbc but it is not going to be installed or
                        libaprutil1-dbd-pgsql but it is not going to be installed or
                        libaprutil1-dbd-freetds but it is not installable
               Depends: libaprutil1-ldap but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
govind@govind-Inspiron-N5050:~$ 

@ A.B: Adicionando a saída de sudo apt-get install apache-bin e apt-cache policy libaprutil1-dbd-sqlite3

govind@govind-Inspiron-N5050:~$ sudo apt-get install apache2-bin
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:
 apache2-bin : Depends: libaprutil1-dbd-sqlite3 but it is not going to be installed or
                        libaprutil1-dbd-mysql but it is not going to be installed or
                        libaprutil1-dbd-odbc but it is not going to be installed or
                        libaprutil1-dbd-pgsql but it is not going to be installed or
                        libaprutil1-dbd-freetds but it is not installable
               Depends: libaprutil1-ldap but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


govind@govind-Inspiron-N5050:~$ apt-cache policy libaprutil1-dbd-sqlite3
libaprutil1-dbd-sqlite3:
  Installed: (none)
  Candidate: 1.5.3-1
  Version table:
     1.5.3-1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

govind@govind-Inspiron-N5050:~$ apt-cache policy libaprutil1-dbd-mysql
libaprutil1-dbd-mysql:
  Installed: (none)
  Candidate: 1.5.3-1
  Version table:
     1.5.3-1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
govind@govind-Inspiron-N5050:~$ apt-cache policy libaprutil1-dbd-odbc
libaprutil1-dbd-odbc:
  Installed: (none)
  Candidate: 1.5.3-1
  Version table:
     1.5.3-1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
govind@govind-Inspiron-N5050:~$ apt-cache policy libaprutil1-dbd-pgsql
libaprutil1-dbd-pgsql:
  Installed: (none)
  Candidate: 1.5.3-1
  Version table:
     1.5.3-1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
govind@govind-Inspiron-N5050:~$ apt-cache policy libaprutil1-dbd-freetds
libaprutil1-dbd-freetds:
  Installed: (none)
  Candidate: (none)
  Version table:
govind@govind-Inspiron-N5050:~$ apt-cache policy libaprutil1-ldap
libaprutil1-ldap:
  Installed: (none)
  Candidate: 1.5.3-1
  Version table:
     1.5.3-1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
    
por Govind 08.09.2015 / 14:19

0 respostas