Bug 1073645 - [libstorage-ng] Upgrade path needs assistance by RPM obsoletes
[libstorage-ng] Upgrade path needs assistance by RPM obsoletes
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: YaST2
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: E-mail List
Jiri Srain
Depends on:
  Show dependency treegraph
Reported: 2017-12-20 10:15 UTC by Dominique Leuenberger
Modified: 2019-04-15 12:12 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Leuenberger 2017-12-20 10:15:37 UTC
Currently, when updating a 42.x to TW, the solver is not 'clear' what we want and in line with the policies, tries to 'keep on the machine what the user had', which in this case implies yast2-storage (which still exists and is non-obsoleted).

This, in turn, causes issues in openQA, when a yast module is supposed to be installed, that pulls in storage-ng, as can be seen at


The solution to this is to mark those legacy packages as obsoleted


yast2-storage-ng: Obsoletes: yast2-storage
libstorage-ng-ruby: Obsoletes: libstorage-ruby
libstorage-ng-python: Obsoletes: libstorage-python

(Note: NO provides: especially not for the python/ruby packages, as they are unlikely to be 1:1 drop-in replacements)

This will also resolve the issues identified by repo-checker

found conflict of libstorage-ng-python-3.3.95-2.1.i586 with libstorage-python-2.26.13-3.2.i586:
  - /usr/lib/python2.7/site-packages/_storage.so
  - /usr/lib/python2.7/site-packages/storage.py
  - /usr/lib/python2.7/site-packages/storage.pyc
  - /usr/lib/python2.7/site-packages/storage.pyo
found conflict of libstorage-ng-ruby-3.3.95-2.1.i586 with libstorage-ruby-2.26.13-3.2.i586:
  - /usr/lib/ruby/vendor_ruby/2.4.0/i586-linux-gnu/storage.so
found conflict of yast2-storage-3.2.20-2.1.i586 with yast2-storage-ng-4.0.57-2.1.noarch:
  - /usr/share/YaST2/clients/inst_disk_proposal.rb
  - /usr/share/YaST2/clients/inst_prepdisk.rb
  - /usr/share/YaST2/clients/partitions_proposal.rb
  - /usr/share/YaST2/scrconf/etc_mtab.scr
  - /usr/share/applications/YaST2/disk.desktop
Comment 1 Arvin Schnell 2017-12-20 10:42:48 UTC
PR for libstorage-ng: https://github.com/openSUSE/libstorage-ng/pull/416
Comment 2 Arvin Schnell 2017-12-20 11:07:42 UTC
PR for yast2-storage-ng: https://github.com/yast/yast-storage-ng/pull/474
Comment 3 Arvin Schnell 2017-12-20 11:21:49 UTC
Added obsoletes as suggested.