Re: apt-get erro

2006-07-06 Por tôpico edmarcos
Tente passar um fsck  na partição.
Já aconteceu algo assim comigo e o fsck resolveu.

Em Qui, 2006-07-06 às 19:15 -0300, Carlos Alberto escreveu:
> Meu Debian CDD está dando o erro abaixo. Isso  ocorreu  quando
> desliguei o micro enquanto o apt-get -u upgrade estava em execução,
> assim quando tento executar o apt-get, após ter ligado o micro, dá o
> erro, em questão:
> 
> debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by
> another process
> 
> existe mais alguns erros e no final da esse..
> 
> 
> subprocess post-removal script returned error exit status 1
> Errors were encountered while processing:
> /var/cache/apt/archives/exim4 
> -config_4.50-8sarge2_all.deb
> /var/cache/apt/archives/exim4-base_4.50-8sarge2_i386.deb
> /var/cache/apt/archives/openoffice.org-l10n-en_1.1.3-9sarge2_all.deb
> /var/cache/apt/archives/openoffice.org-l10n-pt-br_1.1.3-9sarge2_all.deb 
> /var/cache/apt/archives/openoffice.org-gtk-gnome_1.1.3-9sarge2_i386.deb
> /var/cache/apt/archives/openoffice.org-mimelnk_1.1.3-9sarge2_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> 
> -- 
> Cumprimentos
> Carlos Alberto Mota Castro (Maranhão)
> Estudante de Engenharia Elétrica
> UNESP - FEIS - Ilha Solteira


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apt-get erro

2006-07-06 Por tôpico Carlos Alberto
Meu Debian CDD está dando o erro abaixo. Isso  ocorreu 
quando desliguei o micro enquanto o apt-get -u upgrade estava em
execução, assim quando tento executar o apt-get, após ter ligado o
micro, dá o erro, em questão:

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process

existe mais alguns erros e no final da esse..


subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/exim4
-config_4.50-8sarge2_all.deb/var/cache/apt/archives/exim4-base_4.50-8sarge2_i386.deb/var/cache/apt/archives/openoffice.org-l10n-en_1.1.3-9sarge2_all.deb/var/cache/apt/archives/openoffice.org-l10n-pt-br_1.1.3-9sarge2_all.deb
/var/cache/apt/archives/openoffice.org-gtk-gnome_1.1.3-9sarge2_i386.deb/var/cache/apt/archives/openoffice.org-mimelnk_1.1.3-9sarge2_all.debE: Sub-process /usr/bin/dpkg returned an error code (1)
-- CumprimentosCarlos Alberto Mota Castro (Maranhão)Estudante de Engenharia ElétricaUNESP - FEIS - Ilha Solteira


Re: apt-get erro e ou duvidas

2006-03-24 Por tôpico Marcos Vinicius Lazarini

Carlucio Lopes wrote:

On Fri, 24 Mar 2006 00:18:23 -0300
Marcos Vinicius Lazarini <[EMAIL PROTECTED]> wrote:



Qual seu sources.list? certamente vc pegou esses pacotes de outro lugar, não é?



cpd:/# cat /etc/apt/sources.list
deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://http.us.debian.org/debian stable non-free
cpd:/# 

 


sugiro vc fazer tbm um
dpkg-reconfigure --priority low debconf



cpd:/# dpkg-reconfigure --priority low debconf
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!


Meu palpite é que seu problema tá aqui... esse comando deveria reconfigurar 
o pacote, abrindo uma janelinha com as opçoes, mas nem isso ele consegue!
Ou entao, quem tá doido é o cara que chamou o whiptail (passando parametro 
errado, por exemplo), mas ai nao saberia dizer quem foi... só testando ai 
pra saber.


confere ai seu sistema com o meu, veja que existe a opção --output-fd nele:

$ dpkg -L whiptail
/.
/usr
/usr/bin
/usr/bin/whiptail
/usr/share
/usr/share/doc
/usr/share/doc/whiptail
/usr/share/doc/whiptail/changelog.gz
/usr/share/doc/whiptail/README.whiptail
/usr/share/doc/whiptail/copyright
/usr/share/doc/whiptail/newt.spec.gz
/usr/share/doc/whiptail/changelog.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/whiptail.1.gz

$ /usr/bin/whiptail --version
whiptail (newt): 0.51.6
$ whiptail
Box options:
--msgbox   
--yesno
--infobox   
--inputbox[init]
--passwordbox[init]
--textbox   
--menu [tag item] ...
--checklist [tag item status]...
--radiolist [tag item stautus]...
--gauge
Options: (depend on box-option)
--clear clear screen on exit
-defaultno  default no button
--default-item  set default string
--fbuse full buttons
--nocancel  no cancel button
--noitemdisplay tags only
--separate-output   output one line at a time
--output-fd output to fd, not stdout
--title  display title
--backtitle  display backtitle
--scrolltextforce verical scrollbars


