Chu*_*ice 5 package-management apt drivers nvidia-prime
我在 XPS 15 9560 上使用 Ubuntu 20.04,安装了该system76-power软件包以随意禁用 GPU,因为 90% 的时间我都不需要它。它完美地工作了几个月,但现在我在它和一个nvidia-prime包(可能来自nvidia-driver-440/focal-updates 450.66-0ubuntu0.20.04.1)之间发生了冲突。
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... 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:
system76-power : Conflicts: nvidia-prime
E: Broken packages
Run Code Online (Sandbox Code Playgroud)
我该如何解决这个冲突?
我应该提到我无法使用 apt 进行升级,因为它阻止了整个过程(我可以升级单个软件包,但我更愿意先解决问题)。
我没有安装内存nvidia-prime,但它可能已由驱动程序实用程序自动安装。
使用 删除 nvidia-prime sudo apt remove nvidia-prime。如果 system76-power 依赖于它(看起来像),请删除两者。如果您已删除两者:升级系统并重新安装 system76-power,否则仅升级。
我总是尽量不使用任何强制标志..