Fórum Ubuntu Linux - PT

Suporte Técnico => Instalação e Atualização => Tópico iniciado por: kayomatheus em 21 de Agosto de 2014, 11:48

Título: Erro com o apt-get update
Enviado por: kayomatheus em 21 de Agosto de 2014, 11:48
Bom dia pessoal,
Fui fazer o apt-get update e apareceu o seguinte erro:

Código: [Selecionar]
Err http://archive.ubuntu.com trusty InRelease
 
Err http://archive.ubuntu.com trusty-updates InRelease                 
 
Err http://archive.ubuntu.com trusty-backports InRelease               
 
Err http://archive.ubuntu.com trusty-security InRelease                 
 
Err http://archive.canonical.com trusty InRelease                       
 
Err http://extras.ubuntu.com trusty InRelease                           
 
Err http://archive.ubuntu.com trusty Release.gpg                       
  Não foi possível resolver 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-updates Release.gpg
  Não foi possível resolver 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-backports Release.gpg
  Não foi possível resolver 'archive.ubuntu.com'
Err http://archive.ubuntu.com trusty-security Release.gpg
  Não foi possível resolver 'archive.ubuntu.com'
Err http://archive.canonical.com trusty Release.gpg
  Não foi possível resolver 'archive.canonical.com'
Err http://extras.ubuntu.com trusty Release.gpg
  Não foi possível resolver 'extras.ubuntu.com'
Lendo listas de pacotes... Pronto
W: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease 

W: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease 

W: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease 

W: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease 

W: Falhou ao buscar http://archive.canonical.com/ubuntu/dists/trusty/InRelease 

W: Falhou ao buscar http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease 

W: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Não foi possível resolver 'archive.ubuntu.com'

W: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Não foi possível resolver 'archive.ubuntu.com'

W: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg  Não foi possível resolver 'archive.ubuntu.com'

W: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Não foi possível resolver 'archive.ubuntu.com'

W: Falhou ao buscar http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg  Não foi possível resolver 'archive.canonical.com'

W: Falhou ao buscar http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Não foi possível resolver 'extras.ubuntu.com'

W: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar.

Já procurei várias soluções na internet, como deletar o source.list, seguir uma ordem de comandos, mas não obtive sucesso.Se alguém puder me ajudar a resolve-lo, fico grato.
Abraços
Título: Re: Erro com o apt-get update
Enviado por: jkmsjq em 21 de Agosto de 2014, 18:42
Digite no terminal (Ctrl + Alt + T):

Código: [Selecionar]
software-properties-gtk
Dê <Enter>.


Vá na aba Aplicativos do Ubuntu e na opção Baixar de: escolha Servidor - Brasil, se estiver selecionado outra opção.

Outra pergunta: tem certeza que sua máquina está conectada à internet...??

Título: Re: Erro com o apt-get update
Enviado por: kayomatheus em 22 de Agosto de 2014, 08:58
Estou conectado sim. Dei o comando e o erro ainda persiste.
Código: [Selecionar]
kayocarneiro@kayo-vpcsa35gb:~$ sudo apt-get update
[sudo] password for kayocarneiro:
Err http://br.archive.ubuntu.com trusty InRelease
 
Err http://br.archive.ubuntu.com trusty-updates InRelease
 
Err http://br.archive.ubuntu.com trusty-backports InRelease
 
Err http://security.ubuntu.com trusty-security InRelease
 
Err http://extras.ubuntu.com trusty InRelease
 
Err http://br.archive.ubuntu.com trusty Release.gpg
  Não foi possível resolver 'br.archive.ubuntu.com'
Err http://br.archive.ubuntu.com trusty-updates Release.gpg
  Não foi possível resolver 'br.archive.ubuntu.com'
Err http://security.ubuntu.com trusty-security Release.gpg
  Não foi possível resolver 'security.ubuntu.com'
Err http://extras.ubuntu.com trusty Release.gpg
  Não foi possível resolver 'extras.ubuntu.com'
Err http://br.archive.ubuntu.com trusty-backports Release.gpg
  Não foi possível resolver 'br.archive.ubuntu.com'
Err http://archive.ubuntu.com saucy InRelease
 
Err http://archive.ubuntu.com saucy Release.gpg
  Não foi possível resolver 'archive.ubuntu.com'
Lendo listas de pacotes... Pronto
W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty/InRelease 

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease 

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease 

