apt-get não inicia...

1. apt-get não inicia...

ANDRÉ LUIZ FERREIRA DE OLVIEIRA
alfo

(usa Ubuntu)

Enviado em 04/08/2007 - 20:43h

Olá meus caros da comunidade... estou tentando acessar o apt-get e ele não inicia dá uma menssagem dizendo que: BANCO DE DADOS TRAVADO "outro processo está usando o banco de dados do sistema de pacotes(provavelmente outra aplicação adept ou apt-get ou aptitude) por favor feche a outra aplicação antes de usá-la novamente."
Como posso destravá-lo?
atodos muito obrigado...


  


2. Re: apt-get não inicia...

Eduardo Santos Nascimento
superstrings

(usa Debian)

Enviado em 04/08/2007 - 20:59h

Entre num terminal como root e dê o comando:

# ps aux

depois identifique o número do processo relativo ao apt-get e dê o comando:

# kill numero_do_processo




3. farei

ANDRÉ LUIZ FERREIRA DE OLVIEIRA
alfo

(usa Ubuntu)

Enviado em 04/08/2007 - 21:34h

valeu farei agora... vamos ver...


4. não apareceu..

ANDRÉ LUIZ FERREIRA DE OLVIEIRA
alfo

(usa Ubuntu)

Enviado em 04/08/2007 - 22:11h

