总结
如何让 vlc 与 nvidia-375 和 Xenial (16.04) 一起工作?
语境
2017 年 4 月 10 日,apt 通过 x-org-edgers PPA 将我的 nvidia 驱动程序从 nvidia-367 更新至 nvidia-375。
不久之后,vlc 停止工作。
我卸载并尝试重新安装 vlc,但出现以下情况:
vlc : Depends: libgles1-mesa (>= 7.8.1) but it is not going to be installed or
libgles1
E: Unable to correct problems, you have held broken packages.
问题
- 我如何让 VLC 再次工作?
- 我应该如何设置我的 ppa,以便一旦 nvidia/display 它就不会更新它?(即从 /etc/apt/sources.list.d 中删除 ppa 文件)
几点
- 我可能不应该有“x-org edgers” PPA,但我从之前的笔记本电脑上移走了我的设置,那里的一些显示功能不起作用
我不做任何花哨的图形处理(游戏等):只是驱动 4K 显示器,并希望挂起/恢复正常工作
我尝试恢复到 nvidia-367,但似乎无法解决问题。(我也不确定它是否安装正确)。
谢谢
更新 #1
我为 xorg-edgers 运行了 ppa purge 并安装了 nvidia-current 驱动程序:
$ sudo ppa-purge ppa:xorg-edgers/ppa
$ sudo apt-get install nvidia-current
$ sudo apt-get autoremove
更新 #2
这是 libgles1-mesa 的策略以及安装 nvidia-current 的输出
$ sudo apt-cache policy libgles1-mesa libgles1-mesa:
Installed: (none)
Candidate: 12.0.6-0ubuntu0.16.04.1
Version table:
12.0.6-0ubuntu0.16.04.1 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
11.2.0-1ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64
套餐
$ sudo apt-get install nvidia-current
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-current is already the newest version (304.135-0ubuntu0.16.04.1).
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
更新 #3:“apt-get install vlc”的输出
$sudo apt-get install vlc
Reading package lists...
Building dependency tree...
Reading state information...
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:
vlc : Depends: libgles1-mesa (>= 7.8.1) but it is not going to be installed or
libgles1
E: Unable to correct problems, you have held broken packages.