W: Falhou ao buscar http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease 

W: Falhou ao buscar http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease 

W: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/saucy/InRelease 

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Não foi possível resolver 'br.archive.ubuntu.com'

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Não foi possível resolver 'br.archive.ubuntu.com'

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg  Não foi possível resolver 'br.archive.ubuntu.com'

W: Falhou ao buscar http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Não foi possível resolver 'security.ubuntu.com'

W: Falhou ao buscar http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Não foi possível resolver 'extras.ubuntu.com'

W: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/saucy/Release.gpg  Não foi possível resolver 'archive.ubuntu.com'

W: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar.
Título: Re: Erro com o apt-get update
Enviado por: Tota em 22 de Agosto de 2014, 09:52
Comente com uma cerquilha estas entradas com erros.

de
Citar
http://br.archive.ubuntu.com/ubuntu/ trusty-updates InRelease

para
Citar
# http://br.archive.ubuntu.com/ubuntu/ trusty-updates InRelease

Título: Re: Erro com o apt-get update
Enviado por: kayomatheus em 22 de Agosto de 2014, 10:03
Não encontrei este lugar para comentar, segue minha source.list
Código: [Selecionar]
# deb cdrom:[Ubuntu 14.04 LTS _Trusty Tahr_ - Release amd64 (20140417)]/ trusty 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/trusty main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/trusty main restricted

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

deb http://security.ubuntu.com/ubuntu/trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu/trusty-security main restricted
deb http://security.ubuntu.com/ubuntu/ trusty-security universe
deb-src http://security.ubuntu.com/ubuntu/ trusty-security universe
deb http://security.ubuntu.com/ubuntu/ trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu/ trusty-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 trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty 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/ trusty main
deb-src http://extras.ubuntu.com/ubuntu/ trusty main
deb http://archive.ubuntu.com/ubuntu/saucy main restricted universe multiverse
Título: Re: Erro com o apt-get update
Enviado por: Tota em 22 de Agosto de 2014, 10:22
Então abra o software-properties-gtk

