Configuring proxy for APT in Ubuntu

Recently, I have a problem where when I tried to update Ubuntu package via apt-get, it shows HTTP 401 proxy error related.
Just a note, I’m running the VM using my office network which has a proxy servers.

From this site;

References :

Any Comments?

This site uses Akismet to reduce spam. Learn how your comment data is processed.