Bug 275100

Summary: package dependency resolver unusable
Product: [openSUSE] openSUSE 10.3 Reporter: Steffen Winterfeldt <snwint>
Component: YaST2Assignee: Stefan Schubert <schubi>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P1 - Urgent CC: aj, andre, crrodriguez, gm1mqe, kendy, sboyce
Version: Alpha 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Log from yast, French install

Description Steffen Winterfeldt 2007-05-16 10:48:29 UTC
I don't know how you did that, but with alpha4 resolving package dependencies
takes ages (several minutes). And when I turn the automatic dependency check
off to get things done, the package manager seems to refuse to add
new packages.

And the time seems to increase substantially with every check it does
(y2base is running 100% all the time).
Comment 1 Steffen Winterfeldt 2007-05-16 11:00:58 UTC
Hm, better make that hours, not minutes. It sits at

[zypp] Resolver.cc(resolveDependencies):726 Resolver::resolveDependencies()

for ages now. No end in sight...
Comment 2 Jan Kupec 2007-05-16 12:00:51 UTC
Schubi, this is for you.
Comment 3 Jan Kupec 2007-05-16 12:02:02 UTC
Stefan, when does that happen? Everytime the solver is used?

Can you provide logs?
Comment 4 Stefan Schubert 2007-05-16 12:52:05 UTC
I have seen it online and it is reproduceable.
Comment 5 Steffen Winterfeldt 2007-05-16 12:57:49 UTC
Happens at least during install (given up installation now, don't want to
wait several hours). A rough estimate is that the time increases with every
solver run with a factor 2-4.

The problem is reproducible; schubi has had a look and has a copy of y2log.
Comment 6 Karsten Keil 2007-05-16 13:52:22 UTC
On a fast machine it took some seconds at first time going into software selection menu, but if you add some more selections it takes minutes (I added
32-bit, console utils, voip clients , voip servers, software development, C/C++ development, kernel development. At the end it takes over 10 min
before displaying the additional License popups. After the Licenses it takes again that long before returning to the Main menu.
(On a Intel Quadcore desktop meachine).
Comment 7 Andre Malin 2007-05-18 18:22:45 UTC
I tried the following:
-firstly: Install using english (default) language and add the kernel source. Works OK
-Secondly: Install using a foreign language (french in this case) add the kernel source and it takes about 10 mn to resolve the dependencies.
I am attaching the log.
Comment 8 Andre Malin 2007-05-18 18:25:51 UTC
Created attachment 141096 [details]
Log from yast, French install
Comment 9 Sid Boyce 2007-05-19 02:55:07 UTC
I'm seeing the same on a 64x2 box with 4 Gig, it's happened since updates sometiime in the last couple of days.
Comment 10 Andreas Jaeger 2007-05-22 08:23:38 UTC
Thanks Andre and Sid, I hope we have enough data to fix this.
Comment 11 Stefan Schubert 2007-05-23 09:56:14 UTC
The solver has branched a lot of time. All branches will be logged. So I have reduced the logging. The reason why branching is currently unclear. It seems that language dependencies are not correctly. Meanwhile it is running due reduced logging.
libszpp 3.2.1
Comment 12 Stefan Schubert 2007-05-24 10:08:20 UTC
"The reason why branching is currently unclear" It was generated in the testcases only. The other branches have been valid. So I close that bug.
Comment 13 Steffen Winterfeldt 2007-05-31 14:15:15 UTC
*** Bug 279297 has been marked as a duplicate of this bug. ***
Comment 14 Stefan Schubert 2007-06-05 09:55:44 UTC
*** Bug 280387 has been marked as a duplicate of this bug. ***
Comment 15 Stefan Schubert 2007-06-08 12:07:13 UTC
*** Bug 279472 has been marked as a duplicate of this bug. ***