[Bug 1084525] New: zypper should disable repository operations when searching installed packages
http://bugzilla.opensuse.org/show_bug.cgi?id=1084525 Bug ID: 1084525 Summary: zypper should disable repository operations when searching installed packages Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: markos.chandras@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- There is a massive difference between zypper and rpm when searching through installed packages for example time rpm -qi sysstat 1>/dev/null real 0m0.016s user 0m0.012s sys 0m0.004s time zypper se --installed-only sysstat 1>/dev/null real 0m10.081s user 0m8.360s sys 0m0.223s 10 seconds is too much to query the database of installed packages. One way to improve that would be to disable repository operations (like --disable-repostiories) when --installed-only is used time zypper --disable-repositories se --installed-only sysstat 1>/dev/null real 0m1.903s user 0m0.748s sys 0m0.152s I believe it's sensible to make the rpm db queries as fast as possible so any network or unrelated zypper operation should not be necessary for this subcommand. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084525 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mrmazda@earthlink.net -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1084525 http://bugzilla.opensuse.org/show_bug.cgi?id=1084525#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #1 from Michael Andres <ma@suse.com> --- Some options and the detailed output format require repository information, that's why a refresh happens. But we could disable-repositories in cases that don't need this info. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com