Linux:如何 headless (headless)安装旧版本的 VLC?

标签 linux installation vlc apt-get headless

我需要从命令行安装旧版本的 VLC(无法使用浏览器下载任何内容)。我知道这听起来很奇怪,但 VLC 的具体版本并不重要,只要它不是最新的即可。

编辑

根据下面的建议,我尝试下载并安装 .deb 文件,但是当我安装后运行“apt-get install -f”时,VLC 会自动更新到最新版本。

我再次尝试并保留 VLC(sudo apt-mark Hold vlc),但这导致“apt-get install”失败:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
vlc : Depends: ttf-freefont
   Depends: vlc-nox (= 1.1.9-1ubuntu1) but it is not installed
   Depends: libavcodec52 (>= 4:0.6-1~) but it is not installable or
            libavcodec-extra-52 (>= 4:0.6-1~) but it is not installable
   Depends: libavutil50 (>= 4:0.6-1~) but it is not installable or
            libavutil-extra-50 (>= 4:0.6-1~) but it is not installable
   Depends: libgl1-mesa-glx but it is not installed or
            libgl1
   Depends: libqtcore4 (>= 4:4.7.0~beta1) but it is not installed
   Depends: libqtgui4 (>= 4:4.5.3) but it is not installed
   Depends: libsdl-image1.2 (>= 1.2.10) but it is not installed
   Depends: libtar
   Depends: libva-x11-1 but it is not installed
   Depends: libva1 but it is not installed
   Depends: libvlccore4 (>= 1.1.0) but it is not installable
   Depends: libx11-xcb1 but it is not installed
   Depends: libxcb-keysyms1 (>= 0.3.6) but it is not installed
   Depends: libxcb-randr0 (>= 1.1) but it is not installed
   Depends: libxcb-xv0 (>= 1.2) but it is not installed
   Recommends: vlc-plugin-notify (= 1.1.9-1ubuntu1) but it is not installed
   Recommends: vlc-plugin-pulse (= 1.1.9-1ubuntu1) but it is not installable
   Recommends: xdg-utils but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

最佳答案

您可以在此处找到 VLC 1.1.9 deb:

32 位 - http://launchpadlibrarian.net/69370596/vlc_1.1.9-1ubuntu1_i386.deb 64 位 - http://launchpadlibrarian.net/69370658/vlc_1.1.9-1ubuntu1_amd64.deb 您应该考虑锁定 vlc 软件包以防止其再次意外更新。

如何阻止特定包的更新?

关于Linux:如何 headless (headless)安装旧版本的 VLC?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46115662/

相关文章:

linux - 计算机理论,大端和小端

linux - 统计替换重复值后的记录数

ubuntu - VLC:保持打开状态更快

libVLC 的 Python 绑定(bind) - 无法更改音频输出设备

c# - WPF 的 ActiveX VLC 插件不会静音

c - 如何从内核模块 (Linux) 中暂停任务?

ruby-on-rails - 使用上帝监控 unicorn - 以非零代码开始退出 = 1

selenium - 无法在 perl6 中安装 Selenium::WebDriver

installation - git flow 安装程序无法在 Mac OS X 10.8.3 上安装 shFlags

windows - windows部署的安装工具