youni

Solve conflicts with ffmpeg-libs in Rocky Linux 9.1

Feb 28th, 2023 (edited)
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.40 KB | None | 0 0
  1. If you have such conflict in rocky linux (after install chromium and then adding rpmfusion-free):
  2.  
  3. # dnf install mplayer
  4. Last metadata expiration check: 0:19:52 ago on Tue 28 Feb 2023 10:00:50 AM MSK.
  5. Error:
  6. Problem: problem with installed package libswresample-free-5.1.2-12.el9.x86_64
  7. - package ffmpeg-libs-5.1.2-9.el9.x86_64 conflicts with libswresample-free provided by libswresample-free-5.1.2-12.el9.x86_64
  8. - package mplayer-1.5.1-0.3.20220726svn.el9.x86_64 requires ffmpeg-libs(x86-64), but none of the providers can be installed
  9. - conflicting requests
  10. (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)
  11.  
  12.  
  13. you can solve this by replacing ffmpeg-free with ffmpeg as described here https://rpmfusion.org/CommonBugs#FFmpeg-free%20conflicts, thanks to [matterbridge] in IRC chat.rockylinux.org:
  14.  
  15.  
  16.  
  17. # dnf swap ffmpeg-free ffmpeg --allowerasing
  18. Last metadata expiration check: 1:19:57 ago on Tue 28 Feb 2023 10:00:50 AM MSK.
  19. No match for argument: ffmpeg-free
  20. No packages marked for removal.
  21. Dependencies resolved.
  22. ================================================================================================================================================================
  23. Package Architecture Version Repository Size
  24. ================================================================================================================================================================
  25. Installing:
  26. ffmpeg x86_64 5.1.2-9.el9 rpmfusion-free-updates 1.7 M
  27. Installing dependencies:
  28. ffmpeg-libs x86_64 5.1.2-9.el9 rpmfusion-free-updates 7.8 M
  29. ladspa x86_64 1.13-28.el9 crb 47 k
  30. leptonica x86_64 1.80.0-4.el9.1 appstream 1.1 M
  31. libavdevice x86_64 5.1.2-9.el9 rpmfusion-free-updates 73 k
  32. libbs2b x86_64 3.1.0-27.el9 epel 28 k
  33. libshaderc x86_64 2022.2-2.el9 appstream 960 k
  34. lilv-libs x86_64 0.24.14-3.el9 epel 58 k
  35. lv2 x86_64 1.18.8-4.el9 epel 90 k
  36. rubberband x86_64 3.1.0-2.el9 epel 366 k
  37. serd x86_64 0.30.12-2.el9 epel 61 k
  38. sord x86_64 0.16.10-2.el9 epel 46 k
  39. spirv-tools-libs x86_64 2022.2-3.el9 appstream 1.3 M
  40. sratom x86_64 0.6.10-2.el9 epel 26 k
  41. tesseract x86_64 4.1.1-7.el9 appstream 1.3 M
  42. tesseract-langpack-eng noarch 4.1.0-3.el9 appstream 1.7 M
  43. tesseract-tessdata-doc noarch 4.1.0-3.el9 appstream 13 k
  44. vamp-plugin-sdk x86_64 2.9.0-4.el9 epel 171 k
  45. Installing weak dependencies:
  46. vmaf-models noarch 2.3.0-2.el9 epel 227 k
  47. Removing dependent packages:
  48. libavcodec-free x86_64 5.1.2-12.el9 @epel 9.5 M
  49. libavformat-free x86_64 5.1.2-12.el9 @epel 2.6 M
  50. libavutil-free x86_64 5.1.2-12.el9 @epel 831 k
  51. libswresample-free x86_64 5.1.2-12.el9 @epel 147 k
  52.  
  53. Transaction Summary
  54. ================================================================================================================================================================
  55. Install 19 Packages
  56. Remove 4 Packages
  57.  
  58. Total download size: 17 M
  59. Is this ok [y/N]: y
  60. Downloading Packages:
  61. (1/19): libbs2b-3.1.0-27.el9.x86_64.rpm 71 kB/s | 28 kB 00:00
  62. (2/19): lilv-libs-0.24.14-3.el9.x86_64.rpm 134 kB/s | 58 kB 00:00
  63. (3/19): lv2-1.18.8-4.el9.x86_64.rpm 187 kB/s | 90 kB 00:00
  64. (4/19): serd-0.30.12-2.el9.x86_64.rpm 411 kB/s | 61 kB 00:00
  65. (5/19): sord-0.16.10-2.el9.x86_64.rpm 295 kB/s | 46 kB 00:00
  66. (6/19): sratom-0.6.10-2.el9.x86_64.rpm 218 kB/s | 26 kB 00:00
  67. (7/19): rubberband-3.1.0-2.el9.x86_64.rpm 594 kB/s | 366 kB 00:00
  68. (8/19): vamp-plugin-sdk-2.9.0-4.el9.x86_64.rpm 420 kB/s | 171 kB 00:00
  69. (9/19): vmaf-models-2.3.0-2.el9.noarch.rpm 542 kB/s | 227 kB 00:00
  70. (10/19): tesseract-tessdata-doc-4.1.0-3.el9.noarch.rpm 27 kB/s | 13 kB 00:00
  71. (11/19): tesseract-4.1.1-7.el9.x86_64.rpm 376 kB/s | 1.3 MB 00:03
  72. (12/19): leptonica-1.80.0-4.el9.1.x86_64.rpm 335 kB/s | 1.1 MB 00:03
  73. (13/19): tesseract-langpack-eng-4.1.0-3.el9.noarch.rpm 420 kB/s | 1.7 MB 00:04
  74. (14/19): ladspa-1.13-28.el9.x86_64.rpm 53 kB/s | 47 kB 00:00
  75. (15/19): ffmpeg-5.1.2-9.el9.x86_64.rpm 981 kB/s | 1.7 MB 00:01
  76. (16/19): spirv-tools-libs-2022.2-3.el9.x86_64.rpm 326 kB/s | 1.3 MB 00:04
  77. (17/19): libavdevice-5.1.2-9.el9.x86_64.rpm 68 kB/s | 73 kB 00:01
  78. (18/19): libshaderc-2022.2-2.el9.x86_64.rpm 116 kB/s | 960 kB 00:08
  79. (19/19): ffmpeg-libs-5.1.2-9.el9.x86_64.rpm 549 kB/s | 7.8 MB 00:14
  80. ----------------------------------------------------------------------------------------------------------------------------------------------------------------
  81. Total 687 kB/s | 17 MB 00:25
  82. Running transaction check
  83. Transaction check succeeded.
  84. Running transaction test
  85. Transaction test succeeded.
  86. Running transaction
  87. Preparing : 1/1
  88. Installing : serd-0.30.12-2.el9.x86_64 1/23
  89. Installing : sord-0.16.10-2.el9.x86_64 2/23
  90. Installing : sratom-0.6.10-2.el9.x86_64 3/23
  91. Installing : lilv-libs-0.24.14-3.el9.x86_64 4/23
  92. Installing : ladspa-1.13-28.el9.x86_64 5/23
  93. Installing : spirv-tools-libs-2022.2-3.el9.x86_64 6/23
  94. Installing : libshaderc-2022.2-2.el9.x86_64 7/23
  95. Installing : leptonica-1.80.0-4.el9.1.x86_64 8/23
  96. Installing : tesseract-tessdata-doc-4.1.0-3.el9.noarch 9/23
  97. Installing : tesseract-4.1.1-7.el9.x86_64 10/23
  98. Installing : tesseract-langpack-eng-4.1.0-3.el9.noarch 11/23
  99. Installing : vmaf-models-2.3.0-2.el9.noarch 12/23
  100. Installing : vamp-plugin-sdk-2.9.0-4.el9.x86_64 13/23
  101. Installing : lv2-1.18.8-4.el9.x86_64 14/23
  102. Installing : rubberband-3.1.0-2.el9.x86_64 15/23
  103. Installing : libbs2b-3.1.0-27.el9.x86_64 16/23
  104. Installing : ffmpeg-libs-5.1.2-9.el9.x86_64 17/23
  105. Installing : libavdevice-5.1.2-9.el9.x86_64 18/23
  106. Installing : ffmpeg-5.1.2-9.el9.x86_64 19/23
  107. Erasing : libavformat-free-5.1.2-12.el9.x86_64 20/23
  108. Erasing : libavcodec-free-5.1.2-12.el9.x86_64 21/23
  109. Erasing : libswresample-free-5.1.2-12.el9.x86_64 22/23
  110. Erasing : libavutil-free-5.1.2-12.el9.x86_64 23/23
  111. Running scriptlet: libavutil-free-5.1.2-12.el9.x86_64 23/23
  112. Verifying : libbs2b-3.1.0-27.el9.x86_64 1/23
  113. Verifying : lilv-libs-0.24.14-3.el9.x86_64 2/23
  114. Verifying : lv2-1.18.8-4.el9.x86_64 3/23
  115. Verifying : rubberband-3.1.0-2.el9.x86_64 4/23
  116. Verifying : serd-0.30.12-2.el9.x86_64 5/23
  117. Verifying : sord-0.16.10-2.el9.x86_64 6/23
  118. Verifying : sratom-0.6.10-2.el9.x86_64 7/23
  119. Verifying : vamp-plugin-sdk-2.9.0-4.el9.x86_64 8/23
  120. Verifying : vmaf-models-2.3.0-2.el9.noarch 9/23
  121. Verifying : tesseract-tessdata-doc-4.1.0-3.el9.noarch 10/23
  122. Verifying : tesseract-langpack-eng-4.1.0-3.el9.noarch 11/23
  123. Verifying : tesseract-4.1.1-7.el9.x86_64 12/23
  124. Verifying : leptonica-1.80.0-4.el9.1.x86_64 13/23
  125. Verifying : spirv-tools-libs-2022.2-3.el9.x86_64 14/23
  126. Verifying : libshaderc-2022.2-2.el9.x86_64 15/23
  127. Verifying : ladspa-1.13-28.el9.x86_64 16/23
  128. Verifying : ffmpeg-5.1.2-9.el9.x86_64 17/23
  129. Verifying : ffmpeg-libs-5.1.2-9.el9.x86_64 18/23
  130. Verifying : libavdevice-5.1.2-9.el9.x86_64 19/23
  131. Verifying : libavcodec-free-5.1.2-12.el9.x86_64 20/23
  132. Verifying : libavformat-free-5.1.2-12.el9.x86_64 21/23
  133. Verifying : libavutil-free-5.1.2-12.el9.x86_64 22/23
  134. Verifying : libswresample-free-5.1.2-12.el9.x86_64 23/23
  135.  
  136. Installed:
  137. ffmpeg-5.1.2-9.el9.x86_64 ffmpeg-libs-5.1.2-9.el9.x86_64 ladspa-1.13-28.el9.x86_64 leptonica-1.80.0-4.el9.1.x86_64
  138. libavdevice-5.1.2-9.el9.x86_64 libbs2b-3.1.0-27.el9.x86_64 libshaderc-2022.2-2.el9.x86_64 lilv-libs-0.24.14-3.el9.x86_64
  139. lv2-1.18.8-4.el9.x86_64 rubberband-3.1.0-2.el9.x86_64 serd-0.30.12-2.el9.x86_64 sord-0.16.10-2.el9.x86_64
  140. spirv-tools-libs-2022.2-3.el9.x86_64 sratom-0.6.10-2.el9.x86_64 tesseract-4.1.1-7.el9.x86_64 tesseract-langpack-eng-4.1.0-3.el9.noarch
  141. tesseract-tessdata-doc-4.1.0-3.el9.noarch vamp-plugin-sdk-2.9.0-4.el9.x86_64 vmaf-models-2.3.0-2.el9.noarch
  142. Removed:
  143. libavcodec-free-5.1.2-12.el9.x86_64 libavformat-free-5.1.2-12.el9.x86_64 libavutil-free-5.1.2-12.el9.x86_64 libswresample-free-5.1.2-12.el9.x86_64
  144.  
  145. Complete!
  146.  
  147.  
  148.  
  149. finally install mplayer without conflicts:
  150.  
  151.  
  152. # dnf install mplayer
  153. Last metadata expiration check: 1:25:26 ago on Tue 28 Feb 2023 10:00:50 AM MSK.
  154. Dependencies resolved.
  155. ================================================================================================================================================================
  156. Package Architecture Version Repository Size
  157. ================================================================================================================================================================
  158. Installing:
  159. mplayer x86_64 1.5.1-0.3.20220726svn.el9 rpmfusion-free-updates 1.1 M
  160. Installing dependencies:
  161. aalib-libs x86_64 1.4.0-0.42.rc5.el9 epel 68 k
  162. enca x86_64 1.19-1.el9 epel 113 k
  163. libcaca x86_64 0.99-0.60.beta20.el9 epel 219 k
  164. librtmp x86_64 2.4-21.20190330.gitc5f04a5.el9 rpmfusion-free-updates 77 k
  165. libusb x86_64 1:0.1.7-5.el9 appstream 29 k
  166. lirc-libs x86_64 0.10.0-36.el9 epel 126 k
  167. mplayer-common x86_64 1.5.1-0.3.20220726svn.el9 rpmfusion-free-updates 1.2 M
  168. sdl12-compat x86_64 1.2.52-1.el9 appstream 84 k
  169.  
  170. Transaction Summary
  171. ================================================================================================================================================================
  172. Install 9 Packages
  173.  
  174. Total download size: 3.0 M
  175. Installed size: 7.0 M
  176. Is this ok [y/N]: y
  177. Downloading Packages:
  178. (1/9): aalib-libs-1.4.0-0.42.rc5.el9.x86_64.rpm 139 kB/s | 68 kB 00:00
  179. (2/9): enca-1.19-1.el9.x86_64.rpm 224 kB/s | 113 kB 00:00
  180. (3/9): libcaca-0.99-0.60.beta20.el9.x86_64.rpm 321 kB/s | 219 kB 00:00
  181. (4/9): lirc-libs-0.10.0-36.el9.x86_64.rpm 505 kB/s | 126 kB 00:00
  182. (5/9): librtmp-2.4-21.20190330.gitc5f04a5.el9.x86_64.rpm 435 kB/s | 77 kB 00:00
  183. (6/9): mplayer-1.5.1-0.3.20220726svn.el9.x86_64.rpm 1.0 MB/s | 1.1 MB 00:01
  184. (7/9): libusb-0.1.7-5.el9.x86_64.rpm 20 kB/s | 29 kB 00:01
  185. (8/9): sdl12-compat-1.2.52-1.el9.x86_64.rpm 24 kB/s | 84 kB 00:03
  186. (9/9): mplayer-common-1.5.1-0.3.20220726svn.el9.x86_64.rpm 384 kB/s | 1.2 MB 00:03
  187. ----------------------------------------------------------------------------------------------------------------------------------------------------------------
  188. Total 397 kB/s | 3.0 MB 00:07
  189. Running transaction check
  190. Transaction check succeeded.
  191. Running transaction test
  192. Transaction test succeeded.
  193. Running transaction
  194. Preparing : 1/1
  195. Installing : mplayer-common-1.5.1-0.3.20220726svn.el9.x86_64 1/9
  196. Installing : librtmp-2.4-21.20190330.gitc5f04a5.el9.x86_64 2/9
  197. Installing : libusb-1:0.1.7-5.el9.x86_64 3/9
  198. Installing : lirc-libs-0.10.0-36.el9.x86_64 4/9
  199. Installing : sdl12-compat-1.2.52-1.el9.x86_64 5/9
  200. Installing : libcaca-0.99-0.60.beta20.el9.x86_64 6/9
  201. Installing : enca-1.19-1.el9.x86_64 7/9
  202. Installing : aalib-libs-1.4.0-0.42.rc5.el9.x86_64 8/9
  203. Installing : mplayer-1.5.1-0.3.20220726svn.el9.x86_64 9/9
  204. Running scriptlet: mplayer-1.5.1-0.3.20220726svn.el9.x86_64 9/9
  205. Verifying : aalib-libs-1.4.0-0.42.rc5.el9.x86_64 1/9
  206. Verifying : enca-1.19-1.el9.x86_64 2/9
  207. Verifying : libcaca-0.99-0.60.beta20.el9.x86_64 3/9
  208. Verifying : lirc-libs-0.10.0-36.el9.x86_64 4/9
  209. Verifying : sdl12-compat-1.2.52-1.el9.x86_64 5/9
  210. Verifying : libusb-1:0.1.7-5.el9.x86_64 6/9
  211. Verifying : librtmp-2.4-21.20190330.gitc5f04a5.el9.x86_64 7/9
  212. Verifying : mplayer-1.5.1-0.3.20220726svn.el9.x86_64 8/9
  213. Verifying : mplayer-common-1.5.1-0.3.20220726svn.el9.x86_64 9/9
  214.  
  215. Installed:
  216. aalib-libs-1.4.0-0.42.rc5.el9.x86_64 enca-1.19-1.el9.x86_64 libcaca-0.99-0.60.beta20.el9.x86_64 librtmp-2.4-21.20190330.gitc5f04a5.el9.x86_64
  217. libusb-1:0.1.7-5.el9.x86_64 lirc-libs-0.10.0-36.el9.x86_64 mplayer-1.5.1-0.3.20220726svn.el9.x86_64 mplayer-common-1.5.1-0.3.20220726svn.el9.x86_64
  218. sdl12-compat-1.2.52-1.el9.x86_64
  219.  
  220. Complete!
  221.  
  222.  
Advertisement
Add Comment
Please, Sign In to add comment