Veja lá no indice de chaves.
Título: Re: Erro com o apt-get update
Enviado por: kayomatheus em 22 de Agosto de 2014, 10:38
Para o source.list acima aparecem essas configurações:
(https://ubuntuforum-pt.org/proxy.php?request=http%3A%2F%2F1.bp.blogspot.com%2F-BClgkMBsNfA%2FU_dHccZyoPI%2FAAAAAAAAAFI%2FqvzDPhJU8WU%2Fs1600%2Fapp%252Bubuntu.png&hash=8e7d87f4984f5c145ded76075dc5f53d883adb2a)
(https://ubuntuforum-pt.org/proxy.php?request=http%3A%2F%2F4.bp.blogspot.com%2F-IZopfdG22yg%2FU_dHceiOEQI%2FAAAAAAAAAFE%2FPJuGfgaqB6s%2Fs1600%2Fatt.png&hash=db305bf373dd35b50185a9a13cd32a89f93c8dbf)
(https://ubuntuforum-pt.org/proxy.php?request=http%3A%2F%2F3.bp.blogspot.com%2F-qAswZ2fNPgU%2FU_dHcTw8mcI%2FAAAAAAAAAFA%2FG8BAT07hvhU%2Fs1600%2Fautenticacao.png&hash=3b8a38961eb01441e4961b56b9ca09210e183a72)
(https://ubuntuforum-pt.org/proxy.php?request=http%3A%2F%2F2.bp.blogspot.com%2F-ggiHU41MktU%2FU_dHc9zzOBI%2FAAAAAAAAAFQ%2FFoG8ZW5Q7lI%2Fs1600%2Foutro%252Bpro.png&hash=09ddb09101e4fd8d167a1415f6a12050b095f72a)

Título: Re: Erro com o apt-get update
Enviado por: jkmsjq em 22 de Agosto de 2014, 11:18
Na aba Aplicativos Ubuntu, selecione todas opções, exceto código fonte.

Na aba Outros Programas desmarque a opção relacionada ao Saucy.

Execute novamente

sudo apt-get update && sudo apt-get upgrade
Título: Re: Erro com o apt-get update
Enviado por: Airton Costa em 24 de Agosto de 2014, 20:17
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/multiverse amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/multiverse amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_main_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/universe i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/multiverse i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_main_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/universe i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/multiverse i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas


como faço para corrigir esse erro?
Título: Re: Erro com o apt-get update
Enviado por: platao em 24 de Agosto de 2014, 20:30
sudo rm /var/lib/apt/lists/* ; sudo rm /var/lib/apt/lists/partial/* ; sudo apt-get clean ; sudo apt-get -f install ; sudo apt-get update
Título: Re: Erro com o apt-get update
Enviado por: kayomatheus em 25 de Agosto de 2014, 08:43
Após fazer as mudanças, o erro continua:
Código: [Selecionar]
kayocarneiro@kayo-vpcsa35gb:~$ sudo apt-get update
[sudo] password for kayocarneiro:
Err http://security.ubuntu.com main InRelease
 
Err http://security.ubuntu.com trusty-security InRelease
 
Err http://extras.ubuntu.com trusty InRelease                           
 
Err http://security.ubuntu.com main Release.gpg                         
  Não foi possível resolver 'security.ubuntu.com'
Err http://br.archive.ubuntu.com main InRelease
 
Err http://br.archive.ubuntu.com main InRelease
 
Err http://security.ubuntu.com trusty-security Release.gpg
  Não foi possível resolver 'security.ubuntu.com'
Err http://extras.ubuntu.com trusty Release.gpg
  Não foi possível resolver 'extras.ubuntu.com'
Err http://br.archive.ubuntu.com trusty InRelease
 
Err http://br.archive.ubuntu.com trusty-updates InRelease
 
Err http://br.archive.ubuntu.com main InRelease
 
Err http://br.archive.ubuntu.com main Release.gpg
  Não foi possível resolver 'br.archive.ubuntu.com'
Err http://br.archive.ubuntu.com main Release.gpg
  Não foi possível resolver 'br.archive.ubuntu.com'
Err http://br.archive.ubuntu.com trusty Release.gpg
  Não foi possível resolver 'br.archive.ubuntu.com'
Err http://br.archive.ubuntu.com trusty-updates Release.gpg
  Não foi possível resolver 'br.archive.ubuntu.com'
Err http://br.archive.ubuntu.com main Release.gpg
  Não foi possível resolver 'br.archive.ubuntu.com'
Lendo listas de pacotes... Pronto
W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/trusty/dists/main/InRelease 

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/trusty-updates/dists/main/InRelease 

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty/InRelease 

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease 

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/trusty-backports/dists/main/InRelease 

W: Falhou ao buscar http://security.ubuntu.com/ubuntu/trusty-security/dists/main/InRelease 

W: Falhou ao buscar http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease 

W: Falhou ao buscar http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease 

W: Falhou ao buscar http://security.ubuntu.com/ubuntu/trusty-security/dists/main/Release.gpg  Não foi possível resolver 'security.ubuntu.com'

W: Falhou ao buscar http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg  Não foi possível resolver 'security.ubuntu.com'

W: Falhou ao buscar http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Não foi possível resolver 'extras.ubuntu.com'

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/trusty/dists/main/Release.gpg  Não foi possível resolver 'br.archive.ubuntu.com'

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/trusty-updates/dists/main/Release.gpg  Não foi possível resolver 'br.archive.ubuntu.com'

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Não foi possível resolver 'br.archive.ubuntu.com'

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Não foi possível resolver 'br.archive.ubuntu.com'

W: Falhou ao buscar http://br.archive.ubuntu.com/ubuntu/trusty-backports/dists/main/Release.gpg  Não foi possível resolver 'br.archive.ubuntu.com'

W: Falhou o download de alguns ficheiros de índice. Foram ignorados ou os antigos foram usados em seu lugar.
Título: Re: Erro com o apt-get update
Enviado por: platao em 25 de Agosto de 2014, 11:11
para o erro de GPG e so instalar esse pacote;

http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/pool/main/l/launchpad-getkeys/launchpad-getkeys_0.3.2-1~webupd8~oneiric_all.deb

instale o deb e depois rode o comando no terminal;

sudo launchpad-getkeys ; sudo apt-get update

Sempre que houver problemas com chave, e so rodar esse comando novamente
Título: Re: Erro com o apt-get update
Enviado por: kayomatheus em 26 de Agosto de 2014, 09:29
E ae galera,
Agradeço a ajuda de todos porém não consegui resolver e apelei pro modo windows de resolver as coisas. kkkkkk
Porém não testei esta última dica, se alguém tiver com o problema e quiser testar pra ver :)
Abraços, valeu flw!