Getting upgrade prerequisites for system upgrade failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Medium
|
Michael Vogt | ||
update-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
Binary package hint: update-manager
Description: Ubuntu 6.06.2 LTS
Release: 6.06
update-
TEST CASE (with sparc):
1. use a sparc dapper
2. run "sudo do-release-upgrade -d"
3. watch it fail because it can not fetch the required backports
4. run "sudo do-release-upgrade -d --proposed"
5. watch it work
What you expected to happen:
The update manager would be able to obtain the prerequisites for the system-upgrade and continue to the next part
What happened instead:
It failed, and produced the following:
The system was unable to get the prerequisites for the upgrade. The
upgrade will abort now and restore the original system state.
Please report this as a bug against the 'update-manager' package and
include the files in /var/log/
Files
/var/log/
Log time: 2008-06-12 10:29:48.243526
Log time: 2008-06-12 10:30:05.763555
Log time: 2008-06-12 10:30:22.027140
Log time: 2008-06-12 10:30:25.621781
Log time: 2008-06-12 10:32:20.838131
Log time: 2008-06-12 10:32:37.920397
Log time: 2008-06-12 10:32:54.235536
Log time: 2008-06-12 10:32:57.855948
/var/log/
2008-06-12 10:32:16,080 INFO release-upgrader version '0.87.27' started
2008-06-12 10:32:16,111 DEBUG Using 'DistUpgradeVie
2008-06-12 10:32:16,694 DEBUG enable dpkg --force-overwrite
2008-06-12 10:32:17,281 DEBUG lsb-release: 'dapper'
2008-06-12 10:32:17,283 DEBUG _pythonSymlinkCheck run
2008-06-12 10:32:20,844 DEBUG checkViewDepends()
2008-06-12 10:32:20,849 DEBUG need backports
2008-06-12 10:32:20,851 DEBUG getRequiredBack
2008-06-12 10:32:20,853 DEBUG writing prereuists sources.list at: '/etc/apt/
2008-06-12 10:32:21,447 DEBUG adding '# sources.list fragment for pre-requists of arches living on ports.ubuntu.com
' prerequists
2008-06-12 10:32:21,448 DEBUG adding '# no mirror because there are no mirrors here
' prerequists
2008-06-12 10:32:21,449 DEBUG adding '# this is safe to remove after the upgrade
' prerequists
2008-06-12 10:32:21,451 DEBUG adding 'deb http://
' prerequists
2008-06-12 10:32:21,452 DEBUG running doUpdate() (showErrors=False)
2008-06-12 10:32:29,324 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://
'. Retrying (currentRetry: 0)
2008-06-12 10:32:31,626 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://
'. Retrying (currentRetry: 1)
2008-06-12 10:32:34,029 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://
'. Retrying (currentRetry: 2)
2008-06-12 10:32:34,031 ERROR doUpdate() failed completely
2008-06-12 10:32:37,926 ERROR Can not find backport 'release-
2008-06-12 10:32:37,928 DEBUG writing prereuists sources.list at: '/etc/apt/
2008-06-12 10:32:38,455 DEBUG adding '# sources.list fragment for pre-requists of arches living on ports.ubuntu.com
' prerequists
2008-06-12 10:32:38,457 DEBUG adding '# no mirror because there are no mirrors here
' prerequists
2008-06-12 10:32:38,458 DEBUG adding '# this is safe to remove after the upgrade
' prerequists
2008-06-12 10:32:38,459 DEBUG adding 'deb http://
' prerequists
2008-06-12 10:32:38,461 DEBUG running doUpdate() (showErrors=False)
2008-06-12 10:32:40,937 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://
'. Retrying (currentRetry: 0)
2008-06-12 10:32:47,357 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://
'. Retrying (currentRetry: 1)
2008-06-12 10:32:49,863 ERROR IOError/SystemError in cache.update(): 'Failed to fetch http://
'. Retrying (currentRetry: 2)
2008-06-12 10:32:49,865 ERROR doUpdate() failed completely
2008-06-12 10:32:54,243 ERROR Can not find backport 'release-
2008-06-12 10:32:54,245 WARNING no backport for 'release-
description: | updated |
description: | updated |
Changed in update-manager: | |
assignee: | nobody → mvo |
status: | Fix Released → In Progress |
Changed in python-apt: | |
assignee: | nobody → mvo |
tags: |
added: verification-done removed: verification-failed verification-needed |
Thanks for your bugreport.
This is fixed in my bzr branch and I will do a upload with the fixed update-manager to hardy-proposed.