apt-get update error e erro em qualquer tipo de instalação [RESOLVIDO]

1. apt-get update error e erro em qualquer tipo de instalação [RESOLVIDO]

leo
leodoc

(usa Debian)

Enviado em 12/10/2016 - 20:09h

segue a lista de erros que aparecem ao usar o comando "apt-get update"

lja@lja-ubuntu:~$ sudo apt-get update
[sudo] password for lja:
Err http://security.ubuntu.com trusty-security InRelease

Err http://security.ubuntu.com trusty-security Release.gpg
Não foi possível resolver 'security.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 trusty-backports 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://br.archive.ubuntu.com trusty-backports Release.gpg
Não foi possível resolver 'br.archive.ubuntu.com'
Err http://extras.ubuntu.com trusty InRelease

Err http://extras.ubuntu.com trusty Release.gpg
Não foi possível resolver 'extras.ubuntu.com'
Err http://dl.google.com stable InRelease

Err http://dl.google.com stable Release.gpg
Não foi possível resolver 'dl.google.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://dl.google.com/linux/chrome/deb/dists/stable/InRelease

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://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://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg Não foi possível resolver 'extras.ubuntu.com'

W: Falhou ao buscar http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Não foi possível resolver 'dl.google.com'

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

PS.: Sou iniciante (noob na vdd kkkkk) e já procurei soluções nos fóruns do VOL, porém não tive êxito.


  


2. Re: apt-get update error e erro em qualquer tipo de instalação [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/10/2016 - 20:23h

Sua conexão com a net está Ok? Consegue navegar na rede?

Mostre a saída do comando:
$ find /etc/apt/ -iname "*.list" -exec grep -vE "^#" {} \;


3. Re: apt-get update error e erro em qualquer tipo de instalação [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 12/10/2016 - 20:26h

Vá em programas-atualizacoes e mude servidor para principal é tente atualizar novamente

***********************************************
http://dicaslinuxmint.blogspot.com.br/


4. Re: apt-get update error e erro em qualquer tipo de instalação [RESOLVIDO]

Mauriciodez
Mauriciodez

(usa Debian)

Enviado em 13/10/2016 - 13:25h

Qual a versão do seu Ubuntu ????
___________________________________________________________________________________________
" Nem sempre é amigo aquele que te tira do buraco !!! ( Saddam Hussein )"


5. Re: apt-get update error e erro em qualquer tipo de instalação [RESOLVIDO]

leo
leodoc

(usa Debian)

Enviado em 20/10/2016 - 13:58h

Minha conexão com a internet está ótima!

segue a lista do comando "$ find /etc/apt/ -iname "*.list" -exec grep -vE "^#" {} \;"

office@office-Aspire-E1-571:~$ find /etc/apt/ -iname "*.list" -exec grep -vE "^#" {} \;

deb http://br.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty main restricted

deb http://br.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

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

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

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


deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main



6. Re: apt-get update error e erro em qualquer tipo de instalação [RESOLVIDO]

leo
leodoc

(usa Debian)

Enviado em 20/10/2016 - 14:04h

Mudei o servidor para principal e mesmo assim não tive sucesso.


7. Re: apt-get update error e erro em qualquer tipo de instalação [RESOLVIDO]

leo
leodoc

(usa Debian)

Enviado em 20/10/2016 - 14:05h

Minha versão é 14.04.5 LTS


8. Re: apt-get update error e erro em qualquer tipo de instalação

Leo Ferreira
Scrip_T

(usa Outra)

Enviado em 20/10/2016 - 14:32h

Altere todos os trusty por xenial no :

/etc/apt/sources.list

e use agora:

sudo apt-get update && apt-get upgrade -y

e espere atualizar ;)


9. Re: apt-get update error e erro em qualquer tipo de instalação [RESOLVIDO]

leo
leodoc

(usa Debian)

Enviado em 21/10/2016 - 21:55h

Cara, não consegui. Quando vou alterar não consigo escrever, apago linhas... ta confuso kk (sou "noobiciante")


10. Re: apt-get update error e erro em qualquer tipo de instalação

Leo Ferreira
Scrip_T

(usa Outra)

Enviado em 21/10/2016 - 22:56h

Seguimento man '.'

::

sudo nano /etc/apt/sources.list 


Dps seleciona td no terminal e apaga

Ae vc copia isso aqui ::

# deb cdrom:[Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release i386 (20160719)]/ xenial 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/ xenial main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial main restricted

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

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://br.archive.ubuntu.com/ubuntu/ xenial universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial universe
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates universe
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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/ xenial multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://br.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-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/ xenial-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe 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 xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

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


Dps aperta Cltr+O e Cltr+X

Ae so usar ::

sudo apt-get update && apt-get upgrade 


Se der algum erro olha esse link vai ajudar com oq colocar no "sources.list" ::

https://help.ubuntu.com/lts/serverguide/configuration.html



só fazer isso que não tem erro ;)
Boa sorte =D


11. Re: apt-get update error e erro em qualquer tipo de instalação [RESOLVIDO]

leo
leodoc

(usa Debian)

Enviado em 24/10/2016 - 11:29h

Galera, obg pela disposição de tempo e paciência. Finalmente consegui! :)
MT GRATO!






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts