Bug 497971

Summary: upgrade KDE4 using stable repos has an internal conflict and can lead to breaking an installation
Product: [openSUSE] openSUSE.org Reporter: Mark Van De Vyver <mvdv>
Component: 3rd party softwareAssignee: E-mail List <opensuse-communityscreening>
Status: VERIFIED WORKSFORME QA Contact: E-mail List <opensuse-communityscreening>
Severity: Critical    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST2 conflicts screenshot 1
YaST2 conflicts screen shot 2
YaST2 compiz conflicts screenshot
yast2 dep resolver test case mentioned in Comment

Description Mark Van De Vyver 2009-04-24 13:00:03 UTC
Created attachment 288045 [details]
YaST2 conflicts screenshot 1

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1 Firefox/3.0.6, Ant.com Toolbar 1.3

This bug reproduces the steps and effects reported in Comment #16 of Bug #494160

Note if you abort while downloading a package you can have a mangled installation and you can even have YaST2 refuse to update from the same repo, so the update /must/ run without error and without given any scares.

Reproducible: Always

Steps to Reproduce:
1. Download openSUSE 11.0 VirtualBox archive and extract vdi.:
http://downloads.sourceforge.net/virtualboximage/opensuse-11.0-kde4-x86.7z

2. Setup VB guest machine (see attached machine description file (xml).

3. Start openSUSE 11.0 guest.

4. Take a snapshot of the guest openSUSE-11.0.

6. (right)CTRL+F1

7. login as root:
init 3
zypper mr --keep-packages --remote
zypper refresh
zypper mr --all --no-refresh
zypper dup --dry-run
zypper dup
zypper clean
zypper mr --all --refresh
init 5

8. Repeat Comment #16 Bug #494160 steps:

Under the section "STABLE KDE Project (KDE 4.1.3)" on the page:

http://en.opensuse.org/KDE4

Select the basic desktop for 11.0:

http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.0/KDE4-BASIS.ymp

Accept the repos and software the one-click
installer proposes to add:

http://download.opensuse.org/repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_11.0/ (KDE:KDE4:STABLE:Desktop)-
http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_11.0/ (devel:tools:building)
http://download.opensuse.org/update/11.0/ (openSUSE:11.0:Update)Running 

Software to be installed:
kde4-dolphin
kde4-kdepasswd
kde4-kdialog
kde4-keditbookmarks
kde4-kfind
kde4-kio_sysinfo-branding-openSUSE
kde4-kmix
kde4-konqueror
kde4-konsole
kde4-kwin
kde4-kwrite
kdebase4
kdebase4-openSUSE
kdebase4-session
kdebase4-workspace
kdebase4-workspace-branding-openSUSE
kdebase4-workspace-plasmoids

Select Next, then yes, login as root.
Warning about workspace plasmoids appears (screenshot yast2-1-005.png).

*** Yast@ wants to, not install, deinstall or downgrade to to KDE 4.0.4, 
    a total of 65 packages!!!  ***

The 11.0 update repo seems to be the source of this error.
The one click install clearly indicates 4.1.3 is going to be installed, but 
instead it looks like you can easily be downgraded to 4.0.4
  
**** The 11.0 updates repo and workspace plasmoids package are _both_ added by 
     the oneclick installer ****
Specifically, kdebase4-workspace-plasmoids package was not installed previously.

So the choices are:
 a) Abort and moveon.org
 b) Accept the first choice (deinstall, not install, downgrade)
 c) Don't install/update kdebase4-workspace-plasmoids, 
 d) Ignore dependencies
 e) Abort, disable the 11.0 updates repo, try again, in which case you'll go 
    around in circles....

This is a bug?  if so in....
 - update repo?
 - STABLE:KDE4 repo?
 - one click installer?
 - elsewhere?
Likewise:
I elected to deinstall compiz-kde4-0.7.4-31.2.i586 (screenshot yast2-1-006.png)

Which is the recommended solution?

After this the install proceeds without error.

# systemsettings --version
Qt: 4.4.3
KDE: 4.1.3 (KDE 4.1.3) "release 76.4"
System Settings: 4.1.3 (KDE 4.1.3) "release 76.4"

Actual Results:  
If you accepted the first course of action to resolve the workspace-plasma and compiz conflicts you'd have a mixed bag of KDE 4.0.4 and KDE 4.1.3 installed.

Expected Results:  
No conflict on upgrading to KDE4 after having run:
`zypper dup`
Comment 1 Mark Van De Vyver 2009-04-24 13:01:23 UTC
Created attachment 288046 [details]
YaST2 conflicts screen shot 2
Comment 2 Stephan Binner 2009-04-24 13:51:07 UTC
> KDE:/KDE4:/Factory:/Desktop/openSUSE_11.0/KDE4-BASIS.ymp

This URL doesn't fit into your bug report (Factory!=STABLE). Otherwise removed 
kdebase4-workspace-plasmoids from pattern (and bumped it to 4.1), compiz problem can not be solved in single repository - best deinstall compiz. :-)
Comment 3 Mark Van De Vyver 2009-04-25 00:12:25 UTC
My apologies Stephen, I didn't scroll far enough down the openSUSE/KDE wiki page before copying the ymp link.

Step 8. should refer to:

http://download.opensuse.org/repositories/KDE:/KDE4:/STABLE:/Desktop/openSUSE_11.0/KDE4-BASIS.ymp

It is definitely a Stable bug.
Comment 4 Stephan Binner 2009-04-25 06:51:23 UTC
Did you try again before reopening this bug report?
Comment 5 Mark Van De Vyver 2009-04-27 00:44:47 UTC
All that has changed is that it is now a compiz conflict that wants to uninstall, deinstall, downgrade to KDE 4.0.4

Since this is likely to be the way KDE3 and KDE 4.0 users will upgrade, it seems serious.

See attached screenshot.
Comment 6 Mark Van De Vyver 2009-04-27 00:46:07 UTC
Created attachment 288236 [details]
YaST2 compiz conflicts screenshot
Comment 7 Mark Van De Vyver 2009-04-28 08:16:56 UTC
Created attachment 288525 [details]
yast2 dep resolver test case mentioned in Comment

Bug was closed prematurely, only the first of two reported conflicts was resolved.
Both conflicts result in similar behavior.
Comment 8 Mark Van De Vyver 2009-09-30 22:42:08 UTC
No reponse from Novell and I've moved on :)