Bug 963565

Summary: Proposed digikam update has file conflict
Product: [openSUSE] openSUSE Distribution Reporter: Andreas Stieger <astieger>
Component: MaintenanceAssignee: Forgotten User sM9JzehKpy <forgotten_sM9JzehKpy>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: bbrunner, forgotten_bSWU20Bh6O, forgotten_sM9JzehKpy, jmammen, maintenance, wbauer
Version: Leap 42.1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Community User Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Stieger 2016-01-26 11:44:44 UTC
Proposed update in openSUSE:Maintenance:4577 to digikam is uninstallable due to file conflicts:

Checking for file conflicts: .............................................................................................................................................................................................[error]
Detected 8 file conflicts:

File /usr/lib64/libkdcraw.so.23.0.0
  from install of
     digikam-libs-4.14.0-4.1.x86_64 (Test Updates for Leap 42.1 (standard))
  conflicts with file from package
     libkdcraw23-15.08.3-3.1.x86_64 (@System)

File /usr/lib64/libkexiv2.so.11.3.0
  from install of
     digikam-libs-4.14.0-4.1.x86_64 (Test Updates for Leap 42.1 (standard))
  conflicts with file from package
     libkexiv2-11-15.08.3-3.1.x86_64 (@System)

File /usr/lib64/libkface.so.3.0.0
  from install of
     digikam-libs-4.14.0-4.1.x86_64 (Test Updates for Leap 42.1 (standard))
  conflicts with file from package
     libkface3-15.08.3-3.1.x86_64 (@System)

File /usr/lib64/libkgeomap.so.2.1.0
  from install of
     digikam-libs-4.14.0-4.1.x86_64 (Test Updates for Leap 42.1 (standard))
  conflicts with file from package
     libkgeomap2-15.08.3-3.1.x86_64 (@System)

File /usr/lib64/libkipi.so.11.1.0
  from install of
     digikam-libs-4.14.0-4.1.x86_64 (Test Updates for Leap 42.1 (standard))
  conflicts with file from package
     libkipi11-15.08.3-3.1.x86_64 (@System)

File /usr/lib64/libksane.so.0.2.0
  from install of
     digikam-libs-4.14.0-4.1.x86_64 (Test Updates for Leap 42.1 (standard))
  conflicts with file from package
     libksane0-15.08.3-3.1.x86_64 (@System)

File /usr/lib64/libmediawiki.so.1.0.0
  from install of
     digikam-libs-4.14.0-4.1.x86_64 (Test Updates for Leap 42.1 (standard))
  conflicts with file from package
     libmediawiki1-4.13.0-2.3.x86_64 (@System)

File /usr/share/kde4/servicetypes/kipiplugin.desktop
  from install of
     digikam-libs-4.14.0-4.1.x86_64 (Test Updates for Leap 42.1 (standard))
  conflicts with file from package
     libkipi11-15.08.3-3.1.x86_64 (@System)
Comment 1 Forgotten User sM9JzehKpy 2016-01-26 12:08:31 UTC
Hmm, didn't think about this one.  KDE Applications 15.12.x moved all the below indicated libraries to their KF5 counterparts. However based on the shared library policies the old packages were never obsoleted. 

Guess that I will have to add the obsoletes/provides to the digikam-libs package so that the digikam-libs package is installed. From a version/content perspective the digikam-libs package offers exactly the same as the below packages. 

Sorry about this. Will fix it.
Comment 2 Andreas Stieger 2016-01-30 19:59:36 UTC
Just making sure...

Is the request https://build.opensuse.org/request/show/356867 supposed to contain the fix for this problem?

Net diff is:

osc rdiff openSUSE:Maintenance:4577/digikam.openSUSE_Leap_42.1_Update KDE:Extra/digikam

Also I understand that you are proposing for this to be merged into openSUSE:Maintenance:4562?
Comment 3 Forgotten User sM9JzehKpy 2016-01-30 20:07:00 UTC
Hi Andreas,

Correct. The digikam-libs package now has obsoletes for these libraries. It would be good to integrate it with openSUSE:Maintenance:4562  unless this one is already to far in the release process. Then it would be good to release it separately but very soon after. 

Apologies for the inconvenience. 

Regards

Raymond
Comment 4 Andreas Stieger 2016-01-30 21:25:06 UTC
(In reply to Raymond Wooninck from comment #3)
> Correct. The digikam-libs package now has obsoletes for these libraries. It
> would be good to integrate it with openSUSE:Maintenance:4562  unless this
> one is already to far in the release process. Then it would be good to
> release it separately but very soon after. 

I released :4562 and merged digiKam into :4577. I'll check if the reported dependency problem is resolved.
Comment 5 Wolfgang Bauer 2016-01-30 22:09:49 UTC
Hm, I think the obsoletes are still not fully correct:
digikam-libs obsoletes libkexiv2, but the KDE4 package is actually called libkexiv2-11 AFAICS.
This is wrong for Tumbleweed too, I suppose.

Sorry for not noticing earlier.

The rest should be fine IIANM, although libmediawiki would not really be necessary in Leap (shouldn't harm either though)...
Comment 6 Wolfgang Bauer 2016-01-30 23:32:58 UTC
(In reply to Wolfgang Bauer from comment #5)
> although libmediawiki would not really be
> necessary in Leap (shouldn't harm either though)...

Oops, libmediawiki1 has to be obsoleted in Leap as can be seen in comment#0.
I overlooked it because it's only in the main repo, not Update.

Anyway, I created a new SR to KDE:Extra to fix the (hopefully) last problem:
https://build.opensuse.org/request/show/356884
Comment 7 Andreas Stieger 2016-01-31 08:13:25 UTC
I can confirm that the originally reported conflicts are resolved.

(In reply to Wolfgang Bauer from comment #5)
> Hm, I think the obsoletes are still not fully correct:
> digikam-libs obsoletes libkexiv2, but the KDE4 package is actually called
> libkexiv2-11 AFAICS.

That I see as well with SR#356867 accepted:

Detected 1 file conflict:

File /usr/lib64/libkexiv2.so.11.3.0
  from install of
     digikam-libs-4.14.0-6.2.x86_64 (Test Updates for Leap 42.1 (standard))
  conflicts with file from package
     libkexiv2-11-15.08.3-3.1.x86_64 (@System)

(In reply to Wolfgang Bauer from comment #6)
> Anyway, I created a new SR to KDE:Extra to fix the (hopefully) last problem:
> https://build.opensuse.org/request/show/356884

Happy to verify when this is submitted to openSUSE:Maintenance.
Comment 8 Andreas Stieger 2016-01-31 09:23:21 UTC
*** Bug 964246 has been marked as a duplicate of this bug. ***
Comment 9 Forgotten User sM9JzehKpy 2016-01-31 11:20:20 UTC
The latest version with the fixes from Wolfgang was submitted as update with MR#356954
Comment 10 Andreas Stieger 2016-01-31 19:21:05 UTC
Looks good:

The following 7 packages are going to be REMOVED:
  libkdcraw23 libkexiv2-11 libkface3 libkgeomap2 libkipi11 libksane0 libmediawiki1

Locking openSUSE:Maintenance:4577 for a maintenance update. Tests are welcome.