yumとapt via proxy

yum.con
proxy=http://proxy.example.net:8080
apt.conf
Acquire
{
    http::proxy http://proxy.example.net:8080
}