Comment 13 for bug 474543

Revision history for this message
Don Estberg (destberg1) wrote : Re: checkPriority can cause problems with belocs-locales-bin if its still considered downloadable (cdrom source?)

Michael,

I tried the patch in your Comment #8:

--- /usr/share/pyshared/DistUpgrade/DistUpgradeCache.py 2009-10-23 05:52:42.000000000 -0700
+++ /usr/share/pyshared/DistUpgrade/DistUpgradeCache.py.MichaelVogtPatch 2009-11-09 10:54:45.000000000 -0800
@@ -557,7 +557,10 @@
                 not (pkg.isInstalled or pkg.markedInstall) and
                 not pkg.name in removeEssentialOk and
                 pkg.priority in need):
+ try:
                 self.markInstall(pkg.name, "priority in required set '%s' but not scheduled for install" % need)
+ except:
+ logging.exception("markIntall failed")

     # FIXME: make this a decorator (just like the withResolverLog())
     def updateGUI(self, view, lock):

But I must be missing a step in installing this correctly because with this in place, the update manager doesn't come up at all. There was no error in /var/log/syslog, but again I may not know the right place to look for errors logged.