Public bug reported:

Hello,

I'm upgrading a laptop of mine, which still is running on 6.10. The end
goal is to get the laptop to the latest version, however, it fails with
the upgrade to 7.04.

According to the wiki page
(https://help.ubuntu.com/community/FeistyUpgrades) do-release should to
the trick, however it fails because it tries to download from
archive.ubuntu.com for edgy, while its located at old-
releases.ubuntu.com...

I've located the origin of the problem in DistUpgradeControler.py (line
351):

            # special case for old-releases.ubuntu.com, auto transition
            # them back to archive.ubuntu.com - now this is a problem
            # of course for people upgrading from EOL release to a
            # EOL release
            if (not entry.disabled and
                entry.uri.startswith("http://old-releases.ubuntu.com/ubuntu";)):
                entry.uri = "http://archive.ubuntu.com/ubuntu";
                logging.debug("transitioning old-releases.ubuntu.com to '%s' " 
% entry)
                continue

This basically causes downloads from incorrect repositories.

sources.list before upgrade:
deb http://old-releases.ubuntu.com/ubuntu/ edgy main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ edgy main restricted
deb http://old-releases.ubuntu.com/ubuntu/ edgy-updates main restricted
deb-src http://old-releases.ubuntu.com/ubuntu/ edgy-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ edgy universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ edgy universe multiverse
deb http://old-releases.ubuntu.com/ubuntu edgy-security main restricted
deb-src http://old-releases.ubuntu.com/ubuntu edgy-security main restricted

Changes to during the upgrade:

deb http://archive.ubuntu.com/ubuntu edgy main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy main restricted
deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted
deb http://archive.ubuntu.com/ubuntu edgy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu edgy universe multiverse
deb http://archive.ubuntu.com/ubuntu edgy-security main restricted
deb http://archive.ubuntu.com/ubuntu feisty main restricted
deb http://archive.ubuntu.com/ubuntu feisty-updates main restricted
deb http://security.ubuntu.com/ubuntu/ feisty-security main restricted
deb-src http://archive.ubuntu.com/ubuntu edgy-security main restricted

And then the download fails.

Error during update
A problem occured during the update. This is usually some sort of network 
problem, please check your network connection and retry.
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy/main/binary-i386/Packages.gz 404 
Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy/restricted/binary-i386/Packages.gz 
404 Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy/main/source/Sources.gz 404 Not 
Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy/restricted/source/Sources.gz 404 
Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy/universe/binary-i386/Packages.gz 
404 Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy/multiverse/binary-i386/Packages.gz 
404 Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy/universe/source/Sources.gz 404 Not 
Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy/multiverse/source/Sources.gz 404 
Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy-updates/main/binary-i386/Packages.gz
 404 Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy-updates/restricted/binary-i386/Packages.gz
 404 Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy-updates/main/source/Sources.gz 404 
Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy-updates/restricted/source/Sources.gz
 404 Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy-security/main/binary-i386/Packages.gz
 404 Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy-security/restricted/binary-i386/Packages.gz
 404 Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy-security/main/source/Sources.gz 404 
Not Found [IP: 91.189.88.31 80]
Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy-security/restricted/source/Sources.gz
 404 Not Found [IP: 91.189.88.31 80]

/var/log/dist-upgrade/main.log
2008-09-03 03:34:18,284 INFO release-upgrader version '0.59.22' started
2008-09-03 03:34:18,561 DEBUG lsb-release: 'edgy'
2008-09-03 03:34:18,561 DEBUG _pythonSymlinkCheck run
2008-09-03 03:34:44,220 DEBUG Foreign:
2008-09-03 03:34:44,220 DEBUG Obsolete: gimp-svg xpdf-common xpdf-utils 
xpdf-reader xpdf mkisofs vlc mozilla-plugin-vlc git-fvcs vim-gtk cdrecord 
kde-icons-nuvox vim-perl libiso9660-4 qt3-dev-tools-compat 
qt3-dev-tools-embedded vlc-nox libvlc0
2008-09-03 03:34:44,247 DEBUG updateSourcesList()
2008-09-03 03:34:44,356 DEBUG rewriteSourcesList()
2008-09-03 03:34:44,359 DEBUG transitioning old-releases.ubuntu.com to 'deb 
http://archive.ubuntu.com/ubuntu edgy main restricted'
2008-09-03 03:34:44,359 DEBUG transitioning old-releases.ubuntu.com to 'deb-src 
http://archive.ubuntu.com/ubuntu edgy main restricted'
2008-09-03 03:34:44,359 DEBUG transitioning old-releases.ubuntu.com to 'deb 
http://archive.ubuntu.com/ubuntu edgy-updates main restricted'
2008-09-03 03:34:44,359 DEBUG transitioning old-releases.ubuntu.com to 'deb-src 
http://archive.ubuntu.com/ubuntu edgy-updates main restricted'
2008-09-03 03:34:44,359 DEBUG transitioning old-releases.ubuntu.com to 'deb 
http://archive.ubuntu.com/ubuntu edgy universe multiverse'
2008-09-03 03:34:44,360 DEBUG transitioning old-releases.ubuntu.com to 'deb-src 
http://archive.ubuntu.com/ubuntu edgy universe multiverse'
2008-09-03 03:34:44,360 DEBUG transitioning old-releases.ubuntu.com to 'deb 
http://archive.ubuntu.com/ubuntu edgy-security main restricted'
2008-09-03 03:34:44,360 DEBUG transitioning old-releases.ubuntu.com to 'deb-src 
http://archive.ubuntu.com/ubuntu edgy-security main restricted'
2008-09-03 03:34:44,360 ERROR No valid mirror found
2008-09-03 03:34:47,094 DEBUG rewriteSourcesList()
2008-09-03 03:34:47,095 DEBUG transitioning old-releases.ubuntu.com to 'deb 
http://archive.ubuntu.com/ubuntu edgy main restricted'
2008-09-03 03:34:47,096 DEBUG transitioning old-releases.ubuntu.com to 'deb-src 
http://archive.ubuntu.com/ubuntu edgy main restricted'
2008-09-03 03:34:47,096 DEBUG transitioning old-releases.ubuntu.com to 'deb 
http://archive.ubuntu.com/ubuntu edgy-updates main restricted'
2008-09-03 03:34:47,096 DEBUG transitioning old-releases.ubuntu.com to 'deb-src 
http://archive.ubuntu.com/ubuntu edgy-updates main restricted'
2008-09-03 03:34:47,096 DEBUG transitioning old-releases.ubuntu.com to 'deb 
http://archive.ubuntu.com/ubuntu edgy universe multiverse'
2008-09-03 03:34:47,096 DEBUG transitioning old-releases.ubuntu.com to 'deb-src 
http://archive.ubuntu.com/ubuntu edgy universe multiverse'
2008-09-03 03:34:47,096 DEBUG transitioning old-releases.ubuntu.com to 'deb 
http://archive.ubuntu.com/ubuntu edgy-security main restricted'
2008-09-03 03:34:47,096 DEBUG transitioning old-releases.ubuntu.com to 'deb-src 
http://archive.ubuntu.com/ubuntu edgy-security main restricted'
2008-09-03 03:35:03,493 ERROR IOError in cache.update(): 'Failed to fetch 
http://archive.ubuntu.com/ubuntu/dists/edgy/main/binary-i386/Packages.gz 404 
Not Found [IP: 91.189.88.46 80]

I guess this behavior is present for all EOL distributions.

When restarting the upgrade proces (via /tmp/tmpxxxx/feisty --frontend
DistUpgradeViewText --mode=server) with only the feisty repo's in the
sources.list file it will start the upgrade process as expected.

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
Upgrade process 6.10 to 7.04 is incorrect
https://bugs.launchpad.net/bugs/264181
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to