On my 18.04 i have copied the content of proxy.conf to apt.conf and it worked
sudo cp /etc/apt/apt.conf.d/proxy.conf /etc/apt/apt.conf
On my 18.04 i have copied the content of proxy.conf to apt.conf and it worked
sudo cp /etc/apt/ apt.conf. d/proxy. conf /etc/apt/apt.conf