Pular para o conteúdo

apt-get com problemas [RESOLVIDO]

Responder tópico
O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.
  • Denunciar
  • Indicar
01 02

1. apt-get com problemas [RESOLVIDO]

Enviado em 12/02/2013 - 21:16h

Olá!

Estou com problemas quando executo comandos do "apt-get", tais como o "install" e o "update". aparece que fica aguardando cabeçalhos e nunca sai dessa...


brunokuhn@brunokuhn:~$ sudo apt-get update
[sudo] password for brunokuhn:
Ign http://extras.ubuntu.com quantal InRelease
Ign http://repo.steampowered.com precise InRelease
12% [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos]


Como resolver?

Responder tópico

O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.

3. Re: apt-get com problemas [RESOLVIDO]

Enviado em 12/02/2013 - 22:42h

Como que está a sua conexão com a internet?

Você tem outros repositórios além dos oficiais do Ubuntu?

4. Re: apt-get com problemas [RESOLVIDO]

Enviado em 13/02/2013 - 00:13h

A minha internet está funcionando perfeitamente...
O problema está só com o apt-get, não sei porquê.

Alguém sabe o que pode estar causando este problema esquisito?

5. Re: apt-get com problemas [RESOLVIDO]

Enviado em 13/02/2013 - 09:51h

brunokuhn escreveu:

A minha internet está funcionando perfeitamente...
O problema está só com o apt-get, não sei porquê.

Alguém sabe o que pode estar causando este problema esquisito?


Poste o resultado do comando abaixo
$cat /etc/apt/sources.list

6. Re: apt-get com problemas [RESOLVIDO]

Enviado em 13/02/2013 - 14:51h

Resultado do comando cat /etc/apt/sources.list.


brunokuhn@brunokuhn:~$ cat /etc/apt/sources.list
#deb cdrom:[Kubuntu 12.10 _Quantal Quetzal_ - Release amd64 (20121017.1)]/ quantal main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ quantal main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ quantal main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ quantal-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://br.archive.ubuntu.com/ubuntu/ quantal universe
deb-src http://br.archive.ubuntu.com/ubuntu/ quantal universe
deb http://br.archive.ubuntu.com/ubuntu/ quantal-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ quantal-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://br.archive.ubuntu.com/ubuntu/ quantal multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ quantal multiverse
deb http://br.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ quantal-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://br.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu quantal-security main restricted
deb-src http://security.ubuntu.com/ubuntu quantal-security main restricted
deb http://security.ubuntu.com/ubuntu quantal-security universe
deb-src http://security.ubuntu.com/ubuntu quantal-security universe
deb http://security.ubuntu.com/ubuntu quantal-security multiverse
deb-src http://security.ubuntu.com/ubuntu quantal-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu quantal partner
# deb-src http://archive.canonical.com/ubuntu quantal partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu quantal main
deb-src http://extras.ubuntu.com/ubuntu quantal main

7. apt-get com problemas?!

Enviado em 13/02/2013 - 17:58h

faz assim:

apt-get clean
apt-get install -f
apt-get update

agora testa instalando algum programa tipo audacious (player de musica tipo winamp)...
apt-get install audacious....

posta o resultado.

8. Re: apt-get com problemas [RESOLVIDO]

Enviado em 13/02/2013 - 21:08h

jacksonsantana escreveu:

faz assim:

apt-get clean
apt-get install -f
apt-get update

agora testa instalando algum programa tipo audacious (player de musica tipo winamp)...
apt-get install audacious....

posta o resultado.


Cara, fiz o que tu disse, mas não adiantou, chegou a 15%, logo apareceu que tava em 12% e quando chegou a 11% (retrocedendo?? Como assim??) eu abortei (ctrl+c).

Olha o resultado do apt-get update:


