[BUG] 关于 ffmpeg-7-mini-libs 引起的更新冲突问题


将更新到 20241003 版本的风滚草用户可能会遇到下列问题:

poplar@c004-h1:~> sudo zypper dup
正在加载软件源数据...
正在读取已安装的软件包...
警告: 您正要使用全部已启用软件源进行发行版升级。继续前请确保这些源之间相互兼容。参考 'man zypper' 获知更多关于此命令的信息。
正在计算发行版升级...
11 个问题:
问题:1: 没有软件源能提供要安装的 ffmpeg-7-mini-libs-7.0.2-2.1.x86_64 所需的 "this-is-only-for-build-envs"
问题:2: 没有软件源能提供要安装的 ffmpeg-7-mini-libs-7.0.2-2.1.x86_64 所需的 "this-is-only-for-build-envs"
问题:3: 没有软件源能提供要安装的 ffmpeg-7-mini-libs-7.0.2-2.1.x86_64 所需的 "this-is-only-for-build-envs"
问题:4: 没有软件源能提供要安装的 ffmpeg-7-mini-libs-7.0.2-2.1.x86_64 所需的 "this-is-only-for-build-envs"
问题:5: 没有软件源能提供要安装的 ffmpeg-7-mini-libs-7.0.2-2.1.x86_64 所需的 "this-is-only-for-build-envs"
问题:6: 没有软件源能提供要安装的 ffmpeg-7-mini-libs-7.0.2-2.1.x86_64 所需的 "this-is-only-for-build-envs"
问题:7: 没有软件源能提供要安装的 ffmpeg-7-mini-libs-7.0.2-2.1.x86_64 所需的 "this-is-only-for-build-envs"
问题:8: 没有软件源能提供要安装的 ffmpeg-7-mini-libs-7.0.2-2.1.x86_64 所需的 "this-is-only-for-build-envs"
问题:9: 安装的 pipewire-spa-plugins-0_2-32bit-1.2.5-1.1.x86_64 需要 "libavcodec.so.61(LIBAVCODEC_61.3_SUSE)",但无法满足此要求
已删除提供者: libavcodec61-32bit-7.0.2-1699.3.pm.8.x86_64
无法安装的提供者: libavcodec61-32bit-7.0.2-2.3.x86_64[repo-oss]

问题:10: 安装的 libavcodec61-32bit-7.0.2-1699.3.pm.8.x86_64 需要 "libavutil.so.59(LIBAVUTIL_59.8_SUSE)",但无法满足此要求
已删除提供者: libavutil59-32bit-7.0.2-1699.3.pm.8.x86_64
无法安装的提供者: libavutil59-32bit-7.0.2-2.3.x86_64[repo-oss]

问题:11: 安装的 libavcodec61-32bit-7.0.2-1699.3.pm.8.x86_64 需要 "libswresample.so.5(LIBSWRESAMPLE_5.1_SUSE)",但无法满足此要求
已删除提供者: libswresample5-32bit-7.0.2-1699.3.pm.8.x86_64
无法安装的提供者: libswresample5-32bit-7.0.2-2.3.x86_64[repo-oss]


问题:1: 没有软件源能提供要安装的 ffmpeg-7-mini-libs-7.0.2-2.1.x86_64 所需的 "this-is-only-for-build-envs"
 解决方案 1: 将执行以下动作:
  卸载 audacious-plugins-4.4-1699.9.pm.3.x86_64
  卸载 libqt5-qtwebengine-5.15.17-5.2.x86_64
  卸载 ffmpegthumbs-24.08.1-1.1.x86_64
  卸载 gegl-0_4-0.4.48-4.1.x86_64
  卸载 kf6-kfilemetadata-6.6.0-1.1.x86_64
  卸载 libKPipeWireRecord6-6.1.5-1.1.x86_64
  卸载 fcitx5-pinyindictmanager-5.1.5-1.2.x86_64
  卸载 goldendict-ng-23.05.03-3.8.x86_64
  卸载 kpipewire6-imports-6.1.5-1.1.x86_64
  卸载 audacious-4.4-1.1.x86_64
  卸载 chromium-plugin-widevinecdm-4.10.2830.0-1699.1.pm.1.x86_64
  卸载 kdeplasma6-addons-6.1.5-1.1.x86_64
  卸载 kaccounts-providers-24.08.1-1.1.x86_64
  卸载 fcitx5-pinyindictmanager6-5.1.5-1.2.x86_64
  卸载 gegl-0_4-lang-0.4.48-4.1.noarch
  卸载 gimp-2.10.38-2.2.x86_64
  卸载 libgegl-0_4-0-0.4.48-4.1.x86_64
  卸载 kf6-kfilemetadata-lang-6.6.0-1.1.noarch
  卸载 libKF6FileMetaData3-6.6.0-1.1.x86_64
  卸载 pipewire-spa-plugins-0_2-1.2.5-1.1.x86_64
  卸载 goldendict-ng-lang-23.05.03-3.8.noarch
  卸载 audacious-lang-4.4-1.1.noarch
  卸载 khelpcenter-lang-24.08.1-1.1.noarch
  卸载 kdeplasma6-addons-lang-6.1.5-1.1.noarch
  卸载 kaccounts-providers-lang-24.08.1-1.1.noarch
  卸载 signon-ui-0.17.20231016T221200~eef943f-1.3.x86_64
  卸载 qt6-texttospeech-6.7.2-1.1.x86_64
  卸载 libreoffice-24.8.2.1-1.1.x86_64
  卸载 libKF6Prison6-6.6.0-1.1.x86_64
  卸载 konsole-part-24.08.1-1.1.x86_64
  卸载 gimp-lang-2.10.38-2.2.noarch
  卸载 gimp-plugin-aa-2.10.38-2.2.x86_64
  卸载 gimp-plugin-jxl-0.11.0-1.1.x86_64
  卸载 libgimp-2_0-0-2.10.38-2.2.x86_64
  卸载 libgimpui-2_0-0-2.10.38-2.2.x86_64
  卸载 libKF6Baloo6-6.6.0-1.1.x86_64
  卸载 kfind-24.08.1-1.1.x86_64
  卸载 kf6-baloo-tools-6.6.0-1.1.x86_64
  卸载 kf6-baloo-kioslaves-6.6.0-1.1.x86_64
  卸载 kf6-baloo-file-6.6.0-1.1.x86_64
  卸载 baloo-widgets-24.08.1-1.1.x86_64
  卸载 libkerfuffle24-24.08.1-1.1.x86_64
  卸载 plasma6-browser-integration-6.1.5-1.1.x86_64
  卸载 pipewire-1.2.5-1.1.x86_64
  卸载 libpipewire-0_3-0-1.2.5-1.1.x86_64
  卸载 signon-plugin-oauth2-0.25git.20231124T142245~fab6988-1.2.x86_64
  卸载 libreoffice-base-24.8.2.1-1.1.x86_64
  卸载 libreoffice-calc-24.8.2.1-1.1.x86_64
  卸载 libreoffice-draw-24.8.2.1-1.1.x86_64
  卸载 libreoffice-impress-24.8.2.1-1.1.x86_64
  卸载 libreoffice-l10n-en-24.8.2.1-1.1.noarch
  卸载 libreoffice-l10n-zh_CN-24.8.2.1-1.1.noarch
  卸载 libreoffice-math-24.8.2.1-1.1.x86_64
  卸载 libreoffice-pyuno-24.8.2.1-1.1.x86_64
  卸载 libreoffice-qt5-24.8.2.1-1.1.x86_64
  卸载 libreoffice-qt6-24.8.2.1-1.1.x86_64
  卸载 libreoffice-writer-24.8.2.1-1.1.x86_64
  卸载 konsole-part-lang-24.08.1-1.1.noarch
  卸载 kf6-prison-imports-6.6.0-1.1.x86_64
  卸载 konsole-24.08.1-1.1.x86_64
  卸载 kf6-baloo-imports-6.6.0-1.1.x86_64
  卸载 ark-24.08.1-1.1.x86_64
  卸载 plasma6-browser-integration-lang-6.1.5-1.1.noarch
  卸载 libKF6Baloo6-lang-6.6.0-1.1.noarch
  卸载 kfind-lang-24.08.1-1.1.noarch
  卸载 baloo-widgets-lang-24.08.1-1.1.noarch
  卸载 pipewire-jack-1.2.5-1.1.x86_64
  卸载 pipewire-lang-1.2.5-1.1.noarch
  卸载 pipewire-pulseaudio-1.2.5-1.1.x86_64
  卸载 wireplumber-0.5.6-1.1.x86_64
  卸载 libKPipeWire6-6.1.5-1.1.x86_64
  卸载 libwireplumber-0_5-0-0.5.6-1.1.x86_64
  卸载 pipewire-alsa-1.2.5-1.1.x86_64
  卸载 pipewire-libjack-0_3-1.2.5-1.1.x86_64
  卸载 pipewire-modules-0_3-1.2.5-1.1.x86_64
  卸载 pipewire-tools-1.2.5-1.1.x86_64
  卸载 xdg-desktop-portal-1.18.4-1.1.x86_64
  卸载 libreoffice-filters-optional-24.8.2.1-1.1.x86_64
  卸载 libreoffice-mailmerge-24.8.2.1-1.1.x86_64
  卸载 kf6-purpose-6.6.0-1.1.x86_64
  卸载 plasma6-nm-6.1.5-1.1.x86_64
  卸载 drkonqi6-6.1.5-1.1.x86_64
  卸载 ark-lang-24.08.1-1.1.noarch
  卸载 kinfocenter6-6.1.5-1.1.x86_64
  卸载 wireplumber-audio-0.5.6-1.1.noarch
  卸载 wireplumber-lang-0.5.6-1.1.noarch
  卸载 xdg-desktop-portal-gtk-1.15.1-1.3.x86_64
  卸载 xdg-desktop-portal-lang-1.18.4-1.1.noarch
  卸载 libKPipeWire6-lang-6.1.5-1.1.noarch
  卸载 libKPipeWireDmaBuf6-6.1.5-1.1.x86_64
  卸载 kf6-purpose-lang-6.6.0-1.1.noarch
  卸载 libKF6Purpose6-6.6.0-1.1.x86_64
  卸载 plasma6-nm-lang-6.1.5-1.1.noarch
  卸载 plasma6-nm-openvpn-6.1.5-1.1.x86_64
  卸载 plasma6-nm-pptp-6.1.5-1.1.x86_64
  卸载 drkonqi6-lang-6.1.5-1.1.noarch
  卸载 kinfocenter6-lang-6.1.5-1.1.noarch
  卸载 xdg-desktop-portal-gtk-lang-1.15.1-1.3.noarch
  卸载 libKF6PurposeWidgets6-6.6.0-1.1.x86_64
 解决方案 2: 由供应商 openSUSE 安装 libavformat61-7.0.2-2.3.x86_64 代替
由供应商 http://packman.links2linux.de 安装 libavformat61-7.0.2-1699.3.pm.9.x86_64
 解决方案 3: 保留淘汰的 libavformat61-7.0.2-1699.3.pm.9.x86_64
 解决方案 4: 通过忽略一些依赖关系来断开 ffmpeg-7-mini-libs-7.0.2-2.1.x86_64

请通过数字从以上解决方案中选择,或者跳过、重试或取消 [1/2/3/4/s/r/c/d/?] (c):

在相似的帖子中,有人提供了解决方案:

sudo zypper dup --allow-vendor-change

然后就会有:

poplar@c004-h1:~> sudo zypper dup --allow-vendor-change
正在加载软件源数据...
正在读取已安装的软件包...
警告: 您正要使用全部已启用软件源进行发行版升级。继续前请确保这些源之间相互兼容。参考 'man zypper' 获知更多关于此命令的信息。
正在计算发行版升级...

以下 15 个项已锁定且不会被任何操作改动:
 可用版本:
  discover6 fcitx ibus kcalc kmousetool kompare konversation kuiviewer MozillaFirefox opensuse-welcome PackageKit patterns-games-games patterns-kde-kde_games
  patterns-kde-kde_pim skanlite

将升级以下 306 个软件包:
  audacious-plugins audacious-plugins-extra audacious-plugins-lang audit audit-rules chromium dolphin dolphin-part dolphin-part-lang fcitx5-qt5 fcitx5-qt6
  fcitx5-qt-lang filesystem flatpak flatpak-remote-flathub gstreamer-plugins-good gstreamer-plugins-good-gtk gstreamer-plugins-good-lang gtk4-branding-openSUSE
  gtk4-lang gtk4-schema gtk4-tools gwenview gwenview-lang kate kate-lang kate-plugins kconf_update6 kde-cli-tools6 kde-cli-tools6-lang kernel-firmware-all
  kernel-firmware-amdgpu kernel-firmware-ath10k kernel-firmware-ath11k kernel-firmware-ath12k kernel-firmware-atheros kernel-firmware-bluetooth kernel-firmware-bnx2
  kernel-firmware-brcm kernel-firmware-chelsio kernel-firmware-dpaa2 kernel-firmware-i915 kernel-firmware-intel kernel-firmware-iwlwifi kernel-firmware-liquidio
  kernel-firmware-marvell kernel-firmware-media kernel-firmware-mediatek kernel-firmware-mellanox kernel-firmware-mwifiex kernel-firmware-network kernel-firmware-nfp
  kernel-firmware-nvidia kernel-firmware-platform kernel-firmware-prestera kernel-firmware-qcom kernel-firmware-qlogic kernel-firmware-radeon kernel-firmware-realtek
  kernel-firmware-serial kernel-firmware-sound kernel-firmware-ti kernel-firmware-ueagle kernel-firmware-usb-network kf6-kconfig kf6-kconfig-imports kf6-kconfigwidgets
  kf6-kdbusaddons kf6-kdbusaddons-tools kf6-kiconthemes kf6-kiconthemes-imports kf6-kimageformats kf6-kio kf6-kio-lang kf6-kirigami-imports kf6-kjobwidgets
  kf6-kuserfeedback kf6-kuserfeedback-imports kf6-kuserfeedback-lang kf6-kwindowsystem kf6-kwindowsystem-imports kf6-kxmlgui kf6-qqc2-desktop-style
  kf6-qqc2-desktop-style-lang kglobalacceld6 kscreen6 kscreen6-lang kscreenlocker6 kscreenlocker6-lang kwayland6 kwin6 kwin6-lang kwin6-x11 layer-shell-qt6 libaudit1
  libauparse0 libavcodec58_134 libavformat58_76 libavutil56_70 libdolphinvcs6 libeconf0 libeconf0-32bit libFcitx5Qt5DBusAddons1 libFcitx5Qt5WidgetsAddons2
  libFcitx5Qt6DBusAddons1 libFcitx5Qt6WidgetsAddons2 libfdk-aac2 libfdk-aac2-32bit libflatpak0 libgtk-4-1 libKF6ConfigCore6 libKF6ConfigCore6-lang libKF6ConfigGui6
  libKF6ConfigQml6 libKF6ConfigWidgets6 libKF6ConfigWidgets6-lang libKF6DBusAddons6 libKF6DBusAddons6-lang libKF6IconThemes6 libKF6IconThemes6-lang libKF6IconWidgets6
  libKF6JobWidgets6 libKF6JobWidgets6-lang libKF6KIO6 libKF6Screen8 libKF6Screen8-lang libKF6ScreenDpms8 libKF6UserFeedbackCore6 libKF6UserFeedbackWidgets6
  libKF6WindowSystem6 libKF6WindowSystem6-lang libKF6XmlGui6 libKF6XmlGui6-lang libKGlobalAccelD6-0 libKirigamiPlatform6 libkscreen6-plugin libKScreenLocker6
  libKWaylandClient6 libkwin6 libLayerShellQtInterface6 libopeniscsiusr0 libpostproc55_9 libQCoro6DBus0 libQt6Concurrent6 libQt6Core5Compat6 libQt6Core6 libQt6DBus6
  libQt6Gui6 libQt6HunspellInputMethod6 libQt6LabsAnimation6 libQt6LabsFolderListModel6 libQt6LabsQmlModels6 libQt6LabsSettings6 libQt6LabsSharedImage6
  libQt6LabsWavefrontMesh6 libQt6Multimedia6 libQt6MultimediaQuick6 libQt6MultimediaWidgets6 libQt6Network6 libQt6OpenGL6 libQt6OpenGLWidgets6 libQt6Positioning6
  libQt6PrintSupport6 libQt6Qml6 libQt6QmlCore6 libQt6QmlLocalStorage6 libQt6QmlModels6 libQt6QmlNetwork6 libQt6QmlWorkerScript6 libQt6QmlXmlListModel6 libQt6Quick3D6
  libQt6Quick3DAssetImport6 libQt6Quick3DAssetUtils6 libQt6Quick3DEffects6 libQt6Quick3DHelpers6 libQt6Quick3DHelpersImpl6 libQt6Quick3DParticleEffects6
  libQt6Quick3DParticles6 libQt6Quick3DRuntimeRender6 libQt6Quick3DSpatialAudio6 libQt6Quick3DUtils6 libQt6Quick6 libQt6QuickControls2-6 libQt6QuickControls2Impl6
  libQt6QuickDialogs2-6 libQt6QuickDialogs2QuickImpl6 libQt6QuickDialogs2Utils6 libQt6QuickEffects6 libQt6QuickLayouts6 libQt6QuickParticles6 libQt6QuickShapes6
  libQt6QuickTemplates2-6 libQt6QuickTest6 libQt6QuickTimeline6 libQt6QuickWidgets6 libQt6Sensors6 libQt6ShaderTools6 libQt6SpatialAudio6 libQt6Sql6 libQt6Svg6
  libQt6SvgWidgets6 libQt6Test6 libQt6TextToSpeech6 libQt6UiTools6 libQt6VirtualKeyboard6 libQt6WaylandClient6 libQt6WaylandCompositor6
  libQt6WaylandEglClientHwIntegration6 libQt6WaylandEglCompositorHwIntegration6 libQt6WebChannel6 libQt6WebChannelQuick6 libQt6WebEngineCore6 libQt6WebEngineQuick6
  libQt6WebEngineWidgets6 libQt6Widgets6 libQt6WlShellIntegration6 libQt6Xml6 libswresample3_9 libswscale5_9 libvirt-client libvirt-daemon-common
  libvirt-daemon-config-network libvirt-daemon-driver-network libvirt-daemon-driver-nodedev libvirt-daemon-driver-nwfilter libvirt-daemon-driver-qemu
  libvirt-daemon-driver-secret libvirt-daemon-driver-storage libvirt-daemon-driver-storage-core libvirt-daemon-driver-storage-disk libvirt-daemon-driver-storage-iscsi
  libvirt-daemon-driver-storage-iscsi-direct libvirt-daemon-driver-storage-logical libvirt-daemon-driver-storage-mpath libvirt-daemon-driver-storage-rbd
  libvirt-daemon-driver-storage-scsi libvirt-daemon-lock libvirt-daemon-log libvirt-daemon-plugin-lockd libvirt-daemon-qemu libvirt-libs libvlc5 libvlccore9 okular
  okular-lang open-iscsi openSUSE-release openSUSE-release-appliance-custom plasma6-desktop plasma6-desktop-emojier plasma6-desktop-lang plasma6-integration-plugin
  plasma6-integration-plugin-lang plasma6-kimpanel-ibus plasma6-session plasma6-session-x11 plasma6-workspace plasma6-workspace-lang plasma6-workspace-libs powerdevil6
  powerdevil6-lang python311-libvirt-python python311-urllib3 qt6-declarative-imports qt6-imageformats qt6-multimedia qt6-multimedia-imports
  qt6-networkinformation-glib qt6-networkinformation-nm qt6-network-tls qt6-platformtheme-gtk3 qt6-printsupport-cups qt6-qt5compat-imports qt6-quick3d-imports
  qt6-sensors qt6-sql-mysql qt6-sql-sqlite qt6-texttospeech qt6-tools-qdbus qt6-translations qt6-virtualkeyboard qt6-virtualkeyboard-imports qt6-wayland
  qt6-webchannel-imports qt6-webengine qt6-webengine-imports qtdeclarative-imports-provides-qt6 sddm-qt6-branding-openSUSE spectacle spectacle-lang system-group-audit
  system-user-flatpak ucode-amd vlc vlc-codec-fluidsynth vlc-codec-gstreamer vlc-codecs vlc-lang vlc-noX vlc-qt vlc-vdpau wacomtablet-kcm6 wacomtablet-kcm6-lang
  xdg-desktop-portal-kde6 xdg-desktop-portal-kde6-lang xwaylandvideobridge

将升级以下 1 个产品:
  openSUSE Tumbleweed  20241002-0 -> 20241003-0

将降级以下 19 个软件包:
  gdk-pixbuf-loader-libheif libavcodec61 libavcodec61-32bit libavfilter10 libavformat61 libavutil59 libavutil59-32bit libheif1 libheif-aom libheif-dav1d libheif-ffmpeg
  libheif-jpeg libheif-openjpeg libheif-rav1e libheif-svtenc libpostproc58 libswresample5 libswresample5-32bit libswscale8

将改变以下 19 个软件包的来源:
  gdk-pixbuf-loader-libheif  http://packman.links2linux.de -> openSUSE
  libavcodec61               http://packman.links2linux.de -> openSUSE
  libavcodec61-32bit         http://packman.links2linux.de -> openSUSE
  libavfilter10              http://packman.links2linux.de -> openSUSE
  libavformat61              http://packman.links2linux.de -> openSUSE
  libavutil59                http://packman.links2linux.de -> openSUSE
  libavutil59-32bit          http://packman.links2linux.de -> openSUSE
  libheif1                   http://packman.links2linux.de -> openSUSE
  libheif-aom                http://packman.links2linux.de -> openSUSE
  libheif-dav1d              http://packman.links2linux.de -> openSUSE
  libheif-ffmpeg             http://packman.links2linux.de -> openSUSE
  libheif-jpeg               http://packman.links2linux.de -> openSUSE
  libheif-openjpeg           http://packman.links2linux.de -> openSUSE
  libheif-rav1e              http://packman.links2linux.de -> openSUSE
  libheif-svtenc             http://packman.links2linux.de -> openSUSE
  libpostproc58              http://packman.links2linux.de -> openSUSE
  libswresample5             http://packman.links2linux.de -> openSUSE
  libswresample5-32bit       http://packman.links2linux.de -> openSUSE
  libswscale8                http://packman.links2linux.de -> openSUSE

将安装以下 4 个新软件包:
  python311-h2 python311-hpack python311-hyperframe python311-zstandard

将移除以下 1 个软件包:
  librav1e0_6-32bit

306 个软件包待升级, 19 个软件包待降级, 4 个软件包将新装, 1 个软件包将移除, 19 个软件包将跨源.

Package download size:   869.8 MiB

Package install size change:
              |      1.72 GiB  required by packages that will be installed
     9.7 MiB  |  -   1.71 GiB  released by packages that will be removed

后端:  classic_rpmtrans
继续吗? [y/n/v/...? 显示全部选项] (y): 

这个问题好像是 packman 导致的,你可以过几天再更新系统,或者将一部分软件包的供应商切换至 openSUSE。

这个问题没有遇到过,我就之前装解码器花了一些时间

packman 已经修好了。

——

“this is only for build envs”,意思是这个 ffmpeg-7-mini-libs 是给别的需要 ffmpeg-7 才能编译的软件用的中间件…

这么处理确实不太好,应该用 projconfig 去替换。

你可以 sudo zypper al ffmpeg-7-mini-libs 把这个包加个锁,不用 allow-vendor-change 的

1赞