Don't have Telegram yet? Try it now!
http://blackhold.nusepas.com/2011/08/18/configurar-apt-por-terminal-para-salir-por-un-proxy/
Configurar apt por terminal para salir por un proxy