Erro no apt get do Ubuntu Xenial

1. Erro no apt get do Ubuntu Xenial

Raul M
Farrista

(usa Linux Mint)

Enviado em 01/07/2017 - 15:22h

Galera, isso já vem acontecendo há algum tempo, mas só agora resolvi colocar as mãos na massa.

O problema é que, sempre ao digitar "sudo apt-get update" ou ao tentar instalar algum pacote pelo "install", o terminal fica tentando se conectar e não consegue.

Aqui, uma cópia do que retorna o comando:

[color=red]Atingido:1 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease
Atingido:2 http://repo.steampowered.com/steam precise InRelease
Atingido:3 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease
Atingido:4 http://ppa.launchpad.net/deluge-team/ppa/ubuntu xenial InRelease
Atingido:5 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu xenial InRelease
Atingido:6 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu xenial InRelease
Atingido:7 http://ppa.launchpad.net/pipelight/stable/ubuntu xenial InRelease
Atingido:8 http://ppa.launchpad.net/snwh/pulp/ubuntu xenial InRelease
Atingido:9 http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu xenial InRelease
0% [Conectando em archive.ubuntu.com (2001:67c:1560:8001::14)] [Conectando em download.opensuse.org (2001:67c:2178:8::13)] [Conectando em dl.goo
[/color]

E nesse 0% ele fica por um bom tempo, até que, depois de vários minutos, ocorre isso:

Ign:10 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:11 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 InRelease
Atingido:12 http://dl.google.com/linux/chrome/deb stable Release
Obter:14 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release [1.007 B]
Obter:15 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release.gpg [481 B]
Ign:15 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release.gpg
Atingido:16 http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Packages
Atingido:17 http://archive.ubuntu.com/ubuntu xenial InRelease
Obter:18 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Obter:19 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Baixados 206 kB em 8min 8s (421 B/s)
Lendo listas de pacotes... Pronto
W: Erro GPG: http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release: As seguintes assinaturas eram inválidas: KEYEXPIRED 1496576244
W: The repository 'http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04 Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.



Enfim... Conto com a ajuda de vocês! Não consigo atualizar meus pacotes, tampouco instalar algo novo.






  


2. Re: Erro no apt get do Ubuntu Xenial

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 01/07/2017 - 18:38h

vá em programas-atualizações >> outros-programas >> deixe marcado apenas >> parceiros canonical e google-chrome >> feche aplicativo >> atualize novamente


3. Re: Erro no apt get do Ubuntu Xenial

Raul M
Farrista

(usa Linux Mint)

Enviado em 02/07/2017 - 08:36h

clodoaldops escreveu:

vá em programas-atualizações >> outros-programas >> deixe marcado apenas >> parceiros canonical e google-chrome >> feche aplicativo >> atualize novamente


Irmão, eu consegui, na verdade, contornar esse problema desativando o ipv6 por meio do comando "sudo sysctl net.ipv6.conf.all.disable_ipv6=1".

Porém, preciso fazer isso sempre que reinicio a máquina. Será que existe uma solução definitiva?




4. Re: Erro no apt get do Ubuntu Xenial

Perfil removido
removido

(usa Nenhuma)

Enviado em 02/07/2017 - 08:46h

Coloque

net.ipv6.conf.all.disable_ipv6=1 


debtro de /etc/sysctl.conf


5. Re: Erro no apt get do Ubuntu Xenial

Raul M
Farrista

(usa Linux Mint)

Enviado em 02/07/2017 - 16:46h

Problema resolvido.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts