我在 CentOS8 上。我面临与这个问题类似的情况,尝试了答案中建议的所有内容,但无法解决。
我正在尝试安装需要 ffmpeg-libs 和需要 libgcrypt 的 ffmpeg-devel。systemd 需要 Libgcrypt,它是受保护的包,无法卸载。Libgcrypt-1.8.5-4.el8 是比 libgcrypt-1.5.3-14.el7 更新的版本。
如何进行ffmpeg-devel?它已经持续了3天。
> sudo yum install ffmpeg-libs-3.4.8-1.el7.x86_64.rpm
Last metadata expiration check: 0:14:09 ago on Mon 14 Jun 2021 05:35:40 PM IST.
Error:
Problem: conflicting requests
- nothing provides libgcrypt.so.11()(64bit) needed by ffmpeg-libs-3.4.8-1.el7.x86_64
- nothing provides libgcrypt.so.11(GCRYPT_1.2)(64bit) needed by ffmpeg-libs-3.4.8-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
> sudo yum install ffmpeg-devel
Last metadata expiration check: 0:11:18 ago on Mon 14 Jun 2021 05:35:40 PM IST.
Error:
Problem: package ffmpeg-devel-3.4.8-1.el7.x86_64 requires libpostproc.so.54()(64bit), but none of the providers can be installed
- package ffmpeg-devel-3.4.8-1.el7.x86_64 requires libswresample.so.2()(64bit), but none of the providers can be installed
- package ffmpeg-devel-3.4.8-1.el7.x86_64 requires ffmpeg-libs(x86-64) = 3.4.8-1.el7, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libgcrypt.so.11()(64bit) needed by ffmpeg-libs-3.4.8-1.el7.x86_64
- nothing provides libgcrypt.so.11(GCRYPT_1.2)(64bit) needed by ffmpeg-libs-3.4.8-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
> sudo yum list libgcrypt
Last metadata expiration check: 0:05:26 ago on Mon 14 Jun 2021 05:35:40 PM IST.
Installed Packages
libgcrypt.x86_64 1.8.5-4.el8 @anaconda
Available Packages
libgcrypt.i686 1.8.5-4.el8 baseos
> sudo yum list systemd-libs
Last metadata expiration check: 0:06:37 ago on Mon 14 Jun 2021 05:35:40 PM IST.
Installed Packages
systemd-libs.x86_64 239-45.el8 @baseos
Available Packages
systemd-libs.i686 239-45.el8 baseos
> sudo yum install libgcrypt-1.5.3-14.el7.x86_64.rpm
Last metadata expiration check: 0:04:41 ago on Mon 14 Jun 2021 06:00:22 PM IST.
Error:
Problem: problem with installed package systemd-libs-239-45.el8.x86_64
- package systemd-libs-239-45.el8.x86_64 requires libgcrypt.so.20()(64bit), but none of the providers can be installed
- package systemd-libs-239-45.el8.x86_64 requires libgcrypt.so.20(GCRYPT_1.6)(64bit), but none of the providers can be installed
- cannot install both libgcrypt-1.5.3-14.el7.x86_64 and libgcrypt-1.8.5-4.el8.x86_64
- conflicting requests
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use
not only best candidate packages)
有什么我想告诉你的,请提出建议。我真的坚持这一点。是否有任何解决方法或替代 ffmpeg。
提前致谢