On Sat, Jan 29, 2022 at 6:57 AM Bjørn Lie <bjorn.lie@gmail.com> wrote:
lø., jan. 29 2022 at kl. 12.50 +0100 +0100 skrev Manfred Hollstein <mhollstein@t-online.de> følgende:
Hi Bjørn,
On Sat, 29 Jan 2022, 12:16:40 +0100, Bjørn Lie wrote:
Greetings all
Letting you all know that we have removed the packages gstreamer-plugins-bad and gstreamer-plugins-ugly (and their sub-packages) for Tumbleweed. Leap stays as it has been in the past.
In the future only the plugins not available in main oss from these 2 will be packaged and shipped (gstreamer-plugins-libav will continue to exist for now).
This means that user will encounter that zypper expect/wants you to do a vendor change for a lot of gstreamer packages if you currently have them installed from the packman repo. This is expected and you should go ahead with the vendor change.
Thanks for providing this change! I just did the upgrade and found some obstacles which others might see, too:
$ zypper dup --allow-vendor-change ...
This resulted in several messages about file conflicts. Reason is that the gstreamer-plugins-bad-orig-addon and gstreamer-plugins-ugly-orig-addon packages remained installed, but they should go away - perhaps there is an Obsoletes: missing in the new packages. Also gstreamer-plugins-bad-codecs did not get automatically installed while gstreamer-plugins-ugly-codecs did.
So the proper sequence might be the following to work around the small issues:
$ rpm -e gstreamer-plugins-bad-orig-addon gstreamer-plugins-ugly-orig-addon $ zypper dup --allow-vendor-change $ zypper in gstreamer-plugins-bad-codecs
Once done, you should be left with only 2 (or 4 if you have gst-*32-bits installed aswell). Those will be:
gstreamer-plugins-bad-codecs gstreamer-plugins-ugly-codecs
(and depending on 32-bit or not)
gstreamer-plugins-bad-codecs-32bit gstreamer-plugins-ugly-codecs-32bit
/Bjørn
HTH, cheers.
l8er manfred
Provides: gstreamer-plugins-ugly-orig-addon = %{version} Obsoletes: gstreamer-plugins-ugly-orig-addon < %{version} Provides: gstreamer-plugins-bad-orig-addon = %{version} Obsoletes: gstreamer-plugins-bad-orig-addon < %{version}
Provides/Obsoletes is in place, but I should have used
Obsoletes: gstreamer-plugins-bad-orig-addon Obsoletes: gstreamer-plugins-ugly-orig-addon
without the version check ...
It didn't work because you didn't use "%{version}-%{release}". Without that, it won't correctly obsolete older builds where the version is the same. Basically, never use "%{version}" for this case, always use "%{version}-%{release}". -- 真実はいつも一つ!/ Always, there's only one truth!