Public bug reported:

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

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
Update manager crash with partial update (Karmic on 04 June 2009)
https://bugs.launchpad.net/bugs/383764
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to