brunokuhn@brunokuhn:~$ sudo apt-get clean
[sudo] password for brunokuhn:
brunokuhn@brunokuhn:~$ sudo apt-get clean
brunokuhn@brunokuhn:~$ sudo apt-get install -f
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os seguintes pacotes foram automaticamente instalados e não são mais necessários:
brasero-common calligra-l10n-pt calligra-l10n-ptbr firefox-locale-pt indicator-application kde-l10n-pt kde-l10n-ptbr language-pack-pt language-pack-pt-base libappindicator3-1
libbrasero-media3-1 libburn4 libcanberra-gtk3-0 libcanberra-gtk3-module libdiscid0 libgee2 libgmime-2.6-0 libid3tag0 libindicator3-7 libisofs6 libjte1 libportmidi0 libquvi-scripts libquvi7
libtotem-plparser17 libunity-protocol-private0 libunity9 mixxx-data
Use 'apt-get autoremove' para removê-los.
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 4 não atualizados.
brunokuhn@brunokuhn:~$ sudo apt-get update
Ign http://repo.steampowered.com precise InRelease
Ign http://security.ubuntu.com quantal-security InRelease
Ign http://br.archive.ubuntu.com quantal InRelease
Ign http://extras.ubuntu.com quantal InRelease
Err http://repo.steampowered.com precise Release.gpg
Conexão falhou
Ign http://repo.steampowered.com precise Release
Err http://security.ubuntu.com quantal-security Release.gpg
Conexão falhou
Err http://extras.ubuntu.com quantal Release.gpg
Conexão falhou
Ign http://repo.steampowered.com precise/steam Sources/DiffIndex
Ign http://security.ubuntu.com quantal-security Release
Ign http://br.archive.ubuntu.com quantal-updates InRelease
Ign http://extras.ubuntu.com quantal Release
Ign http://extras.ubuntu.com quantal/main Sources/DiffIndex
Ign http://security.ubuntu.com quantal-security/main Sources/DiffIndex
Ign http://br.archive.ubuntu.com quantal-backports InRelease
Ign http://repo.steampowered.com precise/steam amd64 Packages/DiffIndex
Ign http://extras.ubuntu.com quantal/main amd64 Packages/DiffIndex
Ign http://security.ubuntu.com quantal-security/restricted Sources/DiffIndex
Ign http://repo.steampowered.com precise/steam i386 Packages/DiffIndex
Err http://br.archive.ubuntu.com quantal Release.gpg
Conexão falhou
Ign http://extras.ubuntu.com quantal/main i386 Packages/DiffIndex
Ign http://security.ubuntu.com quantal-security/universe Sources/DiffIndex
Ign http://security.ubuntu.com quantal-security/multiverse Sources/DiffIndex
Err http://br.archive.ubuntu.com quantal-updates Release.gpg
Conexão falhou
Err http://br.archive.ubuntu.com quantal-backports Release.gpg
Conexão falhou
Ign http://br.archive.ubuntu.com quantal Release
Ign http://security.ubuntu.com quantal-security/main amd64 Packages/DiffIndex
Ign http://br.archive.ubuntu.com quantal-updates Release
Ign http://br.archive.ubuntu.com quantal-backports Release
Ign http://security.ubuntu.com quantal-security/restricted amd64 Packages/DiffIndex
Ign http://br.archive.ubuntu.com quantal/main Sources/DiffIndex
Ign http://br.archive.ubuntu.com quantal/restricted Sources/DiffIndex
Ign http://security.ubuntu.com quantal-security/universe amd64 Packages/DiffIndex
Ign http://security.ubuntu.com quantal-security/multiverse amd64 Packages/DiffIndex
Ign http://br.archive.ubuntu.com quantal/universe Sources/DiffIndex
Ign http://security.ubuntu.com quantal-security/main i386 Packages/DiffIndex
Ign http://br.archive.ubuntu.com quantal/multiverse Sources/DiffIndex
Ign http://br.archive.ubuntu.com quantal/main amd64 Packages/DiffIndex
11% [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos] [Aguardando por cabeçalhos]



