[MASOCH-L] erro com apt+dpkg

Jorge Luiz Correa jorge at acmesecurity.org
Sat Apr 28 10:19:51 BRT 2007


Atualizei os servidores aqui para etch (stable) e não tive problemas.
Tente criar o arquivo (caso não exista) chamado apt.conf dentro do
/etc/apt/ com a linha

APT::Default-Release "stable";

Depois tente rodar um apt-get update e um apt-get -f install para
corrigir os erros de dependências. Isto pode ser bom caso utilize alguns
pacotes da testing.

Abraços!

Rafael Possamai wrote:
> Olá lista,
>
>     Fui atualizar dois servidores debian com apt e ambos apresentaram o 'mesmo' erro/problema com o apt e o dpkg...
>
> Servidor1(recentemente atualizado para etch):
> ...
> Baixados 3418kB em 2m27s (23,2kB/s)
> (Lendo banco de dados ... 28974 arquivos e diretórios atualmente instalados.)
> E: Sub-process /usr/bin/dpkg received a segmentation fault.
> ...
> ~# apt-get upgrade
> Lendo lista de pacotes... Pronto
> Falha de segmentaçãoe dependências... 50%
> ~#
> ...
>
> Servidor2(sarge ainda, com poucos upgrades do etch):
> ...
> Fetched 23.0MB in 10m28s (36.6kB/s)
> Preconfiguring packages ...
> (Reading database ... 21132 files and directories currently installed.)
> Removing base-config ...
> Removing kernel-image-2.4.27-3-386 ... (???)
> Remove the running kernel image (not recommended) [No]? no
> dpkg: error processing kernel-image-2.4.27-3-386 (--remove):
>  subprocess pre-removal script returned error exit status 1
> dpkg: initrd-tools: dependency problems, but removing anyway as you request:
>  kernel-image-2.4.27-3-386 depends on initrd-tools (>= 0.1.48).
> Removing initrd-tools ...
> Errors were encountered while processing:
>  kernel-image-2.4.27-3-386
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> ~#
> ...
> ~# apt-get -f install initrd-tools libdevmapper1.02 9 (tentando por de volta)
> Reading Package Lists... Done
> Building Dependency Tree... Done
> You might want to run `apt-get -f install' to correct these:
> The following packages have unmet dependencies:
>   libdevmapper1.02: Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22sarge5 is to be installed
>                     Depends: libselinux1 (>= 1.30) but 1.22-1 is to be installed
>                     Depends: libsepol1 (>= 1.12) but 1.4-1 is to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
> ~#
> ...
>
>     Bom, o servidor1 não sai disso, e o servidor2 provavelmente vou gastar um tempinho pra arrumar a besteira do apt e minha também. Pelo jeito se eu rebootar, ele não volta, então vou ter que segurar on até resolver essa confusão.
>      Alguém já passou por isso?
>
>
> Grato,
> Rafael
>
>
> __
> masoch-l list
> https://eng.registro.br/mailman/listinfo/masoch-l
>   


-- 
jorge (shift+2) acmesecurity . org
ACME! - Advanced Counter-Measures Environment
Computer Security Research - Unesp





More information about the masoch-l mailing list