Se tiver que reinstalar o pacote, sugiro pegar o .deb e reinstalar via 
dpkg ou então dar o --unpack e comparar os arquivos.


--
Marcos


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get erro e ou duvidas

2006-03-24 Por tôpico ljnunes

Márcio Inácio Silva escreveu:


Em Sexta 24 Março 2006 16:28, Carlucio Lopes escreveu:
 


Mas alguma sugestao!!!
   



tenta essa opções ai! Quem sabe uma da certo!

#aptitude -f install
#aptitude reinstall nomedopacote
#aptitude purge nomedopacote

Se nenhuma dessas ai funcionar a coisa tá é feia mesmo!

Se o  dpkg --configure -a não resolveu você pode tentar tb:

#dpkg --force-all -r nomedopacote(que deve 
ser /var/cache/apt/archives/algumacoisa.deb)


ou

#dpkg --force-all -i nomedopacote(que deve 
ser /var/cache/apt/archives/algumacoisa.deb)



Para mais opções que talvez possam resolver seu problema:

#dpkg --force-all --help


[],s


 

Além das observações do colega acima quero acrescentar que quando você 
baixa os pacotes para instalar eles ficam armazenados na pasta 
/var/cache/apt/archives/ . Se eles estiverem corrompidos por algum 
motivo você deverá eliminá-los antes da nova instalação. O comando 
apt-get clean elimina todos os pacotes armazenados de uma só vez.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get erro e ou duvidas

2006-03-24 Por tôpico Márcio Inácio Silva
Em Sexta 24 Março 2006 16:28, Carlucio Lopes escreveu:
>
>
> Mas alguma sugestao!!!

tenta essa opções ai! Quem sabe uma da certo!

#aptitude -f install
#aptitude reinstall nomedopacote
#aptitude purge nomedopacote

Se nenhuma dessas ai funcionar a coisa tá é feia mesmo!

Se o  dpkg --configure -a não resolveu você pode tentar tb:

#dpkg --force-all -r nomedopacote(que deve 
ser /var/cache/apt/archives/algumacoisa.deb)

ou

#dpkg --force-all -i nomedopacote(que deve 
ser /var/cache/apt/archives/algumacoisa.deb)


Para mais opções que talvez possam resolver seu problema:

#dpkg --force-all --help


[],s


-- 
___
EAS Tecnologia e Informação - http://www.eas.com.br
Márcio Inácio Silva - [EMAIL PROTECTED]
     .~. 
    / v \   Seja Livre, use GNU/Linux!  
  / (   ) \ 
 ^^-^^       GNU/Debian/Linux



Re: apt-get erro e ou duvidas