Pôxa não apareceu apt-get apareceu o seguinte:
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2820 476 ? Ss Aug03 0:04 /sbin/init
root 2 0.0 0.0 0 0 ? S Aug03 0:00 [migration/0]
root 3 0.0 0.0 0 0 ? SN Aug03 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S Aug03 0:00 [watchdog/0]
root 5 0.0 0.0 0 0 ? S< Aug03 0:00 [events/0]
root 6 0.0 0.0 0 0 ? S< Aug03 0:00 [khelper]
root 7 0.0 0.0 0 0 ? S< Aug03 0:00 [kthread]
root 30 0.0 0.0 0 0 ? S< Aug03 0:01 [kblockd/0]
root 44 0.0 0.0 0 0 ? S< Aug03 0:00 [kseriod]
root 81 0.0 0.0 0 0 ? S Aug03 0:01 [pdflush]
root 82 0.0 0.0 0 0 ? S Aug03 0:59 [pdflush]
root 83 0.0 0.0 0 0 ? S< Aug03 0:23 [kswapd0]
root 84 0.0 0.0 0 0 ? S< Aug03 0:00 [aio/0]
root 1964 0.0 0.0 0 0 ? S< Aug03 0:21 [ata/0]
root 1965 0.0 0.0 0 0 ? S< Aug03 0:00 [ata_aux]
root 1968 0.1 0.0 0 0 ? S< Aug03 2:17 [scsi_eh_0]
root 1969 0.0 0.0 0 0 ? S< Aug03 0:00 [scsi_eh_1]
root 1972 0.0 0.0 0 0 ? S< Aug03 0:00 [ksuspend_usbd]
root 1973 0.0 0.0 0 0 ? S< Aug03 0:00 [khubd]
root 2480 0.0 0.0 0 0 ? S< Aug03 0:44 [kjournald]
root 2679 0.0 0.0 2800 320 ? S<s Aug03 0:02 /sbin/udevd --d
root 3696 0.0 0.0 0 0 ? S< Aug03 0:00 [kpsmoused]
root 3768 0.0 0.0 0 0 ? S< Aug03 0:00 [kgameportd]
root 4481 0.0 0.0 1560 388 tty4 Ss+ Aug03 0:00 /sbin/getty 384
root 4482 0.0 0.0 1560 388 tty5 Ss+ Aug03 0:00 /sbin/getty 384
root 4485 0.0 0.0 1564 388 tty2 Ss+ Aug03 0:00 /sbin/getty 384
root 4493 0.0 0.0 1564 388 tty3 Ss+ Aug03 0:00 /sbin/getty 384
root 4496 0.0 0.0 1560 388 tty1 Ss+ Aug03 0:00 /sbin/getty 384
root 4497 0.0 0.0 1560 388 tty6 Ss+ Aug03 0:00 /sbin/getty 384
root 4602 0.0 0.1 1612 560 ? Ss Aug03 0:00 /sbin/syslogd
root 4657 0.0 0.0 1700 360 ? Ss Aug03 0:00 /bin/dd bs 1 if
klog 4659 0.0 0.0 2340 360 ? Ss Aug03 0:00 /sbin/klogd -P
104 4680 0.0 0.1 2616 760 ? Ss Aug03 0:01 /usr/bin/dbus-d
107 4696 0.0 0.3 10300 1536 ? Ss Aug03 0:18 /usr/sbin/hald
root 4697 0.0 0.1 2780 632 ? S Aug03 0:00 hald-runner
root 4701 0.0 0.1 2836 660 ? S Aug03 0:00 /usr/lib/hal/ha
107 4708 0.0 0.1 2000 668 ? S Aug03 0:00 hald-addon-keyb
107 4731 0.0 0.1 1996 576 ? S Aug03 1:14 hald-addon-stor
root 4744 0.0 0.1 1852 612 ? Ss Aug03 0:11 /usr/sbin/dhcdb
root 4759 0.0 0.2 12220 1364 ? Ssl Aug03 0:03 /usr/sbin/Netwo
avahi 4776 0.0 0.1 2564 752 ? Ss Aug03 0:00 avahi-daemon: r
avahi 4778 0.0 0.0 2564 196 ? Ss Aug03 0:00 avahi-daemon: c
root 4794 0.0 0.1 2960 840 ? Ss Aug03 0:00 /usr/sbin/Netwo
dhcp 4850 0.0 0.1 2356 688 ? S Aug03 0:01 /sbin/dhclient
root 4860 0.0 0.0 6244 440 ? Ss Aug03 0:00 /usr/sbin/hpiod
hplip 4868 0.0 0.1 9792 968 ? S Aug03 0:00 python /usr/sbi
root 4921 0.0 0.0 0 0 ? S< Aug03 0:00 [kapmd]
root 4933 0.0 0.0 1572 352 ? Ss Aug03 0:00 /usr/sbin/apmd
dictd 4964 0.0 0.1 2032 536 ? S Aug03 0:00 dictd 1.10.2: 0
root 5097 0.0 0.0 1552 232 ? RNs Aug03 0:25 /usr/sbin/power
root 5174 0.0 0.1 2608 576 ? Ss Aug03 0:00 /usr/sbin/hcid
root 5220 0.0 0.0 0 0 ? S< Aug03 0:00 [krfcommd]
daemon 5283 0.0 0.0 1812 292 ? Ss Aug03 0:00 /usr/sbin/atd
root 5303 0.0 0.1 2180 644 ? Ss Aug03 0:00 /usr/sbin/cron
root 5371 0.0 0.0 3060 356 ? Ss Aug03 0:00 /usr/bin/kdm
root 5390 7.1 5.7 51540 29244 tty7 Ss+ Aug03 149:38 /usr/bin/X -br
root 5405 0.0 0.1 4056 824 ? S Aug03 0:00 -:0
alfo 5416 0.0 0.0 1628 336 ? Ss Aug03 0:00 /bin/sh /usr/bi
alfo 5457 0.0 0.0 4088 236 ? Ss Aug03 0:00 /usr/bin/ssh-ag
alfo 5460 0.0 0.0 2576 480 ? S Aug03 0:00 /usr/bin/dbus-l
alfo 5461 0.0 0.0 2616 240 ? Ss Aug03 0:00 /usr/bin/dbus-d
root 5496 0.0 0.0 1408 112 ? S Aug03 0:00 start_kdeinit -
alfo 5497 0.0 0.6 25732 3372 ? Ss Aug03 0:02 kdeinit Running
alfo 5500 0.0 0.4 25664 2380 ? S Aug03 0:29 dcopserver [kde
alfo 5503 0.0 1.1 27416 5744 ? S Aug03 0:02 klauncher [kdei
alfo 5505 0.1 2.6 38112 13432 ? S Aug03 2:35 kded [kdeinit]
alfo 5510 0.0 0.0 1544 276 ? S Aug03 0:00 kwrapper ksmser
alfo 5512 0.0 1.3 27460 7096 ? S Aug03 0:01 ksmserver [kdei
alfo 5513 0.1 2.1 31320 10720 ? S Aug03 2:06 kwin [kdeinit]
alfo 5515 0.0 2.4 34000 12516 ? S Aug03 1:14 kdesktop [kdein
alfo 5517 0.2 2.7 35824 13812 ? S Aug03 5:39 kicker [kdeinit
alfo 5521 0.0 1.9 32460 9664 ? S Aug03 0:06 kio_uiserver [k
alfo 5530 0.0 1.2 27100 6588 ? S Aug03 0:05 kaccess [kdeini
alfo 5531 0.0 0.7 20984 3972 ? S Aug03 1:35 /usr/bin/artsd
alfo 5542 0.0 2.3 30020 11992 ? S Aug03 0:03 katapult -sessi
alfo 5544 0.0 1.9 31884 9848 ? S Aug03 0:03 kmix [kdeinit]
alfo 5545 0.0 3.0 43368 15632 ? S Aug03 0:28 konqueror [kdei
alfo 5547 1.4 6.4 61788 32840 ? S Aug03 30:02 kcheckgmail -se
alfo 5558 0.1 1.9 37064 9972 ? S Aug03 2:41 knotify [kdeini
alfo 5566 0.0 1.5 28376 8120 ? S Aug03 0:09 klipper [kdeini
alfo 5569 0.0 1.7 31832 8732 ? S Aug03 0:02 knetworkmanager
alfo 5573 0.0 1.8 29596 9368 ? S Aug03 0:08 kbluetoothd --d
alfo 5577 0.0 0.0 1756 408 ? S Aug03 0:02 /usr/bin/passke
alfo 5584 0.0 0.1 10052 932 ? S Aug03 0:00 aspell -a -S -C
alfo 5586 0.5 1.6 63688 8324 ? S Aug03 10:52 kio_http [kdein
alfo 5594 0.0 2.0 29280 10456 ? S Aug03 0:02 kwalletmanager
alfo 5985 0.0 0.2 17380 1408 ? S Aug03 0:00 /usr/bin/kdesud
root 6036 0.0 0.7 21020 3976 ? S Aug03 0:34 /usr/bin/artsd
root 6772 0.0 0.0 0 0 ? S< Aug03 0:00 [scsi_eh_2]
root 6775 0.0 0.0 0 0 ? S< Aug03 0:01 [usb-storage]
107 6800 0.0 0.1 2000 576 ? S Aug03 0:30 hald-addon-stor
alfo 6842 0.0 0.0 1624 328 ? S Aug03 0:00 /bin/sh /usr/li
alfo 6858 2.3 5.0 203664 25860 ? Sl Aug03 41:23 /usr/lib/openof
alfo 6938 1.2 2.8 73688 14684 ? S Aug03 21:36 /usr/bin/x-www-
alfo 7792 0.0 0.9 26256 4912 ? S Aug03 0:01 kio_file [kdein
cupsys 10267 0.0 0.1 4592 740 ? SNs 07:38 0:00 /usr/sbin/cupsd
alfo 11807 23.0 6.5 99288 33236 ? Sl 14:24 102:05 amule
alfo 12521 0.0 0.0 1628 308 ? S 18:11 0:00 /bin/sh -c fire
alfo 12522 18.9 14.8 222564 75292 ? Sl 18:11 40:46 /usr/lib/firefo
alfo 12533 0.0 0.2 5036 1408 ? S 18:12 0:00 /usr/lib/libgco
alfo 12543 0.0 0.0 0 0 ? Z 18:12 0:00 [net] <defunct>
alfo 12623 0.0 2.4 40704 12372 ? S 18:32 0:04 konqueror [kdei
alfo 13650 2.1 2.9 34016 15032 ? S 21:43 0:04 konsole [kdeini
alfo 13655 1.1 0.6 5520 3100 pts/1 Ss 21:44 0:01 /bin/bash
root 13681 0.5 0.3 3948 1764 pts/1 S 21:46 0:00 -bash
root 13693 0.0 0.1 2464 980 pts/1 R+ 21:46 0:00 ps aux


5. Re: apt-get não inicia...

Eduardo Santos Nascimento
superstrings

(usa Debian)

Enviado em 05/08/2007 - 00:40h

Essa mensagem aparece quando algum processo envolvendo o atp está rolando e vc solicita, por exemplo, o apt-get update. Vc deve terminar o processo inicial, e o comando ps aux mostra todos os processos que aparecem na máquina, com a sua respectiva identificação. Caso vc não consiga identificar o processo, feche a sessão ou( sendo mais truculento) reinicie o sistema.


6. já o fiz

ANDRÉ LUIZ FERREIRA DE OLVIEIRA
alfo

(usa Ubuntu)

Enviado em 05/08/2007 - 13:48h

Já reeniciei o computador e nada, fiz com a internet ligada e desligada.
Acima vc não identificou algo que passou despercebido?
mais uma vez obrigado...


7. Re: apt-get não inicia...

Petterson
bl4z3

(usa Debian)

Enviado em 05/08/2007 - 14:37h

qual distro ta usando?

tenta:
#aptitude update
depois
#aptitude install <pacote>

Quando esta travado acontece quando vc demora atualizar a lista ae vc manda atualizar denovo e sempre revolveu comigo.

[]s

Qualquer coisa especifica melhor, a distro que ta usando, qual usuario, e tal.

Ta digitando isso como root ne?
[]s


8. uso Kubuntu 7.04

ANDRÉ LUIZ FERREIRA DE OLVIEIRA
alfo

(usa Ubuntu)

Enviado em 05/08/2007 - 17:33h

uso Kubuntu 7.04, tentei o que vc me disse e não deu certou aconteceu isso:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: Não foi possível reconstruir cache de pacotes



9. Re: apt-get não inicia...

Rafael
rafagondi

(usa Ubuntu)

Enviado em 05/08/2007 - 17:47h


eu tbm recomendo a atualização, pq eh mais seguro, senao vc pode acabar fechando um processo essencial da maquina e ela parar inteira :( ...

t+


10. não atualiza

ANDRÉ LUIZ FERREIRA DE OLVIEIRA
alfo

(usa Ubuntu)

Enviado em 05/08/2007 - 18:42h

qual o comando para atiualizar tudo?


11. Re: apt-get não inicia...

ANDRÉ LUIZ FERREIRA DE OLVIEIRA
alfo

(usa Ubuntu)

Enviado em 05/08/2007 - 18:50h

fica dando este erro:"dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
Alguma dica?
uso o Kubuntu 7.04






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts