Nik*_*kki 7 package-management dependencies ffmpeg
我最近在尝试在我的 Ubuntu 计算机上安装 ffmpeg 时遇到了一个问题。我正在运行 Ubuntu 11.10 64 位,安装了所有最新更新并且系统运行完美,但是我觉得需要记录我的桌面并阅读了很多文章,ffmpeg 是它最好的记录工具之一(除了提供视频包)所以我试着跑
sudo apt-get install ffmpeg
Run Code Online (Sandbox Code Playgroud)
但是我无法做到这一点,因为包有未满足的依赖项。这是我在尝试安装上面的软件包后收到的全文。
Reading package lists... Done Building dependency tree Reading
state information... Done Some packages could not be installed. This
may mean that you have requested an impossible situation or if you are
using the unstable distribution that some required packages have not
yet been created or been moved out of Incoming. The following
information may help to resolve the situation:
The following packages have unmet dependencies: ffmpeg : Depends:
libavcodec53 (< 4:0.7.3-99) but it is not going to be installed or
libavcodec-extra-53 (< 4:0.7.3.99) but 4:0.8.0.1~ppa2 is to be installed
Depends: libavdevice53 (>= 4:0.7.3-0ubuntu0.11.10.1) but it is not going to be installed or
libavdevice-extra-53 (>= 4:0.7.3) but it is not going to be installed
Depends: libavdevice53 (< 4:0.7.3-99) but it is not going to be installed or
libavdevice-extra-53 (< 4:0.7.3.99) but it is not going to be installed
Depends: libavfilter2 (>= 4:0.7.3-0ubuntu0.11.10.1) but it is not going to be installed or
libavfilter-extra-2 (>= 4:0.7.3) but it is not going to be installed
Depends: libavfilter2 (< 4:0.7.3-99) but it is not going to be installed or
libavfilter-extra-2 (< 4:0.7.3.99) but it is not going to be installed
Depends: libavformat53 (< 4:0.7.3-99) but 4:0.8-1u1~ppa2 is to be installed or
libavformat-extra-53 (< 4:0.7.3.99) but it is not going to be installed
Depends: libavutil51 (< 4:0.7.3-99) but it is not going to be installed or
libavutil-extra-51 (< 4:0.7.3.99) but 4:0.8.0.1~ppa2 is to be installed
Depends: libpostproc52 (< 4:0.7.3-99) but 4:0.8-1u1~ppa2 is to be installed or
libpostproc-extra-52 (< 4:0.7.3.99) but it is not going to be installed
Depends: libswscale2 (< 4:0.7.3-99) but 4:0.8-1u1~ppa2 is to be installed or
libswscale-extra-2 (< 4:0.7.3.99) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
这个问题在我以前的笔记本电脑上不存在,它与我的新笔记本电脑运行相同的 Ubuntu 11.10 64 位。任何人都可以帮我找到一个没有“弄乱和制动”整个系统的解决方案吗?感谢您提前提供帮助。
我想你已经使用过这个ppa,可能是为了安装vlc,它安装了libavcodec-extra-53 4:0.8.0.1~ppa2 - https://launchpad.net/~n-muench/+archive/vlc
(通常当您看到“但是要安装 blah-blah”之类的错误时,这意味着“blah-blah”已经安装
如果 ppa 仍然启用(可疑),则运行sudo apt-get update
如果当前未启用,则重新启用或添加回来,然后运行上面的命令,您将能够安装ffmpeg或libav-tools提供avconv
avconv将是运行“ffmpeg”的首选方式,因为 Debian/Ubuntu 中迟早将不再提供 ffmpeg 二进制文件
如果您决定使用反向移植的 ffmpeg 共享库不是您想要的,那么在启用 ppa 后ppa-purge按照建议运行。(ppa 并未证明所有依赖于共享 ffmpeg 库的软件包,因此某些应用程序或插件可能存在问题
| 归档时间: |
|
| 查看次数: |
12978 次 |
| 最近记录: |