Thanks for the suggestions James -- I'll give it a try and I'll post the
logs.

-------------------

Not sure if this will help (to the developers at least), I have found
the code that is hanging the process:

[Document: DistUpgradeViewGtk.py
LINE: 129]

def pulse(self):
        # FIXME: move the status_str and progress_str into python-apt
        # (python-apt need i18n first for this)
        FetchProgress.pulse(self)
        self.progress.set_fraction(self.percent/100.0)
        currentItem = self.currentItems + 1
        if currentItem > self.totalItems:
            currentItem = self.totalItems

        if self.currentCPS > 0:
            self.status.set_text(_("Fetching file %li of %li at %sb/s") % 
(currentItem, self.totalItems, apt_pkg.SizeToStr(self.currentCPS)))
            self.progress.set_text(_("About %s remaining") % 
FuzzyTimeToStr(self.eta))
        else:
            self.status.set_text(_("Fetching file %li of %li") % (currentItem, 
self.totalItems))
            self.progress.set_text("  ")

        while gtk.events_pending():
            gtk.main_iteration()
        return (not self.canceled)

The above "while" loop never exists as it looks like the the
gtk.events_pending() function is always returning "true".

-- 
"distribution upgrade" hangs during update to hardy
https://bugs.launchpad.net/bugs/186465
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