2006-03-24 Por tôpico Carlucio Lopes
> >cpd:/# cat /etc/apt/sources.list
> >deb http://http.us.debian.org/debian stable main contrib non-free
> >#deb http://http.us.debian.org/debian stable non-free
> >cpd:/# dpkg-reconfigure --priority low debconf
> >--output-fd: unknown option
> >debconf: whiptail output to the above errors, giving up!
> >>pra tirar a duvida, e um
> >>dpkg --audit
> >cpd:/# dpkg --audit
> >The following packages have been unpacked but not yet configured.
> >They must be configured using dpkg --configure or the configure
> >menu option in dselect for them to work:
> > smbfsmount and umount commands for the smbfs (for kernels 
> > >= t
> >
> >The following packages are only half configured, probably due to problems
> >configuring them the first time.  The configuration should be retried using
> >dpkg --configure  or the configure menu option in dselect:
> > libpango1.0-common   Modules and configuration files for the Pango
> > samba-common Samba common files used by both the server and the 
> > client
> >


> "Caso uma instalação quebre durante o processo e você fique
> impossibilitado de instalar e remover pacotes, tente rodar esses dois
> comandos:
> 
> # apt-get -f install
> # dpkg --configure -a
> 

cpd:~# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up libpango1.0-common (1.8.1-1) ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
dpkg: error processing libpango1.0-common (--configure):
 subprocess post-installation script returned error exit status 255
Setting up samba-common (3.0.14a-3sarge1) ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
dpkg: error processing samba-common (--configure):
 subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of smbfs:
 smbfs depends on samba-common (= 3.0.14a-3sarge1); however:
  Package samba-common is not configured yet.
dpkg: error processing smbfs (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libpango1.0-common
 samba-common
 smbfs
E: Sub-process /usr/bin/dpkg returned an error code (1)

cpd:~# dpkg --configure -a
Setting up libpango1.0-common (1.8.1-1) ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
dpkg: error processing libpango1.0-common (--configure):
 subprocess post-installation script returned error exit status 255
Setting up samba-common (3.0.14a-3sarge1) ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
dpkg: error processing samba-common (--configure):
 subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of smbfs:
 smbfs depends on samba-common (= 3.0.14a-3sarge1); however:
  Package samba-common is not configured yet.
dpkg: error processing smbfs (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libpango1.0-common
 samba-common
 smbfs
cpd:~# 


Mas alguma sugestao!!!

-- 
Carlucio Lopes- Cobolito 62-8415-8939 62-526-8006 msn:[EMAIL PROTECTED]
Entenda Pirataria => http://www.carlinux.v10.com.br
Compilador Cobol Free http://tinycobol.org em Portugues
Porque Cobol? ==> http://www.clubecobol.com.br/cc_porque_cobol_02.asp
Projeto Debian Brasil http://cdd.debian-br.org
Tinycobol/Debian Gnu-Linux/Postgresql/Tcl-Tk



Re: apt-get erro e ou duvidas

2006-03-24 Por tôpico ljnunes

Carlucio Lopes escreveu:


On Fri, 24 Mar 2006 00:18:23 -0300
Marcos Vinicius Lazarini <[EMAIL PROTECTED]> wrote:

 


Qual seu sources.list? certamente vc pegou esses pacotes de outro lugar, não é?
   



cpd:/# cat /etc/apt/sources.list
deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://http.us.debian.org/debian stable non-free
cpd:/# 



 


sugiro vc fazer tbm um
dpkg-reconfigure --priority low debconf
   



cpd:/# dpkg-reconfigure --priority low debconf
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!

 


pra tirar a duvida, e um
dpkg --audit
   


cpd:/# dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
smbfsmount and umount commands for the smbfs (for kernels >= t

The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure  or the configure menu option in dselect:
libpango1.0-common   Modules and configuration files for the Pango
samba-common Samba common files used by both the server and the client


 


pra ver o que que fala.

   



 


"Caso uma instalação quebre durante o processo e você fique
impossibilitado de instalar e remover pacotes, tente rodar esses dois
comandos:

# apt-get -f install
# dpkg --configure -a

E tente o processo novamente, pode ser preciso rodar o segundo comando
acima mais vezes."

Texto extraído de Como usar o apt-get por Gustavo Noronha Silva 
disponível em http://ferax.sytes.net/kurumin/howto.html



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get erro e ou duvidas

2006-03-24 Por tôpico Carlucio Lopes
On Fri, 24 Mar 2006 00:18:23 -0300
Marcos Vinicius Lazarini <[EMAIL PROTECTED]> wrote:

> 
> Qual seu sources.list? certamente vc pegou esses pacotes de outro lugar, não 
> é?

cpd:/# cat /etc/apt/sources.list
deb http://http.us.debian.org/debian stable main contrib non-free
#deb http://http.us.debian.org/debian stable non-free
cpd:/# 

 
> sugiro vc fazer tbm um
> dpkg-reconfigure --priority low debconf

cpd:/# dpkg-reconfigure --priority low debconf
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!

> pra tirar a duvida, e um
> dpkg --audit
cpd:/# dpkg --audit
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 smbfsmount and umount commands for the smbfs (for kernels >= t

The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure  or the configure menu option in dselect:
 libpango1.0-common   Modules and configuration files for the Pango
 samba-common Samba common files used by both the server and the client


> pra ver o que que fala.
> 

-- 
Carlucio Lopes- Cobolito 62-8415-8939 62-526-8006 msn:[EMAIL PROTECTED]
Entenda Pirataria => http://www.carlinux.v10.com.br
Compilador Cobol Free http://tinycobol.org em Portugues
Porque Cobol? ==> http://www.clubecobol.com.br/cc_porque_cobol_02.asp
Projeto Debian Brasil http://cdd.debian-br.org
Tinycobol/Debian Gnu-Linux/Postgresql/Tcl-Tk



Re: apt-get erro e ou duvidas

2006-03-24 Por tôpico Carlucio Lopes
> 3 not fully installed or removed.
> Need to get 0B of archives.
> 
> O apt-get está indicando que 3 pacotes não foram instalados ou removidos 
> completamente.  Tente remover ou reinstalar os pacotes indicados. 
> Execute sempre o apt-get update antes de instalar novos pacotes.
> 

Ja fiz isso e nao resolveu


-- 
Carlucio Lopes- Cobolito 62-8415-8939 62-526-8006 msn:[EMAIL PROTECTED]
Entenda Pirataria => http://www.carlinux.v10.com.br
Compilador Cobol Free http://tinycobol.org em Portugues
Porque Cobol? ==> http://www.clubecobol.com.br/cc_porque_cobol_02.asp
Projeto Debian Brasil http://cdd.debian-br.org
Tinycobol/Debian Gnu-Linux/Postgresql/Tcl-Tk



Re: apt-get erro e ou duvidas

2006-03-23 Por tôpico ljnunes

Marcos Vinicius Lazarini escreveu:


Carlucio Lopes wrote:


Bom dia ,

nao consigo instalar via apt-get esta mostrando erro abaixo, alguem
saberia com resolver?

cpd:/# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up libpango1.0-common (1.8.1-1) ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
dpkg: error processing libpango1.0-common (--configure):
 subprocess post-installation script returned error exit status 255
Setting up samba-common (3.0.14a-3sarge1) ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
dpkg: error processing samba-common (--configure):
 subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of smbfs:
 smbfs depends on samba-common (= 3.0.14a-3sarge1); however:
  Package samba-common is not configured yet.
dpkg: error processing smbfs (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libpango1.0-common
 samba-common
 smbfs
E: Sub-process /usr/bin/dpkg returned an error code (1)
cpd:/# 



Qual seu sources.list? certamente vc pegou esses pacotes de outro 
lugar, não é?


sugiro vc fazer tbm um
dpkg-reconfigure --priority low debconf
pra tirar a duvida, e um
dpkg --audit
pra ver o que que fala.


3 not fully installed or removed.
Need to get 0B of archives.

O apt-get está indicando que 3 pacotes não foram instalados ou removidos 
completamente.  Tente remover ou reinstalar os pacotes indicados. 
Execute sempre o apt-get update antes de instalar novos pacotes.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get erro e ou duvidas

2006-03-23 Por tôpico Marcos Vinicius Lazarini

Carlucio Lopes wrote:


Bom dia ,

nao consigo instalar via apt-get esta mostrando erro abaixo, alguem
saberia com resolver?

cpd:/# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up libpango1.0-common (1.8.1-1) ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
dpkg: error processing libpango1.0-common (--configure):
 subprocess post-installation script returned error exit status 255
Setting up samba-common (3.0.14a-3sarge1) ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
dpkg: error processing samba-common (--configure):
 subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of smbfs:
 smbfs depends on samba-common (= 3.0.14a-3sarge1); however:
  Package samba-common is not configured yet.
dpkg: error processing smbfs (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libpango1.0-common
 samba-common
 smbfs
E: Sub-process /usr/bin/dpkg returned an error code (1)
cpd:/# 


Qual seu sources.list? certamente vc pegou esses pacotes de outro lugar, não é?

sugiro vc fazer tbm um
dpkg-reconfigure --priority low debconf
pra tirar a duvida, e um
dpkg --audit
pra ver o que que fala.

--
Marcos


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apt-get erro e ou duvidas

2006-03-23 Por tôpico Carlucio Lopes
Bom dia ,

nao consigo instalar via apt-get esta mostrando erro abaixo, alguem
saberia com resolver?

cpd:/# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up libpango1.0-common (1.8.1-1) ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
dpkg: error processing libpango1.0-common (--configure):
 subprocess post-installation script returned error exit status 255
Setting up samba-common (3.0.14a-3sarge1) ...
--output-fd: unknown option
debconf: whiptail output to the above errors, giving up!
dpkg: error processing samba-common (--configure):
 subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of smbfs:
 smbfs depends on samba-common (= 3.0.14a-3sarge1); however:
  Package samba-common is not configured yet.
dpkg: error processing smbfs (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libpango1.0-common
 samba-common
 smbfs
E: Sub-process /usr/bin/dpkg returned an error code (1)
cpd:/# 
-- 
Carlucio Lopes- Cobolito 62-8415-8939 62-526-8006 msn:[EMAIL PROTECTED]
Entenda Pirataria => http://www.carlinux.v10.com.br
Compilador Cobol Free http://tinycobol.org em Portugues
Porque Cobol? ==> http://www.clubecobol.com.br/cc_porque_cobol_02.asp
Projeto Debian Brasil http://cdd.debian-br.org
Tinycobol/Debian Gnu-Linux/Postgresql/Tcl-Tk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Apt-get >> Erro de barramento

2006-01-21 Por tôpico Vjuliao

Boas, João Victor

Para já não tenho aqui outra máquina à mão para seguir o teu conselho, 
mas fui examinar a pasta /var/lib/dpkg e ver o que continha. Realmente 
contem uma séries de pastas e ficheiros de configuração mas iria 
baralhar a máquina como voce disse...
Fui abrir o file "available" que contem a lista de pacotes instalados e 
...não abriu! Esse file "bichou", abençoado "available.old"!! Foi só 
repor o available a partir do backup e o problema tá resolvido.

Obrigado, voce me apontou o caminho!

Vjuliao



Joao Victor A. Di Stasi escreveu:

Veja se ps arquivos de controle do dpkg estão ok.
primeiro faça backup de seu /var/lib/dpkg
tar -xf dpkg-bichado.tar /var/lib/dpkg

depois vá em uma maquina bom e faça backup do /var/lib/dpkg dela
tar -xf dpkg-bom.tar /var/lib/dpkg


copie o dpkg-bom.tar para a maquina bichada, remova o /var/lib/dpkg dela
e extraia o bom para lá.

prós e contras:

prós:
Possivelmente sua maquina voltará a ser capáz de instalar pacotes e
atualizar-se novamente
contra:
Sua maquina "pensará" que possui os pacotes instalados da maquina boa e
não mais os pacotes realmente instalados. para resolver isto antes faça
uma lista de pacotes instalados com o dpkg -l.

Para isso ter acontecido com sua maquina é possivel que tenha ocorrido
uma queda de energia.

no todo, se isso não funcionar é só voltar o backup.


um abraço

Vjuliao escreveu:



Oi pessoal

Tou usando Debian Sid, kernel 2.4.27 e ontem fiz o habitual apt-get
smart-upgrade via synaptic. Ele após descarregar os pacotes abriu a
consola e:

A preconfigurar os pacotes
Falhou ao aplicar todas as alterações, role o .

Só isto, nada de erros e fiquei sem saber o que de errado aconteceu!

Abri uma consola, apt-get clean e voltei a tentar mas na consola:

Julinix:~# apt-get upgrade
A Ler Listas de Pacotes... Pronto
Construindo Árvore de Dependências... Pronto
Os seguintes pacotes serão mantidos em suas versões actuais:
 f-spot swf-player
Os seguintes pacotes serão actualizados:
 apt apt-utils binutils bsdutils debconf debconf-i18n debconf-utils
fluxbox
 grub iamerican ibritish ispell java-gcj-compat libglib2.0-0
libpoppler0c2
 libpoppler0c2-glib libslang2 libwine mount nmap nmapfe pan procmail
tasksel
 util-linux wine
26 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 2
não actualizados.
É necessário fazer o download de 0B/18,6MB de arquivos.
Depois descompactar, 2754kB adicionais de espaço em disco serão
utilizados.
Você deseja continuar [Y/n]? y
A pré-configurar os pacotes...
E: Sub-process /usr/bin/dpkg exited unexpectedly

Continua a não mostrar o que de errado se passou! Voltei a limpar a
cache e tentei mas agora com o aptitude:

Julinix:~# aptitude upgrade nmap
A Ler Listas de Pacotes... Pronto
Construindo Árvore de Dependências... Pronto
A ler informações extendidas de estado
A inicializar os estados dos pacotes... Pronto
A ler as descrições das tarefas... Pronto
A construir a base de dados de tags... Pronto
Os seguintes pacotes foram mantidos:
 f-spot swf-player
Os seguintes pacotes serão actualizados:
 apt apt-utils binutils bsdutils debconf debconf-i18n debconf-utils
 fluxbox grub iamerican ibritish ispell java-gcj-compat libglib2.0-0
 libpoppler0c2 libpoppler0c2-glib libslang2 libwine mount nmap nmapfe
pan
 procmail tasksel util-linux wine
Os seguintes pacotes estão RECOMENDADOS mas NÃO serão instalados:
 debian-archive-keyring libgcj6-src libglib2.0-data wbritish
26 pacotes actualizados, 0 novos instalados, 0 para serem removidos e
2 não actualizados.
É preciso obter 16,6MB/18,6MB de ficheiros. Depois de desempacotar
serão utilizados 2754kB.
Deseja continuar ? [Y/n/?] y
Obter:1 http://ftp.linux.pt unstable/main bsdutils 1:2.12r-5 [67,3kB]
Obter:2 http://ftp.linux.pt unstable/main mount 2.12r-5 [142kB]
Obter:3 http://ftp.linux.pt unstable/main util-linux 2.12r-5 [371kB]
Obter:4 http://ftp.linux.pt unstable/main debconf-i18n 1.4.68 [115kB]
Obter:5 http://ftp.linux.pt unstable/main debconf 1.4.68 [121kB]
Obter:6 http://ftp.linux.pt unstable/main libslang2 2.0.5-3 [418kB]
Obter:7 http://ftp.linux.pt unstable/main apt-utils 0.6.43.2 [196kB]
Obter:8 http://ftp.linux.pt unstable/main tasksel 2.39 [156kB]
Obter:9 http://ftp.linux.pt unstable/main binutils 2.16.1cvs20060117-1
[2516kB]
Obter:10 http://ftp.linux.pt unstable/main ibritish 3.1.20.0-4.1 [747kB]
Obter:11 http://ftp.linux.pt unstable/main ispell 3.1.20.0-4.1 [154kB]
Obter:12 http://ftp.linux.pt unstable/main iamerican 3.1.20.0-4.1 [740kB]
Obter:13 http://ftp.linux.pt unstable/main procmail 3.22-14 [141kB]
Obter:14 http://ftp.linux.pt unstable/main debconf-utils 1.4.68 [33,0kB]
Obter:15 http://ftp.linux.pt unstable/main fluxbox 0.9.14-1.1 [772kB]
Obter:16 http://ftp.linux.pt unstable/main grub 0.97-4 [364kB]
Obter:17 http://ftp.linux.pt unstable/main java-gcj-compat 1.0.51-1
[16,3kB]
Obter:18 http://ftp.linux.pt unstable/main libglib2.0-0 2.8.6-1 [475kB]
Obter:19 http://ftp.linux.pt unstable/main libpoppler0c2-glib 0.4.4-2
[40,2kB]
Obter:20 http

Re: Apt-get >> Erro de barramento

2006-01-21 Por tôpico Joao Victor A. Di Stasi
Veja se ps arquivos de controle do dpkg estão ok.
primeiro faça backup de seu /var/lib/dpkg
tar -xf dpkg-bichado.tar /var/lib/dpkg

depois vá em uma maquina bom e faça backup do /var/lib/dpkg dela
tar -xf dpkg-bom.tar /var/lib/dpkg


copie o dpkg-bom.tar para a maquina bichada, remova o /var/lib/dpkg dela
e extraia o bom para lá.

prós e contras:

prós:
Possivelmente sua maquina voltará a ser capáz de instalar pacotes e
atualizar-se novamente
contra:
Sua maquina "pensará" que possui os pacotes instalados da maquina boa e
não mais os pacotes realmente instalados. para resolver isto antes faça
uma lista de pacotes instalados com o dpkg -l.

Para isso ter acontecido com sua maquina é possivel que tenha ocorrido
uma queda de energia.

no todo, se isso não funcionar é só voltar o backup.


um abraço

Vjuliao escreveu:

> Oi pessoal
>
> Tou usando Debian Sid, kernel 2.4.27 e ontem fiz o habitual apt-get
> smart-upgrade via synaptic. Ele após descarregar os pacotes abriu a
> consola e:
>
> A preconfigurar os pacotes
> Falhou ao aplicar todas as alterações, role o .
>
> Só isto, nada de erros e fiquei sem saber o que de errado aconteceu!
>
> Abri uma consola, apt-get clean e voltei a tentar mas na consola:
>
> Julinix:~# apt-get upgrade
> A Ler Listas de Pacotes... Pronto
> Construindo Árvore de Dependências... Pronto
> Os seguintes pacotes serão mantidos em suas versões actuais:
>   f-spot swf-player
> Os seguintes pacotes serão actualizados:
>   apt apt-utils binutils bsdutils debconf debconf-i18n debconf-utils
> fluxbox
>   grub iamerican ibritish ispell java-gcj-compat libglib2.0-0
> libpoppler0c2
>   libpoppler0c2-glib libslang2 libwine mount nmap nmapfe pan procmail
> tasksel
>   util-linux wine
> 26 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 2
> não actualizados.
> É necessário fazer o download de 0B/18,6MB de arquivos.
> Depois descompactar, 2754kB adicionais de espaço em disco serão
> utilizados.
> Você deseja continuar [Y/n]? y
> A pré-configurar os pacotes...
> E: Sub-process /usr/bin/dpkg exited unexpectedly
>
> Continua a não mostrar o que de errado se passou! Voltei a limpar a
> cache e tentei mas agora com o aptitude:
>
> Julinix:~# aptitude upgrade nmap
> A Ler Listas de Pacotes... Pronto
> Construindo Árvore de Dependências... Pronto
> A ler informações extendidas de estado
> A inicializar os estados dos pacotes... Pronto
> A ler as descrições das tarefas... Pronto
> A construir a base de dados de tags... Pronto
> Os seguintes pacotes foram mantidos:
>   f-spot swf-player
> Os seguintes pacotes serão actualizados:
>   apt apt-utils binutils bsdutils debconf debconf-i18n debconf-utils
>   fluxbox grub iamerican ibritish ispell java-gcj-compat libglib2.0-0
>   libpoppler0c2 libpoppler0c2-glib libslang2 libwine mount nmap nmapfe
> pan
>   procmail tasksel util-linux wine
> Os seguintes pacotes estão RECOMENDADOS mas NÃO serão instalados:
>   debian-archive-keyring libgcj6-src libglib2.0-data wbritish
> 26 pacotes actualizados, 0 novos instalados, 0 para serem removidos e
> 2 não actualizados.
> É preciso obter 16,6MB/18,6MB de ficheiros. Depois de desempacotar
> serão utilizados 2754kB.
> Deseja continuar ? [Y/n/?] y
> Obter:1 http://ftp.linux.pt unstable/main bsdutils 1:2.12r-5 [67,3kB]
> Obter:2 http://ftp.linux.pt unstable/main mount 2.12r-5 [142kB]
> Obter:3 http://ftp.linux.pt unstable/main util-linux 2.12r-5 [371kB]
> Obter:4 http://ftp.linux.pt unstable/main debconf-i18n 1.4.68 [115kB]
> Obter:5 http://ftp.linux.pt unstable/main debconf 1.4.68 [121kB]
> Obter:6 http://ftp.linux.pt unstable/main libslang2 2.0.5-3 [418kB]
> Obter:7 http://ftp.linux.pt unstable/main apt-utils 0.6.43.2 [196kB]
> Obter:8 http://ftp.linux.pt unstable/main tasksel 2.39 [156kB]
> Obter:9 http://ftp.linux.pt unstable/main binutils 2.16.1cvs20060117-1
> [2516kB]
> Obter:10 http://ftp.linux.pt unstable/main ibritish 3.1.20.0-4.1 [747kB]
> Obter:11 http://ftp.linux.pt unstable/main ispell 3.1.20.0-4.1 [154kB]
> Obter:12 http://ftp.linux.pt unstable/main iamerican 3.1.20.0-4.1 [740kB]
> Obter:13 http://ftp.linux.pt unstable/main procmail 3.22-14 [141kB]
> Obter:14 http://ftp.linux.pt unstable/main debconf-utils 1.4.68 [33,0kB]
> Obter:15 http://ftp.linux.pt unstable/main fluxbox 0.9.14-1.1 [772kB]
> Obter:16 http://ftp.linux.pt unstable/main grub 0.97-4 [364kB]
> Obter:17 http://ftp.linux.pt unstable/main java-gcj-compat 1.0.51-1
> [16,3kB]
> Obter:18 http://ftp.linux.pt unstable/main libglib2.0-0 2.8.6-1 [475kB]
> Obter:19 http://ftp.linux.pt unstable/main libpoppler0c2-glib 0.4.4-2
> [40,2kB]
> Obter:20 http://ftp.linux.pt unstable/main libpoppler0c2 0.4.4-2 [445kB]
> Obter:21 http://ftp.linux.pt unstable/main wine 0.9.6-1 [390kB]
> Obter:22 http://ftp.linux.pt unstable/main libwine 0.9.6-1 [6940kB]
> Obter:23 http://ftp.linux.pt unstable/main pan 0.14.2.91-5 [1188kB]
> Obter:24 http://ftp.linux.pt unstable/main nmapfe 3.95-2 [91,8kB]
> Foi feito o download de 16,6MB em 2m39s (104kB/s)
> A pr

Apt-get >> Erro de barramento

2006-01-21 Por tôpico Vjuliao

Oi pessoal

Tou usando Debian Sid, kernel 2.4.27 e ontem fiz o habitual apt-get 
smart-upgrade via synaptic. Ele após descarregar os pacotes abriu a 
consola e:


A preconfigurar os pacotes
Falhou ao aplicar todas as alterações, role o .

Só isto, nada de erros e fiquei sem saber o que de errado aconteceu!

Abri uma consola, apt-get clean e voltei a tentar mas na consola:

Julinix:~# apt-get upgrade
A Ler Listas de Pacotes... Pronto
Construindo Árvore de Dependências... Pronto
Os seguintes pacotes serão mantidos em suas versões actuais:
  f-spot swf-player
Os seguintes pacotes serão actualizados:
  apt apt-utils binutils bsdutils debconf debconf-i18n debconf-utils 
fluxbox

  grub iamerican ibritish ispell java-gcj-compat libglib2.0-0 libpoppler0c2
  libpoppler0c2-glib libslang2 libwine mount nmap nmapfe pan procmail 
tasksel

  util-linux wine
26 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 2 não 
actualizados.

É necessário fazer o download de 0B/18,6MB de arquivos.
Depois descompactar, 2754kB adicionais de espaço em disco serão utilizados.
Você deseja continuar [Y/n]? y
A pré-configurar os pacotes...
E: Sub-process /usr/bin/dpkg exited unexpectedly

Continua a não mostrar o que de errado se passou! Voltei a limpar a 
cache e tentei mas agora com o aptitude:


Julinix:~# aptitude upgrade nmap
A Ler Listas de Pacotes... Pronto
Construindo Árvore de Dependências... Pronto
A ler informações extendidas de estado
A inicializar os estados dos pacotes... Pronto
A ler as descrições das tarefas... Pronto
A construir a base de dados de tags... Pronto
Os seguintes pacotes foram mantidos:
  f-spot swf-player
Os seguintes pacotes serão actualizados:
  apt apt-utils binutils bsdutils debconf debconf-i18n debconf-utils
  fluxbox grub iamerican ibritish ispell java-gcj-compat libglib2.0-0
  libpoppler0c2 libpoppler0c2-glib libslang2 libwine mount nmap nmapfe pan
  procmail tasksel util-linux wine
Os seguintes pacotes estão RECOMENDADOS mas NÃO serão instalados:
  debian-archive-keyring libgcj6-src libglib2.0-data wbritish
26 pacotes actualizados, 0 novos instalados, 0 para serem removidos e 2 
não actualizados.
É preciso obter 16,6MB/18,6MB de ficheiros. Depois de desempacotar serão 
utilizados 2754kB.

Deseja continuar ? [Y/n/?] y
Obter:1 http://ftp.linux.pt unstable/main bsdutils 1:2.12r-5 [67,3kB]
Obter:2 http://ftp.linux.pt unstable/main mount 2.12r-5 [142kB]
Obter:3 http://ftp.linux.pt unstable/main util-linux 2.12r-5 [371kB]
Obter:4 http://ftp.linux.pt unstable/main debconf-i18n 1.4.68 [115kB]
Obter:5 http://ftp.linux.pt unstable/main debconf 1.4.68 [121kB]
Obter:6 http://ftp.linux.pt unstable/main libslang2 2.0.5-3 [418kB]
Obter:7 http://ftp.linux.pt unstable/main apt-utils 0.6.43.2 [196kB]
Obter:8 http://ftp.linux.pt unstable/main tasksel 2.39 [156kB]
Obter:9 http://ftp.linux.pt unstable/main binutils 2.16.1cvs20060117-1 
[2516kB]

Obter:10 http://ftp.linux.pt unstable/main ibritish 3.1.20.0-4.1 [747kB]
Obter:11 http://ftp.linux.pt unstable/main ispell 3.1.20.0-4.1 [154kB]
Obter:12 http://ftp.linux.pt unstable/main iamerican 3.1.20.0-4.1 [740kB]
Obter:13 http://ftp.linux.pt unstable/main procmail 3.22-14 [141kB]
Obter:14 http://ftp.linux.pt unstable/main debconf-utils 1.4.68 [33,0kB]
Obter:15 http://ftp.linux.pt unstable/main fluxbox 0.9.14-1.1 [772kB]
Obter:16 http://ftp.linux.pt unstable/main grub 0.97-4 [364kB]
Obter:17 http://ftp.linux.pt unstable/main java-gcj-compat 1.0.51-1 [16,3kB]
Obter:18 http://ftp.linux.pt unstable/main libglib2.0-0 2.8.6-1 [475kB]
Obter:19 http://ftp.linux.pt unstable/main libpoppler0c2-glib 0.4.4-2 
[40,2kB]

Obter:20 http://ftp.linux.pt unstable/main libpoppler0c2 0.4.4-2 [445kB]
Obter:21 http://ftp.linux.pt unstable/main wine 0.9.6-1 [390kB]
Obter:22 http://ftp.linux.pt unstable/main libwine 0.9.6-1 [6940kB]
Obter:23 http://ftp.linux.pt unstable/main pan 0.14.2.91-5 [1188kB]
Obter:24 http://ftp.linux.pt unstable/main nmapfe 3.95-2 [91,8kB]
Foi feito o download de 16,6MB em 2m39s (104kB/s)
A pré-configurar os pacotes...
E: Sub-process /usr/bin/dpkg exited unexpectedly
Um pacote falhou a instalação. A tentar recuperar:
Bus error

E eis que mostrou algo mais: Bus Error!!
A conselho dum amigo fiz reboot e tentei aplicar pacote a pacote com o 
dpkg e logo no primeiro:


Julinix:/var/cache/apt/archives# dpkg -i apt_0.6.43.2_i386.deb
Erro no barramento

Vejo que realmente tenho um "erro de barramento" ou "Bus error".
Peço ajuda aqui ao pessoal para ultrapassar esta situação porque 
realmente não sei como o fazer.


Obrigado

Vjuliao


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]