Bugzilla – Bug 328855
zypper search takes "infinite" time
Last modified: 2008-01-29 17:05:55 UTC
A second search inside zypper can take "infinite" time. How to reproduce: d210:~ # zypper shell zypper> search * zypper> install <some not yet installed package> zypper> search * In the log it looks like a solver issue.
Created attachment 175104 [details] zypper log
Horrible: Pend 10296 / Cmpl 0 / Prun 0 / Defr 0 / Invl 0 ... .. . Please generate a testcase.
Jano, could you please document in Wiki how a testcase can be generated in zypper ? http://en.opensuse.org/Bugs/YaST#I_want_to_report_a_bug_related_to_package_dependencies_and_libzypp_solver._Which_logs_to_attach.3F
Of course, today i started to update zypper's wikies, will be done shortly. I don't think this information fits into the link you mention. I'll add it to http://en.opensuse.org/Zypper#Troubleshooting, OK?
OK, that's nice. Another question: Why does zypper search makes a solver run here ?
(In reply to comment #5 from Stefan Schubert) > OK, that's nice. Done. > Another question: Why does zypper search makes a solver run here ? Does it? It shouldn't! Only in install/remove/update commnads.
Created attachment 175197 [details] zypper logs with ZYPP_FULLLOG=1
The solver will be start due an establish call. So that is not the problem. BUT: getRequestedLocales(); returns an empty list.
target commit removes the target from the pool cause noone do a refresh. targetcommit has a parameter for refreshing the pool. Jano please anable it if you are calling targetcommit in a zypper shell.
*** Bug 341822 has been marked as a duplicate of this bug. ***
Cristian, what repositories do you have defined? It seems the problem manifests with certain repos only...
Allthough I'm not Christian: I could reproduce it with at least two different repositories. Last time: search hugin install hugin search hugin Active repos containing hugin where: v | OpenSUSE_oss | package | hugin | 0.6.99.4-33 | i586 v | openSUSE-10.3-Updates | package | hugin | 0.6.99.4-33.2 | i586 i | openSUSE-10.3-Updates | package | hugin | 0.6.99.4-33.4 | i586
(In reply to comment #11 from Jan Kupec) > Cristian, what repositories do you have defined? It seems the problem manifests > with certain repos only... > Only the base repositories and packman, should be fairly straightforward to reproduce, happends always to me...
I believe this bug has been fixed in zypper 0.9.3, so i'm closing this report. If you come across it again, please reopen.
*** Bug 330978 has been marked as a duplicate of this bug. ***
*** Bug 333994 has been marked as a duplicate of this bug. ***