Autor Tópico: Problema com o apt-get update. (Resolvido)  (Lida 1710 vezes)

Offline andreceara

  • Usuário Ubuntu
  • *
  • Mensagens: 116
    • Ver perfil
Problema com o apt-get update. (Resolvido)
« Online: 01 de Dezembro de 2011, 16:40 »
Ola pessoal. Apos dar o comando sudo apt-get update aparece esse erro no final:

Ign http://packages.medibuntu.org oneiric/free Translation-en
Ign http://packages.medibuntu.org oneiric/non-free Translation-pt_BR
Ign http://packages.medibuntu.org oneiric/non-free Translation-pt
Ign http://packages.medibuntu.org oneiric/non-free Translation-en
Baixados 2.316 B em 39s (59 B/s)
Lendo listas de pacotes... Pronto
W: Erro GPG: http://ppa.launchpad.net oneiric Release: As assinaturas a seguir não puderam ser verificadas devido à chave pública não estar disponível: NO_PUBKEY 13AA04366D36B2F8

Segue o meu source.list:

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-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/ oneiric universe
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-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/ oneiric multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-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/ oneiric-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-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 oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric 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 oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
« Última modificação: 01 de Dezembro de 2011, 21:33 por andreceara »

Offline Tota

  • Usuário Ubuntu
  • *
  • Mensagens: 14.982
    • Ver perfil
Re: Problema com o apt-get update
« Resposta #1 Online: 01 de Dezembro de 2011, 17:24 »
Ola

Fez uma pesquisa no forum sobre isto?

Existem varios topicos abordando o assunto, como por exemplo este => http://ubuntuforum-br.org/index.php/topic,89438.0.html

[]'s

Offline andreceara

  • Usuário Ubuntu
  • *
  • Mensagens: 116
    • Ver perfil
Re: Problema com o apt-get update.
« Resposta #2 Online: 01 de Dezembro de 2011, 21:32 »
Tota obrigado pela ajuda. Consegui resolver seguindo esse link http://www.vivaolinux.com.br/artigo/Resolvendo-o-problema-do-aptget-NO_PUBKEY

Em resumo, dois comandos:

# gpg --keyserver subkeys.pgp.net --recv (sua key)   
No lugar de (sua key) coloquei 13AA04366D36B2F8, que é a numeraçao que aparece no final do erro

# gpg --export --armor (sua key) | sudo apt-key add -
Novamente substitui o (sua key) pelos numeros 13AA04366D36B2F8

Problema resolvido. Obrigado a todos.