Never mind, I figure it out. Here is what mine looks like now, from line 414 to line 456
try: try: # upgrade (and make sure this way that the cache is ok) self.upgrade(True) # check that everythink in priority required is installed self.checkPriority() # see if our KeepInstalled rules are honored self.keepInstalledRule() # and if we have some special rules self.postUpgradeRule() # check if we got a new kernel self.checkForKernel() # check for third party stuff (envy) self.checkThirdPartyQuirks() # install missing meta-packages (if not in server upgrade mode) if not serverMode: if not self._installMetaPkgs(view): raise SystemError, _("Can't upgrade required meta-packages") # see if it all makes sense if not self._verifyChanges(): if text_mode: _restore_fds(old_stdout, old_stderr) raise SystemError, _("A essential package would have to be removed") except SystemError, e: # FIXME: change the text to something more useful view.error(_("Could not calculate the upgrade"), _("A unresolvable problem occurred while " "calculating the upgrade.\n\n" "Please report this bug against the 'update-manager' " "package and include the files in /var/log/dist-upgrade/ " "in the bugreport.")) logging.error("Dist-upgrade failed: '%s'", e) if text_mode: _restore_fds(old_stdout, old_stderr) return False finally: # wait for the gui-update thread to exit lock.release() t.join() Thanks -- update-manager fails to compile with python 2.4 on hardy https://bugs.launchpad.net/bugs/164947 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs