Debian com problema no apt-get [RESOLVIDO]

1. Debian com problema no apt-get [RESOLVIDO]

José
Toresmo

(usa Debian)

Enviado em 06/06/2013 - 16:49h

Olá pessoal,

estou com problema no apt-get.

Minha /etc/apt/source.list

deb http://debian.pop-sc.rnp.br/debian squeeze main
deb http://ftp.br.debian.org/debian testing main contrib non-free
deb http://ftp.debian.org/debian/ testing-proposed-updates main contrib non-free

Eu tinha o squeeze, mas uma vez atualizei a distro e passou direto para o jeesie (versão testing).

Bom, faço o apt-get update e tudo ok. O problema está quando faço o apt-get upgrade. A saída é a seguinte:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
iputils-ping libglib2.0-0 libpango1.0-0 librsvg2-2 librsvg2-common python2.6
python2.6-minimal python2.7 python2.7-minimal rsyslog ttf-dejavu-core
The following packages will be upgraded:
apt apt-utils bsdutils cpp-4.7 curl file g++-4.7 gcc-4.7 gcc-4.7-base
gfortran-4.7 isc-dhcp-client isc-dhcp-common libacl1 libapt-inst1.5
libapt-pkg4.12 libattr1 libblkid1 libboost-iostreams1.49.0 libbsd0 libcairo2
libcroco3 libcurl3 libdatrie1 libgcc-4.7-dev libgdk-pixbuf2.0-0
libgdk-pixbuf2.0-common libgfortran-4.7-dev libglib2.0-data libgmp10
libgmpxx4ldbl libgnutls26 liblensfun-data liblensfun0 libmagic1 libmount1
libnewt0.52 libnfnetlink0 libpcap0.8 libpci3 libppl-c4 libppl12 libselinux1
libsemanage-common libsemanage1 libsepol1 libsqlite3-0 libssl1.0.0
libstdc++6-4.7-dev libtasn1-3 libthai-data libthai0 libuuid1 libx11-6
libx11-data libxapian22 libxcb-render0 libxcb-shm0 libxcb1 libxext6
libxrender1 libxt6 manpages manpages-dev mime-support multiarch-support
ncurses-base ncurses-term net-tools ntpdate openssh-client openssh-server
openssl os-prober pciutils python-lxml python-pkg-resources python-roman ssh
tasksel tasksel-data ucf util-linux whiptail
83 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
Need to get 0 B/52.9 MB of archives.
After this operation, 4000 kB disk space will be freed.
Do you want to continue [Y/n]? Y

Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: warning: files list file for package 'util-linux' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'portmap' missing; assuming package has no files currently installed
(Reading database ... 34269 files and directories currently installed.)
Preparing to replace util-linux 2.20.1-5.3 (using .../util-linux_2.20.1-5.4_amd64.deb) ...
insserv: warning: script 'ethwol' missing LSB tags and overrides
insserv: There is a loop between service oar-node and ethwol if stopped
insserv: loop involving service ethwol at depth 2
insserv: loop involving service oar-node at depth 1
insserv: Stopping ethwol depends on oar-node and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing /var/cache/apt/archives/util-linux_2.20.1-5.4_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/util-linux_2.20.1-5.4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Aqueles dois primeiros warnings não são problemas. Acontece pq eu exclui rm /var/lib/dpkg/info/portmap.* e rm /var/lib/dpkg/info/util-linux.*.

O PROBLEMA ESTÁ EM (caps só p/ destacar onde está o problema):
insserv: warning: script 'ethwol' missing LSB tags and overrides
insserv: There is a loop between service oar-node and ethwol if stopped
insserv: loop involving service ethwol at depth 2
insserv: loop involving service oar-node at depth 1
insserv: Stopping ethwol depends on oar-node and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header

e o principal em:

dpkg: error processing /var/cache/apt/archives/util-linux_2.20.1-5.4_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/util-linux_2.20.1-5.4_amd64.deb

Já deletei /var/cache/apt/archives/util-linux_2.20.1-5.4_amd64.deb mas isso não adiantou. Alguém tem uma solução?

Desde já agradeço.






  


2. Re: Debian com problema no apt-get [RESOLVIDO]

Ricardo Libanio
riesdra

(usa Debian)

Enviado em 06/06/2013 - 17:14h

deb http://debian.pop-sc.rnp.br/debian squeeze main [old stable]
deb http://ftp.br.debian.org/debian testing main contrib non-free [testing]
deb http://ftp.debian.org/debian/ testing-proposed-updates main contrib non-free [testing]

esta misturando as versões, comece acertando isto




3. Re: Debian com problema no apt-get [RESOLVIDO]

Buckminster
Buckminster

(usa Debian)

Enviado em 06/06/2013 - 17:18h

Você tinha o pacote util-linux_2.20.1-5.4_amd64.deb instalado?


4. Re: Debian com problema no apt-get [RESOLVIDO]

José
Toresmo

(usa Debian)

Enviado em 06/06/2013 - 19:29h

Resolvi o problema. Formatei a máquina. Desisti de arrumar, depois de 6 horas tentando.
Valeu aí pela ajuda pessoal.



  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts