Bug 404657

Summary: Wrong dependency package selected when installing smc
Product: [openSUSE] openSUSE 11.0 Reporter: Forgotten User zOWss6Gs9u <forgotten_zOWss6Gs9u>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: zypper -v in --debug-solver smc result

Description Forgotten User zOWss6Gs9u 2008-06-27 18:29:51 UTC
Executing "zypper -v in smc" it wants to install:
  libSILLY-0.1.0-1.2.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
  smc-1.5-7.3.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
  cegui-0.6.0-0.pm.1.x86_64  (Packman Repository, http://packman.links2linux.de)
  libdevil-1.6.8rc2-1.5.x86_64  (openSUSE BuildService - Games, openSUSE Build Service)
  smc-music-addon-4.0-1.4.noarch  (openSUSE BuildService - Games, openSUSE Build Service)

The thing is that smc requires "libCEGUIBase.so.1()(64bit)" and "libCEGUIOpenGLRenderer.so.0()(64bit)". Both cegui from Packman and libcegui from OBS games repository provide them. Since games repository has a higher priority than Packman (games 70 - packman 90) I would expect zypper to select libcegui and no cegui.
At really both packman and games provide smc (and all the needed deps). So I don't understand why zypper has selected smc, and other deps from games... but cegui from packman.
Comment 1 Forgotten User zOWss6Gs9u 2008-06-27 18:33:12 UTC
Created attachment 224903 [details]
zypper -v in --debug-solver smc result
Comment 2 Michael Schröder 2008-06-30 09:45:19 UTC
It's because you have "libfreeimage3" in the weak-keep-uninstalled list. I don't know how it made it into this list, you probably deselected it at some time.
(There may also be a bug in the UI that makes it put un-recommended packages on this list)

Just edit /var/lib/zypp/SoftLocks with your favorite editor.
Comment 3 Forgotten User zOWss6Gs9u 2008-06-30 12:39:03 UTC
The secret weak-keep-uninstalled list? ;-)
Yeah, I played a little with YaST when the 11.0 release. I could very easily deselect it to see the effect.
I suppose this list is the same that the locks file but only taking effect if there is an alternative package?

I don't see how to verify if there is such a bug ("un-recommended packages on
this list"). So on my part the bug can be closed.
Comment 4 Michael Schröder 2008-06-30 12:57:49 UTC
Ok, closing. Thanks.
Comment 5 Jan Kupec 2008-07-08 15:38:36 UTC
(In reply to comment #3 from Christian Morales Vega)
> I suppose this list is the same that the locks file but only taking effect if
> there is an alternative package?

No, the list contains recommended(-but-not-required) packages that you decided to deselect or remove. The list is then used to prevent autoselecting of such packages for installation again in the future.