I have Debian 10 installed in my Virtual Machine and want to use
sudo apt-get update
Problem is I am in a network with an internet connection over proxy. So far so good, I set up the automatic proxy address and also set up IvP4 as it is set up in Windows. I can normally browse the internet with my VM, but when I want to use the bash mentioned earlier I get the error message that it is not able to establish the connection and download files.
I found this
sudo http_proxy='http://user:email@example.com:8080/' apt-get install package-name
but my attempts on using this all failed.
So do anyone knows a solution for this?