Debian com Apache, PHP4, PHP5 e MySQL

Quem nunca se queixou da falta de atualização dos pacotes do Debian em sua versão stable? Mas podemos trabalhar usando uma versão testing ou unstable., certo? Errado, mesmo assim estaremos sem o PHP5. Aqui mostro como manter seu Debian up-to-date with the new LAMP pakages.

[ Hits: 49.631 ]

Por: Flávio Gonçalves Garcia em 21/08/2004


Atualizando o Debian



E aí pessoa, como é que vai?

Hoje em dia estou bem, aliás de bem com o meu servidor Debian de desenvolvimento.

O que isso tem a ver? Tem muito a ver, porque até umas semanas aí, ao acessar meu profile do VOL, iria ver em distribuição favorita o tal de Fedora.

Nada contra a galera red-hat like, mas eu fui obrigado a trabalhar com essa distribuição porque o meu Debian não tinha os pacotes para fazer o que eu precisava. Mas era tudo uma questão de tempo, tive que crescer e aprender mais um pouco de Linux, e descobrir que eu não vivo sem o meu Debian.

Vamos concordar, o apt-get comanda... e depois do Fedora Core 2 dar crash na instalação pelo fato da minha placa mãe ser uma ASUS que estava na lista das que esquece, não vai funcionar mesmo, voltei para o Debian correndo.

Muito obrigado Marcos José Setim, seu artigo Instalando e desmistificando o Debian comandou também, considere esse artigo um anexo do seu.

Depois do desabafo, continuemos:

Galera, o que é LAMP?


LAMP significa Linux, Apache, MySQL and PHP, e o grande problema da galera do DEB é que nós podemos até ter o apache2 e o PHP4, mas o PHP5 temos que compilar. Além do apache2 e do PHP4 ainda serem as versões mais novas.

Aí que entra a pessoal do DotDeb, que é um grupo que monta os pacotes mais novos de tudo o que se entende por LAMP e disponibiliza pra galera.

O site deles é:

Como eu pego esses pacotes?


Adicione essa linha ao seu /etc/apt/sources.list:

deb http://packages.dotdeb.org ./

E se eu quiser os sources?


Coloque mais essa linha:

deb-src http://sources.dotdeb.org ./

Execute o comando:

# apt-get update

e beleza, seu Debian está pronto para pegar os pacotes. Se você está utilizando o dselect, lembre-se de fazer o update antes de fazer o select.

Para carregar os sources use o comando "apt-get source", mas é experimental, e talvez não funcione com todos os pacotes.

Pronto você está apto a ter Linux, Apache, Mysql, PHP4 e PHP5 up-to-date.

Seria então LAMPP hehehe

# apt-get install apache2 php4 php5

Espero ter sido claro, não estou detonando as outras distros, mas eu estou muito feliz por estar de volta para minha deb-casa.

Muito obrigado red-hat, vocês fazem o padrões de mercado.
Muito obrigado Viva o Linux, eu tenho aprendido muito aqui.
Muito obrigado Debian, você é GNU, open até nos ossos.

Um abraço,
Flávio Garcia

   

Páginas do artigo
   1. Atualizando o Debian
Outros artigos deste autor

Armazenando datas de uma outra forma

I Semana de Capacitação e Desenvolvimento em Software Livre

Leitura recomendada

Ninguém planeja fracassar, mas muitos fracassam por não planejar

Migração de dados no Joomla

Uma introdução à biblioteca GD

Gerando gráficos com PHP e highcharts.com

Criando um blog com o CakePHP 2.2.1

  
Comentários
[1] Comentário enviado por piraz em 21/08/2004 - 16:26h

Errata, os pacotes do DotDeb, trabalham com o apache1.x.x, então onde eu falo apache 2 disconsiderem.

Desculpem o engano.

[2] Comentário enviado por Saddam em 21/08/2004 - 20:43h

Esses pacotes são totalmente confiáveis, posso dar upgrade sem nenhuma problema ?


[]'s

[3] Comentário enviado por piraz em 22/08/2004 - 23:58h

