root@host:/etc# ls /etc/apt/apt.conf.d/
00trustcdrom 01autoremove 70debconf
root@host:/etc# echo "Acquire::http::Proxy \"http://user:password@proxyname:port\";" > /etc/apt/apt.conf.d/30proxy
00trustcdrom 01autoremove 70debconf
root@host:/etc# echo "Acquire::http::Proxy \"http://user:password@proxyname:port\";" > /etc/apt/apt.conf.d/30proxy