Bug 456756

Summary: weird zypper behaviour with package opensuse-gnomequick_de
Product: [openSUSE] openSUSE 11.1 Reporter: Wolfgang Rosenauer <wolfgang>
Component: libzyppAssignee: Michael Schröder <mls>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: dmacvicar
Version: RC 1   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: debug-solver testcase

Description Wolfgang Rosenauer 2008-12-05 12:15:17 UTC
I'm running 11.1rc1 and just did more or less a default install and when I run "zypper up" it removes opensuse-gnomequick_de.

When I run "zypper dup" it reinstalls opensuse-gnomequick_de
Comment 1 Wolfgang Rosenauer 2008-12-05 12:17:41 UTC
Created attachment 258274 [details]
debug-solver testcase
Comment 2 Duncan Mac-Vicar 2008-12-10 17:51:58 UTC
I can't figure out running the testcase, but what surprises me is that a package is marked for deletion when allowuninstall=0
Comment 3 Michael Schröder 2008-12-10 18:22:02 UTC
I bet it's because "opensuse-manual_de" obsoletes "opensuse-gnomequick_de". Could you please send me /var/log/zypper.log after doing a 'zypper up'?
Comment 4 Michael Schröder 2008-12-10 18:29:23 UTC
No need, I can reproduce it...
Comment 5 Michael Schröder 2008-12-10 19:00:22 UTC
Yep, it's because "opensuse-manual_de" is the best update candidate for "opensuse-gnomequick_de", thus "zypper up" "updates" to it.

Now I just need to find out why 'zypper dup' reinstalls it...
Comment 6 Michael Schröder 2008-12-10 19:14:21 UTC
Hah, it supplements gnome-session & language(de). What fun. 'zypper inr' will also reinstall it. (Seems like we really should look at obsoletes of installed packages, even if rpm doesn't do it.) 
So we have a minor bug in the solver, it shouldn't "update" to already installed packages.
Comment 7 Michael Schröder 2008-12-17 11:24:33 UTC
Fixed in SVN.
Comment 8 Wolfgang Rosenauer 2008-12-19 13:40:34 UTC
In SVN means not in 11.1, right?
I get the very same issue now with 11.1 final and opensuse-kdequick_de on another machine.
Comment 9 Michael Schröder 2008-12-19 13:48:32 UTC
In SVN means fixed with the first maintenance stack update.