为什么 VLC 依赖于 Visual Studio Code?

为什么 VLC 依赖于 Visual Studio Code?

我正在尝试在 Centos 7 上安装 VLC。

但是当我通过安装时这些指令它认为 Visual Studio Code Insiders 是一个依赖项并想要安装它。

我确实使用 Visual Studio Code,但我不想安装内部版本。

$ sudo yum install vlc
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.coreix.net
 * centos-sclo-rh: mirrors.coreix.net
 * epel: lon.mirror.rackspace.com
 * extras: mirrors.coreix.net
 * rpmfusion-free-updates: www.mirrorservice.org
 * updates: mirror.sov.uk.goscomb.net
Resolving Dependencies
--> Running transaction check
---> Package vlc.x86_64 1:3.0.13-1.el7 will be installed
--> Processing Dependency: vlc-core(x86-64) = 1:3.0.13-1.el7 for package: 1:vlc-3.0.13-1.el7.x86_64
--> Processing Dependency: libvlccore.so.9()(64bit) for package: 1:vlc-3.0.13-1.el7.x86_64
--> Running transaction check
---> Package vlc-core.x86_64 1:3.0.13-1.el7 will be installed
--> Processing Dependency: libplacebo.so.4()(64bit) for package: 1:vlc-core-3.0.13-1.el7.x86_64
--> Running transaction check
---> Package libplacebo.x86_64 0:0.4.0-2.el7 will be installed
--> Processing Dependency: libvulkan.so.1()(64bit) for package: libplacebo-0.4.0-2.el7.x86_64
--> Running transaction check
---> Package code-insiders.x86_64 0:1.57.0-1620278899.el8 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================================================
 Package                                          Arch                                      Version                                                  Repository                                                 Size
=====================================================================================================================================================================================================================
Installing:
 vlc                                              x86_64                                    1:3.0.13-1.el7                                           rpmfusion-free-updates                                    1.5 M
Installing for dependencies:
 code-insiders                                    x86_64                                    1.57.0-1620278899.el8                                    code                                                      101 M
 libplacebo                                       x86_64                                    0.4.0-2.el7                                              epel                                                      119 k
 vlc-core                                         x86_64                                    1:3.0.13-1.el7                                           rpmfusion-free-updates                                     10 M

Transaction Summary
=====================================================================================================================================================================================================================
Install  1 Package (+3 Dependent packages)

Total download size: 113 M
Installed size: 328 M
Is this ok [y/d/N]: 

答案1

不确定您是否仍在寻找此问题的答案,但由于我遇到了同样的问题,所以我能够弄清楚发生了什么。

yum deplist vlc-core告诉我们 vlc-core 依赖于:

dependency: libplacebo.so.4()(64bit)
 provider: libplacebo.x86_64 0.4.0-2.el7

如果我们再检查一下yum deplist libplacebo,我们可以看到:

dependency: libvulkan.so.1()(64bit)
 provider: vulkan.x86_64 1.1.73.0-1.el7
 provider: code-insiders.x86_64 1.59.0-1627536783.el8
 provider: code-exploration.x86_64 1.58.0-1624978216.el8
 provider: code.x86_64 1.58.2-1626302881.el8

因此 VSCode 提供了libvulkanVLC 所需的。libvulkan通过安装yum install vulkan可将此库单独提供给 VSCode。

相关内容