我只想把 vlc 放到我的电脑上。这真是太麻烦了。我不得不更新和升级才能运行软件中心,但是当我尝试安装 vlc 时,我得到了以下信息。当我尝试安装任何东西时,我实际上得到了包依赖性错误消息……这是我的情况,这是一台全新的电脑,开箱即用,ubuntu 一点也不用户友好,当我向人们寻求帮助时,他们想通过使用计算机极客语言来显示他们有多聪明。如果系统能得到人们更好的帮助,那么也许我们就不会都希望它像 windows 一样简单。请帮助我,请使用新手 ubuntu 用户可以理解的语言。提前谢谢大家。
The following packages have unmet dependencies:
vlc : Depends: vlc-nox (= 2.0.8+git20130825+r612-0~r43~precise1) but it is not going to be installed
Depends: libavcodec53 (>= 4:0.8-1~) but it is not going to be installed or
libavcodec-extra-53 (>= 4:0.8-1~) but it is not going to be installed
Depends: libva-x11-1 (> 1.0.15~) but it is not installable
Depends: libva1 (> 1.0.15~) but it is not installable
Recommends: vlc-plugin-notify (= 2.0.8+git20130825+r612-0~r43~precise1) but it is not going to be installed
Recommends: vlc-plugin-pulse (= 2.0.8+git20130825+r612-0~r43~precise1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
然后;我尝试使用 ubuntu 自带的电影播放器,它说必须搜索编解码器或其他东西,它搜索到播放电影所需的东西,我点击了安装按钮,但出现了这个错误;
gstreamer0.10-ffmpeg: Depends: libavcodec-extra-53 (>= 4:0.7.3-1) but 4:0.8.6ubuntu0.12.04.1 is to be installed
Depends: libavformat-extra-53 (>= 4:0.7.3-1) but 4:0.8.6ubuntu0.12.04.1 is to be installed
Depends: libavutil-extra-51 (>= 4:0.7.3-1) but 4:0.8.6ubuntu0.12.04.1 is to be installed
Depends: libc6 (>= 2.7) but 2.15-0ubuntu10.4 is to be installed
Depends: libglib2.0-0 (>= 2.31.2) but 2.32.3-0ubuntu1 is to be installed
Depends: libgstreamer-plugins-base0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu0.1 is to be installed
Depends: libgstreamer0.10-0 (>= 0.10.31) but 0.10.36-1ubuntu1 is to be installed
Depends: liborc-0.4-0 (>= 1:0.4.16) but 1:0.4.16-1ubuntu2 is to be installed
Depends: libpostproc-extra-52 (>= 4:0.7.3-1) but 4:0.8.6ubuntu0.12.04.1 is to be installed
Depends: libswscale-extra-2 (>= 4:0.7.3-1) but 4:0.8.6ubuntu0.12.04.1 is to be installed
我用电脑做两件事,看电影和在自由办公室写作。我写了很多东西,这很好,但只是因为我不能看任何东西。请再次帮助我,谢谢。丹尼
更新:
尝试安装 Synaptic,得到以下信息:
dennis@dennis-X201EP:~$ sudo apt-get install synaptic
[sudo] password for dennis:
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 resolve the situation:
The following packages have unmet dependencies:
synaptic : Depends: libept1.4.12 but it is not installable
Recommends: rarian-compat but it is not installable
E: Unable to correct problems, you have held broken packages.
尝试再次安装 VLC 并得到以下结果:
dennis@dennis-X201EP:~$ sudo apt-get install vlc
[sudo] password for dennis:
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 resolve the situation:
The following packages have unmet dependencies:
vlc : Depends: vlc-nox (= 2.0.8+git20130825+r612-0~r43~precise1) but it is not going to be installed
Depends: libavcodec53 (>= 4:0.8-1~) but it is not going to be installed or
libavcodec-extra-53 (>= 4:0.8-1~) but it is not going to be installed
Depends: libva-x11-1 (> 1.0.15~) but it is not installable
Depends: libva1 (> 1.0.15~) but it is not installable
Recommends: vlc-plugin-notify (= 2.0.8+git20130825+r612-0~r43~precise1) but it is not going to be installed
Recommends: vlc-plugin-pulse (= 2.0.8+git20130825+r612-0~r43~precise1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
不过还是感谢您的帮助(以及卡斯特罗先生的编辑)。
答案1
似乎更新/升级你的系统安装了与以下版本不兼容的软件包:甚高频液晶
您可以通过完全删除来解决此问题甚高频液晶:
在终端中执行以下命令:
$ sudo apt-get --purge remove vlc* $ sudo apt-get autoremove vlc*
修复损坏的软件包:
$ sudo apt-get autoremove $ sudo apt-get --purge remove $ sudo apt-get autoclean $ sudo apt-get clean $ sudo apt-get -f install
安装甚高频液晶再次:
$ sudo apt-get update $ sudo apt-get install vlc
Synaptic 包管理器是解决此类问题的绝佳工具。您可以通过在此处搜索强制安装此类文件:
如果你尚未安装,请首先安装 synaptic 包管理器:
$ sudo apt-get install synaptic
然后打开 synaptic 包管理器 -> 点击自定义过滤器左下 -> 点击破碎的左上角,它将列出所有损坏的软件包,尝试所有损坏的软件包。此外,如果在更多选项中有任何残留软件包,您将获得剩余包。
强制安装:
搜索缺失的包-> 突出显示它(不要标记为勾选)->包裹菜单 ->原力版-> 从中选择列表-> Force Version->申请
希望对你有帮助。
答案2
我认为您的问题是未更新的软件包列表和存储库。
首先转到ubuntu 软件中心并转到编辑->软件源
一定要有主宇宙、限制宇宙、宇宙和多元宇宙已检查存储库。
然后就像 kumar 所说的那样,使用sudo apt-get update
并确保更新了软件包列表。然后安装你想要的任何东西sudo apt-get install <anything>