Problemas com apt-get update Ubuntu 14.04.4 [RESOLVIDO]

1. Problemas com apt-get update Ubuntu 14.04.4 [RESOLVIDO]

Marcos vinicius
RedstoneAlmeida

(usa Ubuntu)

Enviado em 04/02/2017 - 13:40h

Estou com um problema com apt-get update, install, etc..

ERRO:


Err http://extras.ubuntu.com trusty InRelease

Err http://extras.ubuntu.com trusty Release.gpg
Could not resolve 'extras.ubuntu.com'
Err http://archive.canonical.com trusty InRelease

Err http://archive.canonical.com trusty Release.gpg
Could not resolve 'archive.canonical.com'
Err http://security.ubuntu.com trusty-security InRelease

Err http://security.ubuntu.com trusty-security Release.gpg
Could not resolve '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
Could not resolve 'br.archive.ubuntu.com'
Err http://br.archive.ubuntu.com trusty-updates Release.gpg
Could not resolve 'br.archive.ubuntu.com'
Err http://br.archive.ubuntu.com trusty-backports Release.gpg
Could not resolve 'br.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'extras.ubuntu.com'

W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'archive.canonical.com'

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve 'security.ubuntu.com'

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve 'br.archive.ubuntu.com'

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve 'br.archive.ubuntu.com'

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg Could not resolve 'br.archive.ubuntu.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.



  


2. Problemas com apt-get update Ubuntu 14.04.4

Edwal F. Paiva Filho
nicolo

(usa Ubuntu)

Enviado em 04/02/2017 - 15:47h


Tente um comando de cada vez:
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get -f remove
sudo apt-get update

Se não resolver precisa editar a sources list e alterar os repositórios

sudo gedit /etc/apt/sources.list

Altere os repositórios.

No lugar de (substitua)
br.archive.ubuntu.com

por
sft.if.usp.br

Para agilizar isso, após editar com gedit, ou kedit, ou leafpad
vá ao menu do gedit, ou kedit, ou leafpad e procure <pesquisar>substituir>

Aí digite
br.archive.ubuntu.com
em <pesquisar>

e
sft.if.usp.br
em >substituir por>

Salve e reinicie o sistema.

Depois repita os comandos.






3. Re: Problemas com apt-get update Ubuntu 14.04.4 [RESOLVIDO]

Marcos vinicius
RedstoneAlmeida

(usa Ubuntu)

Enviado em 04/02/2017 - 16:12h

erro continua


4. Re: Problemas com apt-get update Ubuntu 14.04.4 [RESOLVIDO]

Patrick
Patrick03

(usa Ubuntu)

Enviado em 04/02/2017 - 16:50h

Dê este comando no terminal, copie e cole o resultado aqui.

sudo cat /etc/apt/sources.list 


---------------------------------------
Corrija-me quando necessário!
https://muitolinux.blogspot.com.br/
---------------------------------------



5. Re: Problemas com apt-get update Ubuntu 14.04.4 [RESOLVIDO]

Marcos vinicius
RedstoneAlmeida

(usa Ubuntu)

Enviado em 04/02/2017 - 17:20h

Aqui:

# Automatically generated sources.list
# http://www.ubuntu-nl.org/source-o-matic/
#
# If you get GPG errors with this sources.list, locate the GPG key in this file
# and run these commands (where KEY is replaced with that key)
#
# gpg --keyserver hkp://subkeys.pgp.net --recv-keys KEY
# gpg --export --armor KEY | sudo apt-key add -
#
# If you don't know what to do with this file, read
# https://help.ubuntu.com/community/Repositories/CommandLine

# Ubuntu supported packages
# GPG key: 437D05B5
deb http://sft.if.usp.br/ubuntu gutsy main restricted
deb http://sft.if.usp.br/ubuntu gutsy-updates main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security main restricted

# Ubuntu community supported packages
# GPG key: 437D05B5
deb http://sft.if.usp.br/ubuntu gutsy universe multiverse
deb http://sft.if.usp.br/ubuntu gutsy-updates universe multiverse
deb http://security.ubuntu.com/ubuntu gutsy-security universe multiverse

