Ubuntu小技巧12——mplayer/mplayer2 libvdpau1 unmet dependencies
来源:互联网 发布:太空工程师 编程 编辑:程序博客网 时间:2024/05/02 04:50
Ubuntu小技巧12——mplayer/mplayer2 libvdpau1 unmet dependencies
最近使用Ubuntu Software Center安装了一个SMplayer,本以为安装好了,结果缺少一个libvdpau1插件,导致SMplayer不能播放MP4,而且apt-get无法使用了,Software Center中的repair也无法修复好且无法安装软件,很是郁闷,各种逛贴吧问度娘,使用各种安装libvdpau库都不管用,使用apt-get install -f修复却提示:Subject: [Bug 1609631] Re: package libvdpau1 (not installed) failed to install/upgrade: trying to
overwrite shared '/etc/vdpau_wrapper.cfg', which is different from other instances of package libvdpau1:amd64
Google了若干论坛才发现一个不出名的帖子,老外给了一些有用的源,更新后顺利安装了amd64位的libvdpau1库,解决了相关问题。具体步骤如下:
gedit /etc/apt/source.list 再其末尾添加如下源
deb http://packages.linuxmint.com betsy main upstream import
deb http://ftp.us.debian.org/debian jessie main contrib non-free
deb http://ftp.us.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
deb http://www.deb-multimedia.org jessie ma
deb http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
保存后更新源,并安装libvdpau1库,如下:
apt update && apt install libvdpau1:amd64 (注此处apt是apt-get的别名),因此等价于apt-get update && apt-get install libvdpau1:amd64此时发现可以正常使用apt-get了,不出意外就可以正常安装成功了;若出现broken提示,则使用apt-get install -f修复一下就OK了,至此libvdpau1安装成功,apt-get又恢复正常了,Ubuntu Software Center可以正常使用了。
出现缺依赖文件的原因是安装软件之前系统的源不是最新的,导致缺失,大部分可以通过Ubuntu Software Center的repair修复好,也可以通过apt-get install -f来修复依赖文件,但是存在一些顽固的插件不更新源时候就无法修复,还会影响系统其它功能,因此平时安装软件之前最好先更新源,使安装的东西为最新资源,这样可以减少一些麻烦!
至此这个问题也解决了,再此感谢提供资源的歪果仁,其帖子网址如下:
https://forums.linuxmint.com/viewtopic.php?t=197646
注:本人系统为Ubuntu 1404 64位,电脑为dell 燃7000(含AMD独立显卡)
不知不觉快五点了,内容有点乱,核心内容就这么多了,但愿对部分人有用!
0 0
- Ubuntu小技巧12——mplayer/mplayer2 libvdpau1 unmet dependencies
- Ubuntu apt-get install错误:unmet dependencies
- Ubuntu 安装源配置:Unable to locate package & unmet dependencies
- Ubuntu下面包依赖损坏的解决unmet dependencies
- Ubuntu 包依赖损坏:The following packages have unmet dependencies
- Ubuntu编译Mplayer2
- ubuntu 12.04 安装 boost 失败,have unmet dependencies,held broken packages 问题
- The following packages have unmet dependencies:
- How do I resolve unmet dependencies?
- The following packages have unmet dependencies
- the following packages have unmet dependencies
- ubuntu安装fcitx失败Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)
- ubuntu 安装openssh-server和openssh-client时呈现错误:The following packages have unmet dependencies: openssh
- 关于ubuntu 更换成国内源之后,apt-get 出现The following packages have unmet dependencies:的解决方法
- ubuntu小技巧7——ubuntu如何安装flashplayer
- ROS安装时packages have unmet dependencies问题
- 问题之~The following packages have unmet dependencies: openssh
- ubuntu_install问题:The following packages have unmet dependencies:
- stringbuffer拼出SQL语句,避免加号带来的引号冲突
- Unity3D教程:实现基于Socket通讯的公共聊天室
- 老翁的梦中情人—哥德布拉特(博文重发)
- UTF-8与unicode的故事(转自某位我没找到的大牛)
- oracle 忘记密码怎么办
- Ubuntu小技巧12——mplayer/mplayer2 libvdpau1 unmet dependencies
- alias python=python3
- Android数据存储方式—SQLite
- Leetcode 152. Maximum Product Subarray
- Python轻松入门-11 continue语句
- 欢迎使用CSDN-markdown编辑器
- Strobogrammatic Number -- Leetcode 246
- Android初级问题总结
- Java 每天学习一点点之运算符