I recently changed my password corresponding to my username for my proxy. Hence I updated the apt.conf and /etc/environment files with my new password. However when I type
which prints all the environment variables, it displays the value with old password. Similarly for socks_proxy, all_proxy.