0

I am using Ubuntu 16..

I want to run the following command

apt-get update

It is working after executing the following

sudo -i

and exporting http_proxy.

But when I execute

sudo apt-get update

after exporting http_proxy, the command results in error. How can I run apt-get update without having to use a root shell?

Zanna
  • 72,312
hanugm
  • 351

0 Answers0