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.distUpgrade /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
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"

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.

Hope this helps

-- 
do-release-upgrade does not work behind proxy
https://bugs.launchpad.net/bugs/440229
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to