我想从mediubuntu安装ffmpeg。我按照以下说明安装了存储库:
http://medibuntu.org/repository.php
我的conf.d .d存储库清单如下:
/etc/apt/sources.list.d# less medibuntu.list
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ lucid free non-free #Medibuntu - Ubuntu 10.04 "lucid lynx"
#deb-src http://packages.medibuntu.org/ lucid free non-free #Medibuntu (source) - Ubuntu 10.04 "lucid lynx"然而,当我安装ffmpeg时,我仍然通过主要的ubuntu库安装它。
/etc/apt/sources.list.d# apt-cache policy ffmpeg
ffmpeg:
Installed: (none)
Candidate: 4:0.5.1-1ubuntu1
Version table:
4:0.5.1-1ubuntu1 0
500 http://archive.ubuntu.com/ubuntu/ lucid/main Packages(忽略已安装的: none;我已经安装/清除了多次,试图获得medibuntu )
有办法强制它使用medibuntu存储库吗?最好是在运行时而不是在配置文件中。
发布于 2011-03-15 17:11:09
正如Zoredache所提到的,它不是从任何地方显示出来的,而是main;它需要在运行之前就在那里。这就是说,您需要了解如何使用钉扎来设置给定包的来源。
编辑/etc/apt/preferences,并添加如下所示的块:
Package: ffmpeg
Pin: origin packages.medibuntu.org
Pin-Priority: 600https://serverfault.com/questions/247708
复制相似问题