Resultado do apt-get install audacious depois de 13 minutos sendo executado:


brunokuhn@brunokuhn:~$ sudo apt-get install audacious
[sudo] password for brunokuhn:
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os seguintes pacotes foram automaticamente instalados e não são mais necessários:
brasero-common calligra-l10n-pt calligra-l10n-ptbr firefox-locale-pt indicator-application kde-l10n-pt kde-l10n-ptbr language-pack-pt language-pack-pt-base libappindicator3-1
libbrasero-media3-1 libburn4 libcanberra-gtk3-0 libcanberra-gtk3-module libdiscid0 libgee2 libgmime-2.6-0 libid3tag0 libindicator3-7 libisofs6 libjte1 libportmidi0 libquvi-scripts libquvi7
libtotem-plparser17 libunity-protocol-private0 libunity9 mixxx-data
Use 'apt-get autoremove' para removê-los.
Os pacotes extra a seguir serão instalados:
audacious-plugins audacious-plugins-data gtk2-engines-pixbuf libaudclient2 libaudcore1 libbinio1ldbl libbs2b0 libcue1 libfluidsynth1 libguess1 libmowgli2
Os NOVOS pacotes a seguir serão instalados:
audacious audacious-plugins audacious-plugins-data gtk2-engines-pixbuf libaudclient2 libaudcore1 libbinio1ldbl libbs2b0 libcue1 libfluidsynth1 libguess1 libmowgli2
0 pacotes atualizados, 12 pacotes novos instalados, 0 a serem removidos e 4 não atualizados.
É preciso baixar 2.927 kB de arquivos.
Depois desta operação, 10,1 MB adicionais de espaço em disco serão usados.
Você quer continuar [S/n]? s
AVISO: Os pacotes a seguir não podem ser autenticados!
audacious-plugins-data libaudcore1 libbinio1ldbl libbs2b0 libcue1 libfluidsynth1 audacious-plugins libaudclient2 libmowgli2 libguess1 gtk2-engines-pixbuf audacious
Instalar estes pacotes sem verificação [s/N]? s
0% [Aguardando por cabeçalhos]


O que será que posso fazer para resolver? Não consigo instalar nada...

9. apt-get com problemas

Enviado em 13/02/2013 - 21:31h

sudo apt-get autoremove

vai q da certo!

10. Re: apt-get com problemas [RESOLVIDO]

Enviado em 13/02/2013 - 21:57h

Abra o "canais de software" e troque o servidor.

Tem uma opção lá para testar e escolher o servidor mais rápido. Use-a!

Após trocar de servidor, teste rodando o "update" (feche o "canais de software" antes).

11. Re: apt-get com problemas [RESOLVIDO]

Enviado em 13/02/2013 - 22:43h

pinduvoz escreveu:

Abra o "canais de software" e troque o servidor.

Tem uma opção lá para testar e escolher o servidor mais rápido. Use-a!

Após trocar de servidor, teste rodando o "update" (feche o "canais de software" antes).


André, o problema dele parece estar em algum PPA que ele instalou e agora está a recusar conexões.

12. Re: apt-get com problemas [RESOLVIDO]

Enviado em 14/02/2013 - 09:14h

Cara, fui seguir a dica do companheiro aí de dar um sudo apt-get autoremove.

Isso excluiu algumas bibliotecas importantes! Tipo o language-pack-pt e o language-pack-pt-base. Como o meu apt-get AINDA não está funcionando, mesmo com tantas dicas (uma que só prejudicou :S), não poderei instalá-la novamente.

E agora??
01 02

Responder tópico

O Viva o Linux depende da receita de anúncios para se manter. Ative os cookies aqui para nos patrocinar.
Não conseguimos carregar os anúncios. Se usa bloqueador, considere liberar o Viva o Linux para nos patrocinar.

Responder tópico

Entre na sua conta para responder.

Fazer login para responder