I am on CentOS8. I am facing similar situation as in this question, tried everything suggest in answers but could not solve.
Why I can't install ffmpeg on CentOS 7
I am trying to install ffmpeg-devel which needs ffmpeg-libs and which needs libgcrypt.
Libgcrypt is required by systemd which is protected package and could not uninstalled.
Libgcrypt-1.8.5-4.el8 is newer version than libgcrypt-1.5.3-14.el7.
How to go about ffmpeg-devel? It has been going on for 3 days.
> 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)
Anything I have missed to inform you please suggest. I am really stuck with this. Is there any workaround or alternative to ffmpeg.
thanks in advance