https://bugzilla.novell.com/show_bug.cgi?id=273019#c9 --- Comment #9 from Ladislav Slezak <lslezak@novell.com> 2007-08-15 01:20:20 MST --- (In reply to comment #8 from Andreas Jaeger)
What is needed here is to check whether a package is installed. This is basically a "rpm -q package", isn't it? That one should really not read all the repositories.
Yes, "rpm -q" is already used, but it's in Package::Installed() call, Package::Available() checks whether the package is installable (i.e. can be installed from any registered repo). This is something different and now it requires to load the objects from the cache and search the package. We could do a simple SQL query directly in the cache DB without need to load all objects. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.