Comment 4 for bug 440229

Revision history for this message
marcobra (Marco Braida) (marcobra) wrote :

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