problema com apt-get update [RESOLVIDO]

1. problema com apt-get update [RESOLVIDO]

ricardo silva
cir

(usa Linux Mint)

Enviado em 07/09/2015 - 19:55h

pessoal estava aqi fuçando dai executei um script de um colega,

o script funciona para poder baixar pacotes pelo terminal, na empresa funciona bacana mas na minha net em casa nao funciona, ele fica tentando buscar o firewall da empresa, como eu faço para reverter isso??
olha ae a msg que dar quando do um apt-get update;
Err http://repo.steampowered.com precise InRelease

Err http://repo.steampowered.com precise Release.gpg
Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'
Err http://ppa.launchpad.net trusty InRelease

Err http://ppa.launchpad.net trusty Release.gpg
Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'
Err http://dl.google.com stable InRelease

Err http://dl.google.com stable Release.gpg
Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'
Err http://extra.linuxmint.com rafaela InRelease

Err http://extra.linuxmint.com rafaela Release.gpg
Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'
Err http://security.ubuntu.com trusty-security InRelease

Err http://security.ubuntu.com trusty-security Release.gpg
Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'
Err http://packages.linuxmint.com rafaela InRelease

Err http://packages.linuxmint.com rafaela Release.gpg
Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'
Err http://archive.ubuntu.com trusty InRelease

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

Err http://archive.ubuntu.com trusty Release.gpg
Não foi possível resolver 'x.xxx.x.x:xxxxx" ftp_proxy="http'
Err http://archive.ubuntu.com trusty-updates Release.gpg
Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'
Err http://archive.canonical.com trusty InRelease

Err http://archive.canonical.com trusty Release.gpg
Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'
Lendo listas de pacotes... Pronto
W: Falhou ao buscar http://repo.steampowered.com/steam/dists/precise/InRelease

W: Falhou ao buscar http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/trusty/InRelease

W: Falhou ao buscar http://dl.google.com/linux/chrome/deb/dists/stable/InRelease

W: Falhou ao buscar http://packages.linuxmint.com/dists/rafaela/InRelease

W: Falhou ao buscar http://extra.linuxmint.com/dists/rafaela/InRelease

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://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease

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

W: Falhou ao buscar http://repo.steampowered.com/steam/dists/precise/Release.gpg Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'

W: Falhou ao buscar http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/trusty/Release.gpg Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'

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

W: Falhou ao buscar http://extra.linuxmint.com/dists/rafaela/Release.gpg Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'

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

W: Falhou ao buscar http://packages.linuxmint.com/dists/rafaela/Release.gpg Não foi possível resolver 'x.xxx.x.x:xxxx" ftp_proxy="http'

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

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

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

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



  


2. MELHOR RESPOSTA

Patrick Costa da Silva
patrickpcs

(usa Nenhuma)

Enviado em 07/09/2015 - 21:27h

Entendi..ele configurou o proxy para o terminal todo.

Simples, limpe essas variáveis.

unset ftp_proxy 

unset http_proxy 

unset https_proxy 


Isso deve resolver ;).

Obs: execute como root.
_____________________________________________________
The quiter you become, the more you are able to hear.
-----------------------------------------------------


3. Re: problema com apt-get update [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 07/09/2015 - 20:04h

Remova todos PPA
Atualize novamente


4. Re: problema com apt-get update

Patrick Costa da Silva
patrickpcs

(usa Nenhuma)

Enviado em 07/09/2015 - 21:13h

Provavelmente ele tem um proxy na rede interna da empresa dele. Procure pelo arquivo /etc/apt/apt.conf
Deve ter algo lá dentro relacionado ao proxy. Você pode comentar aquelas linhas ou simplesmente renomear esse arquivo para algo diferente caso queira ficar com ele...recomendo até que você apague ele pois não tem nenhuma serventia no seu caso.

Verifique também as configurações do wget, não tem nada a ver com seu problema atual, mas como você disse que é um script que ele executa nos PCs da empresa dele, talvez tenha algumas configurações a mais aplicadas no seu sistema. Eu por acaso além de configurar um proxy para o apt-get, eu coloco um proxy também no wget.
/etc/wgetrc
Mas antes de ir mexer no wget, você pode simplesmente testar.
wget www.google.com 

E veja se ele baixa a página HTML do google...se baixar nem precisa se preocupar em mexer lá no wgetrc.
_____________________________________________________
The quiter you become, the more you are able to hear.
-----------------------------------------------------



5. Re: problema com apt-get update [RESOLVIDO]

ricardo silva
cir

(usa Linux Mint)

Enviado em 07/09/2015 - 21:23h

sim agente tem um proxy na rede.
outra vez eu tinha feito a mesma coisa dai ele me falou sobre um "export ftp_proxy=""
mais ou menos assim.
obrigado pela dica amigo mas ja fiz isso e nada


6. Re: problema com apt-get update [RESOLVIDO]

ricardo silva
cir

(usa Linux Mint)

Enviado em 07/09/2015 - 21:23h

clodoaldops escreveu:

Remova todos PPA
Atualize novamente


como removo pelo terminal





7. Re: problema com apt-get update [RESOLVIDO]

8. Re: problema com apt-get update [RESOLVIDO]

ricardo silva
cir

(usa Linux Mint)

Enviado em 09/09/2015 - 18:35h

patrickpcs escreveu:

Entendi..ele configurou o proxy para o terminal todo.

Simples, limpe essas variáveis.

unset ftp_proxy 

unset http_proxy 

unset https_proxy 


Isso deve resolver ;).

Obs: execute como root.
_____________________________________________________
The quiter you become, the more you are able to hear.
-----------------------------------------------------


meu amigo deu certo simplesmente com esses comandos, ja tinha feito isso outra vez mas nao estava lembrando do comando, mas em fim obrigado deu certo.

quero agradecer também ao clodoaldops pela ajuda, valew









Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts