https://bugzilla.novell.com/show_bug.cgi?id=273019#c8 Andreas Jaeger <aj@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@novell.com, visnov@novell.com --- Comment #8 from Andreas Jaeger <aj@novell.com> 2007-08-15 01:02:53 MST --- (In reply to comment #7 from Ladislav Slezak)
The package database read is caused by Package::Available() call, it must initialize all repositories to check whether the package is available.
A solution could be check package availability _after_ user confirms package installation (but this makes usability worse).
Better solution could be a workaround in Package::Available() call (similar to Package::Installed() - query libzypp cache directly without refreshing, e.g. use sqlite3 directly).
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. -- 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.