apt-get update - does the network require authentication? [RESOLVIDO]

1. apt-get update - does the network require authentication? [RESOLVIDO]

Sr. Mandrake
Mandrake17

(usa Debian)

Enviado em 12/08/2018 - 19:54h

Estou utilizando uma internet que requer configuração de proxy por parte dos "dispositivos clientes" (IP e porta).
Por esse motivo, ao usar o APT ele retorna esse erro "does the network require authentication?".

Saída do comando sudo apt-get update
[sudo] password for mandrake: 
Obter:1 http://archive.canonical.com/ubuntu bionic InRelease
Obter:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Obter:3 http://packages.linuxmint.com tara InRelease
Obter:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Obter:5 http://ppa.launchpad.net/videolan/master-daily/ubuntu bionic InRelease
Obter:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Err:1 http://archive.canonical.com/ubuntu bionic InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:3 http://packages.linuxmint.com tara InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:5 http://ppa.launchpad.net/videolan/master-daily/ubuntu bionic InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Err:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Obter:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Err:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Lendo listas de pacotes... Pronto
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://archive.canonical.com/ubuntu bionic InRelease' is no longer signed.
E: Falhou ao buscar http://archive.canonical.com/ubuntu/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://archive.ubuntu.com/ubuntu bionic InRelease' is no longer signed.
E: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://packages.linuxmint.com tara InRelease' is no longer signed.
E: Falhou ao buscar http://packages.linuxmint.com/dists/tara/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://security.ubuntu.com/ubuntu bionic-security InRelease' is no longer signed.
E: Falhou ao buscar http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://ppa.launchpad.net/videolan/master-daily/ubuntu bionic InRelease' is no longer signed.
E: Falhou ao buscar http://ppa.launchpad.net/videolan/master-daily/ubuntu/dists/bionic/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-updates InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Falhou ao buscar http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-backports InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


Como faço para utilizar o APT com esse internet? Pois em outra rede sem proxy isso não acontece. (É a única rede que tenho disponível no momento)


  


2. Re: apt-get update - does the network require authentication? [RESOLVIDO]

Sr. Mandrake
Mandrake17

(usa Debian)

Enviado em 12/08/2018 - 21:58h

Resolvi o problema.

Sabendo que é falta de configuração proxy (neste caso sem autenticação), apenas editei o arquivo /etc/environment inserindo o seguinte texto:



ftp_proxy=http://192.168.43.1:8080
http_proxy=http://192.168.43.1:8080
https_proxy=http://192.168.43.1:8080
FTP_PROXY=http://192.168.43.1:8080
HTTP_PROXY=http://192.168.43.1:8080
HTTPS_PROXY=http://192.168.43.1:8080

No meu caso, o IP e porta é esse aí, mas é só substituir as devidas informações.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts