No meu arquivo /etc/environment
eu tinha variáveis de proxy.
http_proxy=http://user:[email protected]:6000
https_proxy=https://user:[email protected]:6000
isso estava causando o apt-get install
a falhar
mudando para:
http_proxy="http://user:[email protected]:6000"
https_proxy="https://user:[email protected]:6000"
corrige isso