Bug 412640

Summary: zypper blocks all updates in case of dependency problems
Product: [openSUSE] openSUSE 11.0 Reporter: Christian Boltz <suse-beta>
Component: libzyppAssignee: Jan Kupec <jkupec>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: meissner, tgoettlicher
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Christian Boltz 2008-07-28 14:13:58 UTC
+++ This bug was initially created as a clone of Bug #412166 +++

Created an attachment (id=229997)
zypper.log

Installing the java-1_6_0-sun update (updateinfo-java-1_6_0-sun-97.xml from 11.0 test updates) fails with opensuseupdater-kde.

The reason can be found in zypper.log:

[zypp] SATResolver.cc(problems):990 Encountered problems! Here are the solutions:
[zypp] SATResolver.cc(problems):990
[zypp] SATResolver.cc(problems):994 Problem 1:
[zypp] SATResolver.cc(problems):995 ====================================
[zypp] SATResolver.cc(problems):999 patch:java-1_6_0-sun-97.noarch steht in Konflikt mit java-1_6_0-sun-plugin.i586 < 1.6.0.u7-1.1 angeboten von java-1_6_0-sun-plugin-1.6.0.u6-8.i586
[zypp] SATResolver.cc(problems):1000 ------------------------------------
[zypp] SATResolver.cc(problems):1020 behalten Sie java-1_6_0-sun-plugin-1.6.0.u6-8.i586 nicht installiert
[zypp] SATResolver.cc(problems):1020 behalten Sie java-1_6_0-sun-1.6.0.u6-8.i586 nicht installiert
[zypp] SATResolver.cc(problems):1188 ------------------------------------
[zypp] SATResolver.cc(problems):1025 patch:java-1_6_0-sun-97.noarch nicht installieren
[zypp] SATResolver.cc(problems):1188 ------------------------------------
[zypper] zypper-prompt.cc(get_prompt_reply):181 running non-interactively, returning c

This means:
- zypper cancels the operation
- installation of other updates is also blocked/cancelled as long as the java
  update is selected
[...]

I think that this bug needs to be fixed ...]
b) in zypper - blocking all updates because of one faulty update isn't a good 
   idea :-(  [tell me if I should open a separate report for this]

zypper.log contains only this zypper run (with just the java update selected) to make reading easier.
Comment 1 Jan Kupec 2008-07-28 15:03:13 UTC
Aaah, Christian sorry i have to close this, i did not realize this before (i need a rest i guess):

First, the request is for updater applet, not zypper, because in zypper you can interactively resolve the dependency problems and eventually proceed with installation of the rest of the updates.

Second, we wish to keep the updater applet simple. If a more complex problem appears, the udpater is supposed to inform user (coverred by the other bug) and suggest using yast or zypper to resolve the problem. This is exactly the case here.

I should've realize that sooner before bugging you to open a new report, sorry.