Update manager crash with partial update (Karmic on 04 June 2009)

Bug #383764 reported by Angel Guzman Maeso
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

The update-manager offers in Karmic a partial update and then crash (Note:apport don't detect this crash, I exec the command "ubuntu-bug update-manager" for report this info):
$ uname -r
2.6.30-7-generic

$ update-manager
/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeCache.py:120: DeprecationWarning: Accessed deprecated property Package.candidateDownloadable, please see the Version class for alternatives.
  if (not pkg.candidateDownloadable and
/usr/lib/python2.6/dist-packages/UpdateManager/Core/UpdateList.py:82: DeprecationWarning: Accessed deprecated property Package.candidateOrigin, please see the Version class for alternatives.
  if pkg.candidateOrigin == None:
/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py:751: DeprecationWarning: Accessed deprecated property Package.summary, please see the Version class for alternatives.
  summary = xml.sax.saxutils.escape(pkg.summary)
/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py:754: DeprecationWarning: Accessed deprecated property Package.packageSize, please see the Version class for alternatives.
  size = _("(Size: %s)") % humanize_size(pkg.packageSize)
/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py:755: DeprecationWarning: Accessed deprecated property Package.installedVersion, please see the Version class for alternatives.
  if pkg.installedVersion != None:
/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py:757: DeprecationWarning: Accessed deprecated property Package.installedVersion, please see the Version class for alternatives.
  {"old_version" : pkg.installedVersion,
/usr/lib/python2.6/dist-packages/UpdateManager/UpdateManager.py:758: DeprecationWarning: Accessed deprecated property Package.candidateVersion, please see the Version class for alternatives.
  "new_version" : pkg.candidateVersion}
/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeCache.py:120: DeprecationWarning: Accessed deprecated property Package.candidateDownloadable, please see the Version class for alternatives.
  if (not pkg.candidateDownloadable and
/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeCache.py:882: DeprecationWarning: Accessed deprecated property Package.candidateOrigin, please see the Version class for alternatives.
  for origin in pkg.candidateOrigin:
ERROR:root:not handled expection:
Traceback (most recent call last):

  File "/usr/bin/update-manager", line 100, in <module>
    controler.doPartialUpgrade()

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", line 1587, in doPartialUpgrade
    if not self.doPostInitialUpdate():

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", line 791, in doPostInitialUpdate
    self.tasks = self.cache.installedTasks

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeCache.py", line 685, in installedTasks
    if not pkg._lookupRecord():

AttributeError: 'Package' object has no attribute '_lookupRecord'

Traceback (most recent call last):
  File "/usr/bin/update-manager", line 100, in <module>
    controler.doPartialUpgrade()
  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", line 1587, in doPartialUpgrade
    if not self.doPostInitialUpdate():
  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", line 791, in doPostInitialUpdate
    self.tasks = self.cache.installedTasks
  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeCache.py", line 685, in installedTasks
    if not pkg._lookupRecord():
AttributeError: 'Package' object has no attribute '_lookupRecord'

ProblemType: Bug
Architecture: i386
Date: Thu Jun 4 23:41:32 2009
DistroRelease: Ubuntu 9.10
Package: update-manager 1:0.120
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-7.8-generic
SourcePackage: update-manager
Uname: Linux 2.6.30-7-generic i686

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Revision history for this message
Christoph Blecker (toph) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please add the log files from '/var/log/dist-upgrade/' to this bug report as separate attachments? Thanks in advance.

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Revision history for this message
Angel Guzman Maeso (shakaran) wrote :
Revision history for this message
geoff (geoffrey-roach) wrote :
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

Remote bug watches

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