Comment 2 for bug 404817

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Buggy code is:
        cache = apt.Cache(GtkOpProgress())
        for pkgname in to_add:
            if not cache[pkgname].isInstalled:
                result = False

For some reason in this case pkgname is not in the cache