Comment 28 for bug 152296

Revision history for this message
Henrik Larsson (lase) wrote :

Thanks schroeder!!

Changing the line you pointed out to just return True made my install/upgrade to continue.

The update-manager downloads the upgrade scripts and puts them in /tmp. What I did was to go into the directory /tmp/tmpwArERK/ (i assume the exact name will differ from machine to machine...) and change the line below in 'DistUpgradeControler.py':

Before change:
# ask the user if he wants to do the changes
res = self._view.confirmChanges(_("Do you want to start the upgrade?"),
                                        changes,
                                        self.cache.requiredDownload)
return res

After change:
#res = self._view.confirmChanges(_("Do you want to start the upgrade?"),
# changes,
# self.cache.requiredDownload)
return True #res

I then executed just the gutsy upgrade script (running update-manager again will not work since it downloads the script again):
sudo /usr/bin/python /tmp/tmpwArERK/gutsy --have-prerequists --with-network