# Ubuntu backports project
# GPG key: 437D05B5
deb http://sft.if.usp.br/ubuntu gutsy-backports main restricted universe multiverse

# Upstream Opera
# GPG key: 6A423791
deb http://deb.opera.com/opera etch non-free

# Upstream Beryl
# GPG key: ed8a569e
deb http://media.blutkind.org/xgl/ edgy main-edgy



6. Re: Problemas com apt-get update Ubuntu 14.04.4 [RESOLVIDO]

Patrick
Patrick03

(usa Ubuntu)

Enviado em 04/02/2017 - 17:30h

RedstoneAlmeida escreveu:


Vá no terminal e cole isto lá e apague tudo:
sudo nano /etc/apt/sources.list 


Depois copie isto e cole no lugar:


###### Ubuntu Main Repos
deb http://55.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://55.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse

###### Ubuntu Update Repos
deb http://55.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://55.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://55.archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://55.archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse


Para colar aperte: crtl+alt+v

---------------------------------------
Corrija-me quando necessário!
https://muitolinux.blogspot.com.br/
---------------------------------------



7. Re: Problemas com apt-get update Ubuntu 14.04.4 [RESOLVIDO]

Marcos vinicius
RedstoneAlmeida

(usa Ubuntu)

Enviado em 04/02/2017 - 17:34h

tentei e não foi ainda, continua o mesmo erro

apt-get update
Err http://55.archive.ubuntu.com trusty InRelease

Err http://55.archive.ubuntu.com trusty-security InRelease

Err http://55.archive.ubuntu.com trusty-updates InRelease

Err http://55.archive.ubuntu.com trusty Release.gpg
Could not resolve '55.archive.ubuntu.com'
Err http://55.archive.ubuntu.com trusty-security Release.gpg
Could not resolve '55.archive.ubuntu.com'
Err http://55.archive.ubuntu.com trusty-updates Release.gpg
Could not resolve '55.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://55.archive.ubuntu.com/ubuntu/dists/trusty/InRelease

W: Failed to fetch http://55.archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease

W: Failed to fetch http://55.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease

W: Failed to fetch http://55.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not resolve '55.archive.ubuntu.com'

W: Failed to fetch http://55.archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg Could not resolve '55.archive.ubuntu.com'

W: Failed to fetch http://55.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg Could not resolve '55.archive.ubuntu.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.



8. Re: Problemas com apt-get update Ubuntu 14.04.4

Patrick
Patrick03

(usa Ubuntu)

Enviado em 04/02/2017 - 17:34h

RedstoneAlmeida escreveu:

o meu não tem "nano" posso ir direto pelo arquivo via ftp(filezilla)


Na verdade, tu pode uaar qualquer editor de texto, optei pelo nano porque achei que ele era padrão em todas as distro.

*EDIT

Acho que tu deve estar com alguma ppa dando conflito. Nem sei se essa versão do Ubuntu ainda tem suporte. Pesquise sobre como remover ppas.

---------------------------------------
Corrija-me quando necessário!
https://muitolinux.blogspot.com.br/
---------------------------------------



9. Re: Problemas com apt-get update Ubuntu 14.04.4 [RESOLVIDO]

Marcos vinicius
RedstoneAlmeida

(usa Ubuntu)

Enviado em 04/02/2017 - 18:40h

ouvi dizer que ela tem suporte até abril de 2019


10. Re: Problemas com apt-get update Ubuntu 14.04.4 [RESOLVIDO]

Marcos vinicius
RedstoneAlmeida

(usa Ubuntu)

Enviado em 04/02/2017 - 18:46h

e eu também não tenho o apt-add-repository para remover um ppa -;


11. Re: Problemas com apt-get update Ubuntu 14.04.4 [RESOLVIDO]

Paulo Jr
Pebis

(usa Debian)

Enviado em 04/02/2017 - 18:53h

Tenta mudar para o servidor principal.


12. Re: Problemas com apt-get update Ubuntu 14.04.4 [RESOLVIDO]

Marcos vinicius
RedstoneAlmeida

(usa Ubuntu)

Enviado em 04/02/2017 - 19:04h

Pebis escreveu:

Tenta mudar para o servidor principal.


como eu faria isto? ainda to tentando arrumar essa VPS :c





01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts