Problema com apt-get -f install

1. Problema com apt-get -f install

jose
josecleudes2016

(usa Debian)

Enviado em 20/04/2016 - 11:43h

Pessoal, bom dia!
Estou tentando instalar o Squid3 e nao consigo de jeito nenhum, entao apliquei o seguinte comando e obtive o seguinte resultado:


root@ubuntu:/etc/init.d# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up zentyal-core (3.4.8) ...
Perl API version v5.14.0 of 1 does not match v5.18.0 at /usr/lib/perl/5.18/DynaLoader.pm line 207.
Compilation failed in require at /usr/share/perl5/EBox/Sudo.pm line 25.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Sudo.pm line 25.
Compilation failed in require at /usr/share/perl5/EBox/Module/Base.pm line 28.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Module/Base.pm line 28.
Compilation failed in require at (eval 21) line 2.
...propagated at /usr/share/perl/5.18/base.pm line 83.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Module/Config.pm line 20.
Compilation failed in require at (eval 20) line 2.
...propagated at /usr/share/perl/5.18/base.pm line 83.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/GlobalImpl.pm line 21.
Compilation failed in require at /usr/share/perl5/EBox/Global.pm line 22.
BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Global.pm line 22.
Compilation failed in require at /usr/share/zentyal/sudoers-friendly line 24.
BEGIN failed--compilation aborted at /usr/share/zentyal/sudoers-friendly line 24.
dpkg: error processing package zentyal-core (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up squid3 (3.3.8-1ubuntu6.6) ...
Creating Squid HTTP proxy 3.x spool directory structure
2016/04/20 11:40:42| aclParseAclLine: ACL 'manager' already exists with different type.
FATAL: Bungled /etc/squid3/squid.conf line 18: acl manager proto cache_object
Squid Cache (Version 3.3.8): Terminated abnormally.
CPU Usage: 0.000 seconds = 0.000 user + 0.000 sys
Maximum Resident Size: 36144 KB
Page faults with physical i/o: 0
dpkg: error processing package squid3 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of zentyal-software:
zentyal-software depends on zentyal-core (>= 3.4); however:
Package zentyal-core is not configured yet.
zentyal-software depends on zentyal-core (<< 3.5); however:
Package zentyal-core is not configured yet.

dpkg: error processing package zentyal-software (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of zentyal:
zentyal depends on zentyal-core; however:
Package zentyal-core is not configured yet.
zentyal depends on zentyal-software; however:
Package zentyal-software is not configured yet.

dpkg: error processing package zentyal (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
Errors were encountered while processing:
zentyal-core
squid3
zentyal-software
zentyal
E: Sub-process /usr/bin/dpkg returned an error code (1)



  


2. Re: Problema com apt-get -f install

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 20/04/2016 - 12:36h

Que cacete de zenytial-software é esse? E como você tentou instalar o squid?
--
Dino®
Vi veri universum vivus vici
Public GPG signature: 0x246A590B
Só Slackware é GNU/Linux e Patrick Volkerding é o seu Profeta
Mensagem do dia: 90% dos problemas em GNU/Linux podem ser resolvidos com um único comando:
# apt-get purge systemd* #para Debian-likes
# dnf remove systemd* #para o Fedora
# zypper remove systemd* #para o openSUSE



3. Re: Problema com apt-get -f install

Carlos Adriano
CarlosAdriano

(usa Nenhuma)

Enviado em 20/04/2016 - 13:02h

Tenta postar aqui a saída dos comandos abaixo, pra ver se nos ajuda te ajudar,

lsb_release -a
cat /etc/apt/sources.list




__________________________________________
Quer aprender mais sobre Linux ?
http://www.guiafoca.org/

Confia no SENHOR de todo o teu coração, e não te estribes no teu próprio entendimento.
(Provérbios 3:5)


4. Re: Problema com apt-get -f install

Debian User
debain

(usa Debian)

Enviado em 26/04/2016 - 13:24h

Você já havia tentando instalar o squid anteriormente? Pelo que eu vejo existem alguns pacotes que não foram completamente instalados e estão corrompidos, por isso os erros.

Caso já tenha tentado instalar antes significa que o pacote está corrompido. Tente remove-lo e instalar novamente.

use o apt-get purge para remover completamente os pacotes

Exemplo:

apt-get purge squid3






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts