Note : Sometimes there may be connection failure because of busy servers. So Please be patient during new Ubuntu release
1) Open the Terminal and type the following command
sudo gedit /etc/apt/apt.conf.d/02proxy
Note : 01proxy file is not present earlier.
2) Type the following line(in red) in the file:
3) Save the file and your problem is solved.