Bug 959688

Summary: wine-32b conflict missing?
Product: [openSUSE] openSUSE Distribution Reporter: Michal Svec <msvec>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: meissner, msvec
Version: Leap 42.1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michal Svec 2015-12-18 10:15:15 UTC
I am installing wine-snapshot from Emulators:Wine:

beholder:~# zypper in wine-snapshot wine-snapshot-32bit 

Problem: wine-snapshot-1.7.904.20151215.0812-1.1.x86_64 conflicts with namespace:otherproviders(wine) provided by wine-1.7.52-1.2.x86_64
 Solution 1: deinstallation of wine-1.7.52-1.2.x86_64
 Solution 2: do not install wine-snapshot-1.7.904.20151215.0812-1.1.x86_64

Choose from above solutions by number or cancel [1/2/c] (c): 1

The following 6 NEW packages are going to be installed:
  libgstapp-0_10-0-32bit libgstreamer-0_10-0-32bit libgthread-2_0-0-32bit wine-mono wine-snapshot wine-snapshot-32bit

The following package is going to be REMOVED:
  wine

6 new packages to install, 1 to remove.
Overall download size: 0 B. Already cached: 86.4 MiB. After the operation, additional 194.7 MiB will be used.
Continue? [y/n/? shows all options] (y)

Apparently there's an unresolved conflict between wine-snapshot-32bit
and wine-32bit, which is not handled by zypper:

[.....]

File /usr/lib/wine/xpssvcs.dll.so
  from install of
     wine-snapshot-32bit-1.7.904.20151215.0812-1.1.x86_64 (wine)
  conflicts with file from package
     wine-32bit-1.7.52-1.2.x86_64 (@System)

File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Continue? [yes/no] (no)

I would expect zypper to offer wine-32bit uninstall to prevent that.
Comment 1 Marcus Meissner 2015-12-18 11:01:34 UTC
there was a conflict: wine inside already, 2which should be conflict: wine-32bit

i adjusted it