reopen 431114 retitle 431114 update-manager takes a *long* time to start tag 431114 patch thanks
update-manager 0.42.2ubuntu22-14 takes a long time to start because it fails to detect that GetPkgActionGroup is available: it checks for GetPkgActionGrup instead. The attached patch fixes this, as well as a misspelling of my name in the changelog.
diff -ru update-manager-0.42.2ubuntu22~/debian/changelog update-manager-0.42.2ubuntu22/debian/changelog --- update-manager-0.42.2ubuntu22~/debian/changelog 2007-07-02 18:56:36.000000000 -0700 +++ update-manager-0.42.2ubuntu22/debian/changelog 2007-07-02 18:57:33.000000000 -0700 @@ -12,7 +12,7 @@ * debian/patches/04_mark_keep_in_group.diff: - fix problem with huge slowness in startup, thanks to - Matt Karai for the patch (Closes: #428897) + Matt Kraai for the patch (Closes: #428897) -- Gustavo Noronha Silva <[EMAIL PROTECTED]> Mon, 18 Jun 2007 19:57:04 +0100 diff -ru update-manager-0.42.2ubuntu22~/debian/patches/04_mark_keep_in_group.diff update-manager-0.42.2ubuntu22/debian/patches/04_mark_keep_in_group.diff --- update-manager-0.42.2ubuntu22~/debian/patches/04_mark_keep_in_group.diff 2007-07-02 18:56:36.000000000 -0700 +++ update-manager-0.42.2ubuntu22/debian/patches/04_mark_keep_in_group.diff 2007-07-02 18:56:46.000000000 -0700 @@ -7,7 +7,7 @@ def clean(self): - for pkg in self: - pkg.markKeep() -+ GetPkgActionGroup = getattr(apt_pkg, 'GetPkgActionGrup', None) ++ GetPkgActionGroup = getattr(apt_pkg, 'GetPkgActionGroup', None) + if GetPkgActionGroup: + action_group = GetPkgActionGroup(self._depcache) + try: