fails to upgrade from 10.10 to 11.04

Bug #796031 reported by Jarl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: update-manager-core

After answering Yes to the ssh port question I got:

En alvorlig fejl opstod

Rapporter venligst dette som en fejl og inkluder filerne
/var/log/dist-upgrade/main.log og /var/log/dist-upgrade/apt.log i din
rapport. Opgraderingen er blevet afbrudt.
Din originale sources.list blev gemt i
/etc/apt/sources.list.distUpgrade.

Traceback (most recent call last):

File "/tmp/update-manager-D5XofU/natty", line 7, in <module>
sys.exit(main())

File "/tmp/update-manager-D5XofU/DistUpgradeMain.py", line 202, in
main
if app.run():

File "/tmp/update-manager-D5XofU/DistUpgradeController.py", line
1637, in run
return self.fullUpgrade()

File "/tmp/update-manager-D5XofU/DistUpgradeController.py", line
1496, in fullUpgrade
if not self.prepare():

File "/tmp/update-manager-D5XofU/DistUpgradeController.py", line 374,
in prepare
self._sshMagic()

File "/tmp/update-manager-D5XofU/DistUpgradeController.py", line 259,
in _sshMagic
if iptables_active():

File "/tmp/update-manager-D5XofU/utils.py", line 411, in
iptables_active
stdout=subprocess.PIPE).communicate()[0]

File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)

File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception

OSError: [Errno 2] No such file or directory

Revision history for this message
Jarl (jarl-dk) wrote :
Revision history for this message
Jarl (jarl-dk) wrote :

The /var/log/dist-upgrade/apt.log does not exists.

I made an interesting observation:
$ diff -u /etc/apt/sources.list.distUpgrade /etc/apt/sources.list
--- /etc/apt/sources.list.distUpgrade 2010-10-15 08:55:46.000000000 +0000
+++ /etc/apt/sources.list 2010-10-15 08:55:46.000000000 +0000
@@ -1,3 +1,3 @@
-deb http://dk.archive.ubuntu.com/ubuntu lucid main restricted universe
-deb http://dk.archive.ubuntu.com/ubuntu lucid-updates main restricted universe
-deb http://security.ubuntu.com/ubuntu lucid-security main restricted universe
+deb http://dk.archive.ubuntu.com/ubuntu maverick main restricted universe
+deb http://dk.archive.ubuntu.com/ubuntu maverick-updates main restricted universe
+deb http://security.ubuntu.com/ubuntu maverick-security main restricted universe

So if it is true that what it says my original sources.list is stored in /etc/apt/sources.list.distUpgrade, then it was incorrect, however I believe that the do-release-upgrade script failed so early that /etc/apt/sources.list has not yet been replaced, and content of /etc/apt/sources.list.distUpgrade is actually leftover from previous upgrade...

Jarl

Revision history for this message
Jarl (jarl-dk) wrote :

This problem is completely reproducable....

So I did though I would do a `unset LANG` and then `sudo do-release-upgrade` to provide english error-messages, but then....

It no longer failed...

Even more interesting... I then did an abort of the upgrade, and see if I could reproduce it again with LANG set to danish... But then it was no longer possible to reproduce...

Jarl

Jarl (jarl-dk)
tags: added: distribution-upgrade
Revision history for this message
Walter Garcia-Fontes (walter-garcia) wrote :

Sorry that the issue got unattended for a long time. Please feel free to reopen by marking the status as "new" if you see this in current versions of update-manager.

affects: update-manager-core (Ubuntu) → update-manager (Ubuntu)
Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for update-manager (Ubuntu) because there has been no activity for 60 days.]

Changed in update-manager (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.