este es un ejemplo de salida a internet a través de un proxy
1. Editaremos el siguiente archivo /etc/bash.bashrc como root 
export HTTP_PROXY=http://(usuario):(passwd)@192.168.x.x:8080/
export FTP_PROXY=http://(usuario):(passwd)@192.168.x.x:8080/
Luego creamos el archivo proxy dentro de /etc/apt/apt.conf.d/
Acquire::http::Proxy "http://(usuario):(passwd)@192.168.x.x:8080/";
Acquire::ftp::Proxy "ftp://(usuario):(passwd)@192.168.x.x:8080/";


# Ubuntu LTS 16.04 Xenial Xerus #
#===============================#


deb http://download.jovenclub.cu/repos/ubuntu/xenial xenial main universe 
multiverse restricted
deb http://download.jovenclub.cu/repos/ubuntu/xenial xenial-security main 
universe multiverse restricted
deb http://download.jovenclub.cu/repos/ubuntu/xenial xenial-updates main 
universe multiverse restricted
deb http://download.jovenclub.cu/repos/ubuntu/xenial xenial-proposed main 
universe multiverse restricted
deb http://download.jovenclub.cu/repos/ubuntu/xenial xenial-backports main 
universe multiverse restricted
deb http://download.jovenclub.cu/repos/ubuntu/partners/ xenial partner

----- Mensaje original -----
De: "Arian Molina Aguilera" <linuxc...@teknik.io>
Para: "Lista cubana de soporte técnico en Tecnologias Libres" 
<gutl-l@listas.jovenclub.cu>
Enviados: Jueves, 4 de Abril 2019 16:15:44
Asunto: [Gutl-l] Re: Problema para acceder a repo de Joven Club

Porque tienes que definir el proxy por dónde sales a navegar. APT no es 
adivino ya que por defecto piensa que tienes acceso directo a internet, 
cuando no es así.



_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu
_______________________________________________
Gutl-l mailing list -- gutl-l@listas.jovenclub.cu
To unsubscribe send an email to gutl-l-le...@listas.jovenclub.cu

Responder a