Cara, funcionou no meu computador, eu consegui dar upgrade e downgrade(voltar a distribuição normal), se você quer colocar isso em produção, eu aconselho simular um ambiente, estabilizar, e depois jogar para a produção.

[4] Comentário enviado por will-hxcx em 23/08/2004 - 09:23h

Quem estiver coçando a cabeça.. ja pensando em testar este processo, aqui vai a opinião de um "fregues satisfeito" hehehe =P, funcionow as pampas o upgrade aqui! Boas experiências aos que tentarem o esquema aqui citado! =-]

Ateh mais ver!

[5] Comentário enviado por digomello em 07/01/2005 - 14:53h

Comigo não funcionou ... :-( Deu a seguinte mensagem ...

oscar:/# apt-get install php4
Reading Package Lists... Done
Building Dependency Tree... 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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
php4: Depends: libapache-mod-php4 (= 4:4.3.10-1.dotdeb.0) but 4:4.3.10-2 is to be installed or
php4-cgi (= 4:4.3.10-1.dotdeb.0) but 4:4.1.2-7.0.1 is to be installed or
caudium-php4 (= 4:4.3.10-1.dotdeb.0) but it is not going to be installed
Depends: php4-common (= 4:4.3.10-1.dotdeb.0) but 4:4.3.10-2 is to be installed
E: Sorry, broken packages
oscar:/#

[6] Comentário enviado por rick_ em 05/02/2006 - 16:10h

aqui ficou 100% :}

[7] Comentário enviado por redleh em 11/03/2006 - 04:48h

No meu caso não consigo acessar aos mirrors para poder baixar os pacotes... :( ele não encontra a lista de pacotes... Mo paia isso! Alguém tem idéia para a correção?

W: Couldn't stat source package list http://packages.dotdeb.org ./ Packages (/var/lib/apt/lists/packages.dotdeb.org_._Packages) - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files
W: Couldn't stat source package list http://packages.dotdeb.org ./ Packages (/var/lib/apt/lists/packages.dotdeb.org_._Packages) - stat (2 No such file or directory)
W: You may want to update the package lists to correct these missing files

[8] Comentário enviado por inclito em 14/04/2006 - 00:46h

Essa foi a dica mais inútil que eu já vi, faltou criatividade.

[9] Comentário enviado por piraz em 17/04/2006 - 13:30h

Leonardo,

Você deve ser bonzão mesmo heim!?
Obrigado pela sua opinião.
Foi muito criativa e agregou bastante a esse artigo sem criatividade.

[10] Comentário enviado por rickobranco em 25/08/2006 - 09:31h

Cara você DISTRUIO nesse tutorial VALEU!!!!!

[11] Comentário enviado por jamessoncardozo em 09/03/2007 - 15:18h

ó só o meu tb tá dando erro na hora de pegar os upgrades: vc tem uma tualização dos endereços do mirror?

[12] Comentário enviado por volcom em 13/08/2007 - 10:08h

mirrors fora :(

tbm vou esperar uma atualização...

[13] Comentário enviado por volcom em 13/08/2007 - 10:10h

ops...

achei no site ;)

http://www.dotdeb.org/mirrors

Peguei os do Chile e deu certo :D

deb http://mirror.fulltimehosting.net/dotdeb stable all
deb-src http://mirror.fulltimehosting.net/dotdeb stable all

Abraços,

Daniel

[14] Comentário enviado por gpr.ppg.br em 10/12/2007 - 18:56h

o meu fica pedindo dependencias no php5 ;-(

[15] Comentário enviado por luizhacker em 14/12/2007 - 11:16h

Não tá dando certo:

Falha ao buscar http://packages.dotdeb.org/./Packages.gz 404 Not Found
Falha ao buscar http://sources.dotdeb.org/./Sources.bz2 Sub-processo bzip2 retornou um código de erro (2)
---------------------------------------------------------------------------------
Err http://mirror.fulltimehosting.net stable/all Packages
404 Not Found
Err http://mirror.fulltimehosting.net stable/all Sources
404 Not Found
Baixados 2B em 3s (1B/s)
Falha ao buscar http://mirror.fulltimehosting.net/dotdeb/dists/stable/all/binary-amd64/Packages.gz 404 Not Found
Falha ao buscar http://mirror.fulltimehosting.net/dotdeb/dists/stable/all/source/Sources.gz 404 Not Found
---------------------------------------------------------------------------------
O que está funcionando mesmo é o da Alemanha, os PCs do Chile são suspeitos rsrsrsrsrsrsrs...
Mirrors que funcionam:
deb http://dotdeb.pimpmylinux.org/">http://dotdeb.pimpmylinux.org/ stable all
deb-src http://dotdeb.pimpmylinux.org/">http://dotdeb.pimpmylinux.org/ stable all

Prova:
Ign http://dotdeb.pimpmylinux.org stable/all Sources
Obtendo:3 http://dotdeb.pimpmylinux.org stable/all Packages [17,2kB]
Obtendo:4 http://dotdeb.pimpmylinux.org stable/all Sources [3040B]
Baixados 20,2kB em 4s (4502B/s)
Lendo lista de pacotes... Pronto

[16] Comentário enviado por henbran em 07/10/2013 - 10:26h

ESTÁ OSSO ...Cheguei hoje cedo e ... após o simples aptitude -f update e o aptitude -f upgrade ... o php5 simplesmente parou de funcionar ... Com uma certa ousadia já configuro o source.list, instalo os necessários pacotes ... Somente preciso do LAMP em ordem ... para desenvolver aplicativos php. O Apache (e anexos) está respondendo. Quando tento (re) instalar o php:

root@servidor:~# aptitude -f install php5;
The following partially installed packages will be configured:
apache2 apache2-mpm-itk apache2.2-common libapache2-mod-php5 task-web-server
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up apache2.2-common (2.2.22-13) ...
insserv: warning: script 'K07smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop at service smfpd if started
insserv: There is a loop between service smfpd and mountnfs if started
insserv: loop involving service mountnfs at depth 10
insserv: loop involving service nfs-common at depth 9
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service rsyslog at depth 11
insserv: There is a loop between service smfpd and urandom if started
insserv: loop involving service urandom at depth 6
insserv: loop involving service mountall at depth 5
insserv: loop involving service mountnfs-bootclean at depth 12
insserv: loop involving service networking at depth 8
insserv: loop involving service mountall-bootclean at depth 6
insserv: There is a loop between service minissdpd and checkroot if started
insserv: loop involving service checkroot at depth 3
insserv: loop involving service hdparm at depth 2
insserv: loop involving service hwclock at depth 3
insserv: There is a loop between service smfpd and checkfs if started
insserv: loop involving service checkfs at depth 5
insserv: There is a loop between service minissdpd and udev if started
insserv: loop involving service udev at depth 1
insserv: loop involving service mtab at depth 5
insserv: There is a loop at service minissdpd if started
insserv: loop involving service smfpd at depth 1
insserv: loop involving service mountdevsubfs at depth 3
insserv: loop involving service mountkernfs at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing apache2.2-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-itk:
apache2-mpm-itk depends on apache2.2-common (= 2.2.22-13); however:
Package apache2.2-common is not configured yet.

dpkg: error processing apache2-mpm-itk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (= 2.2.22-13) | apache2-mpm-prefork (= 2.2.22-13) | apache2-mpm-event (= 2.2.22-13) | apache2-mpm-itk (= 2.2.22-13); however:
Package apache2-mpm-worker is not installed.
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-event is not installed.
Package apache2-mpm-itk is not configured yet.
apache2 depends on apache2.2-common (= 2.2.22-13); however:
Package apache2.2-common is not configured yet.

dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-itk; however:
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-itk is not configured yet.
libapache2-mod-php5 depends on apache2.2-common; however:
Package apache2.2-common is not configured yet.

dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of task-web-server:
task-web-server depends on apache2; however:
Package apache2 is not configured yet.
Package apache2-mpm-itk which provides apache2 is not configured yet.

dpkg: error processing task-web-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache2.2-common
apache2-mpm-itk
apache2
libapache2-mod-php5
task-web-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up apache2.2-common (2.2.22-13) ...
insserv: warning: script 'K07smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop at service smfpd if started
insserv: There is a loop between service smfpd and mountnfs if started
insserv: loop involving service mountnfs at depth 10
insserv: loop involving service nfs-common at depth 9
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service rsyslog at depth 11
insserv: There is a loop between service smfpd and urandom if started
insserv: loop involving service urandom at depth 6
insserv: loop involving service mountall at depth 5
insserv: loop involving service mountnfs-bootclean at depth 12
insserv: loop involving service networking at depth 8
insserv: loop involving service mountall-bootclean at depth 6
insserv: There is a loop between service minissdpd and checkroot if started
insserv: loop involving service checkroot at depth 3
insserv: loop involving service hdparm at depth 2
insserv: loop involving service hwclock at depth 3
insserv: There is a loop between service smfpd and checkfs if started
insserv: loop involving service checkfs at depth 5
insserv: There is a loop between service minissdpd and udev if started
insserv: loop involving service udev at depth 1
insserv: loop involving service mtab at depth 5
insserv: There is a loop at service minissdpd if started
insserv: loop involving service smfpd at depth 1
insserv: loop involving service mountdevsubfs at depth 3
insserv: loop involving service mountkernfs at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing apache2.2-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2.2-common; however:
Package apache2.2-common is not configured yet.

dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2-mpm-itk:
apache2-mpm-itk depends on apache2.2-common (= 2.2.22-13); however:
Package apache2.2-common is not configured yet.

dpkg: error processing apache2-mpm-itk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (= 2.2.22-13) | apache2-mpm-prefork (= 2.2.22-13) | apache2-mpm-event (= 2.2.22-13) | apache2-mpm-itk (= 2.2.22-13); however:
Package apache2-mpm-worker is not installed.
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-event is not installed.
Package apache2-mpm-itk is not configured yet.
apache2 depends on apache2.2-common (= 2.2.22-13); however:
Package apache2.2-common is not configured yet.

dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of task-web-server:
task-web-server depends on apache2; however:
Package apache2 is not configured yet.
Package apache2-mpm-itk which provides apache2 is not configured yet.

dpkg: error processing task-web-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache2.2-common
libapache2-mod-php5
apache2-mpm-itk
apache2
task-web-server

root@servidor:~#

[17] Comentário enviado por henbran em 07/10/2013 - 10:26h

ESTÁ OSSO ...Cheguei hoje cedo e ... após o simples aptitude -f update e o aptitude -f upgrade ... Debian 7.1 (amd64)... o php5 simplesmente parou de funcionar ... Com uma certa ousadia já configuro o source.list, instalo os necessários pacotes ... Somente preciso do LAMP em ordem ... para desenvolver aplicativos php. O Apache (e anexos) está respondendo. Quando tento (re) instalar o php:

root@servidor:~# aptitude -f install php5;
The following partially installed packages will be configured:
apache2 apache2-mpm-itk apache2.2-common libapache2-mod-php5 task-web-server
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up apache2.2-common (2.2.22-13) ...
insserv: warning: script 'K07smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop at service smfpd if started
insserv: There is a loop between service smfpd and mountnfs if started
insserv: loop involving service mountnfs at depth 10
insserv: loop involving service nfs-common at depth 9
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service rsyslog at depth 11
insserv: There is a loop between service smfpd and urandom if started
insserv: loop involving service urandom at depth 6
insserv: loop involving service mountall at depth 5
insserv: loop involving service mountnfs-bootclean at depth 12
insserv: loop involving service networking at depth 8
insserv: loop involving service mountall-bootclean at depth 6
insserv: There is a loop between service minissdpd and checkroot if started
insserv: loop involving service checkroot at depth 3
insserv: loop involving service hdparm at depth 2
insserv: loop involving service hwclock at depth 3
insserv: There is a loop between service smfpd and checkfs if started
insserv: loop involving service checkfs at depth 5
insserv: There is a loop between service minissdpd and udev if started
insserv: loop involving service udev at depth 1
insserv: loop involving service mtab at depth 5
insserv: There is a loop at service minissdpd if started
insserv: loop involving service smfpd at depth 1
insserv: loop involving service mountdevsubfs at depth 3
insserv: loop involving service mountkernfs at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing apache2.2-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of apache2-mpm-itk:
apache2-mpm-itk depends on apache2.2-common (= 2.2.22-13); however:
Package apache2.2-common is not configured yet.

dpkg: error processing apache2-mpm-itk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (= 2.2.22-13) | apache2-mpm-prefork (= 2.2.22-13) | apache2-mpm-event (= 2.2.22-13) | apache2-mpm-itk (= 2.2.22-13); however:
Package apache2-mpm-worker is not installed.
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-event is not installed.
Package apache2-mpm-itk is not configured yet.
apache2 depends on apache2.2-common (= 2.2.22-13); however:
Package apache2.2-common is not configured yet.

dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-itk; however:
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-itk is not configured yet.
libapache2-mod-php5 depends on apache2.2-common; however:
Package apache2.2-common is not configured yet.

dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of task-web-server:
task-web-server depends on apache2; however:
Package apache2 is not configured yet.
Package apache2-mpm-itk which provides apache2 is not configured yet.

dpkg: error processing task-web-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache2.2-common
apache2-mpm-itk
apache2
libapache2-mod-php5
task-web-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up apache2.2-common (2.2.22-13) ...
insserv: warning: script 'K07smfpd' missing LSB tags and overrides
insserv: warning: script 'smfpd' missing LSB tags and overrides
insserv: There is a loop at service smfpd if started
insserv: There is a loop between service smfpd and mountnfs if started
insserv: loop involving service mountnfs at depth 10
insserv: loop involving service nfs-common at depth 9
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Starting smfpd depends on minissdpd and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service rsyslog at depth 11
insserv: There is a loop between service smfpd and urandom if started
insserv: loop involving service urandom at depth 6
insserv: loop involving service mountall at depth 5
insserv: loop involving service mountnfs-bootclean at depth 12
insserv: loop involving service networking at depth 8
insserv: loop involving service mountall-bootclean at depth 6
insserv: There is a loop between service minissdpd and checkroot if started
insserv: loop involving service checkroot at depth 3
insserv: loop involving service hdparm at depth 2
insserv: loop involving service hwclock at depth 3
insserv: There is a loop between service smfpd and checkfs if started
insserv: loop involving service checkfs at depth 5
insserv: There is a loop between service minissdpd and udev if started
insserv: loop involving service udev at depth 1
insserv: loop involving service mtab at depth 5
insserv: There is a loop at service minissdpd if started
insserv: loop involving service smfpd at depth 1
insserv: loop involving service mountdevsubfs at depth 3
insserv: loop involving service mountkernfs at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing apache2.2-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2.2-common; however:
Package apache2.2-common is not configured yet.

dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2-mpm-itk:
apache2-mpm-itk depends on apache2.2-common (= 2.2.22-13); however:
Package apache2.2-common is not configured yet.

dpkg: error processing apache2-mpm-itk (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (= 2.2.22-13) | apache2-mpm-prefork (= 2.2.22-13) | apache2-mpm-event (= 2.2.22-13) | apache2-mpm-itk (= 2.2.22-13); however:
Package apache2-mpm-worker is not installed.
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-event is not installed.
Package apache2-mpm-itk is not configured yet.
apache2 depends on apache2.2-common (= 2.2.22-13); however:
Package apache2.2-common is not configured yet.

dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of task-web-server:
task-web-server depends on apache2; however:
Package apache2 is not configured yet.
Package apache2-mpm-itk which provides apache2 is not configured yet.

dpkg: error processing task-web-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache2.2-common
libapache2-mod-php5
apache2-mpm-itk
apache2
task-web-server

root@servidor:~#


Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts