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".
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: DistUpgradeView Gtk.py
LINE: 129]
def pulse(self): pulse(self) set_fraction( self.percent/ 100.0)
# FIXME: move the status_str and progress_str into python-apt
# (python-apt need i18n first for this)
FetchProgress.
self.progress.
currentItem = self.currentItems + 1
if currentItem > self.totalItems:
currentItem = self.totalItems
if self.currentCPS > 0: status. set_text( _("Fetching file %li of %li at %sb/s") % (currentItem, self.totalItems, apt_pkg. SizeToStr( self.currentCPS ))) progress. set_text( _("About %s remaining") % FuzzyTimeToStr( self.eta) ) status. set_text( _("Fetching file %li of %li") % (currentItem, self.totalItems)) progress. set_text( " ")
self.
self.
else:
self.
self.
while gtk.events_ pending( ): main_iteration( )
gtk.
return (not self.canceled)
The above "while" loop never exists as it looks like the the gtk.events_ pending( ) function is always returning "true".