Then export the http_proxy environment variable
export http_proxy=http://1.2.3.4:8080
and try again if the do-release-upgrade fails during the dl of packages simply redo the previuos step without clean the package cache. I do this 5 times and i get my system updated.
As a workaround i have done...
After the first attempt of "sudo do-release-upgrade -d" restore the original /etc/apt/ sources. list
sudo cp /etc/apt/ sources. list.distUpgrad e /etc/apt/ sources. list
Then also check the result of "lsb_release -c", if you are upgrading from ubuntu 9.04 to Ubuntu 9.10, it must be:
lsb_release -c
Codename: jaunty
if it return:
Codename: karmic
You need to restore the old-release name in the /etc/lsb-release file
DISTRIB_ID=Ubuntu RELEASE= 9.04 CODENAME= jaunty DESCRIPTION= "Ubuntu 9.04"
DISTRIB_
DISTRIB_
DISTRIB_
Then export the http_proxy environment variable 1.2.3.4: 8080
export http_proxy=http://
and try again if the do-release-upgrade fails during the dl of packages simply redo the previuos step without clean the package cache. I do this 5 times and i get my system updated.
Hope this helps