You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Nvidia软件包依赖频繁损坏的原因及预防方法咨询

Nvidia软件包依赖频繁损坏的原因及预防方法咨询

普遍遇到的问题

我每隔大概两个月就会碰到之前安装的Nvidia软件包依赖出问题的情况。每次尝试升级系统或者安装一些和Nvidia无关的新软件时,突然就会出现冲突,导致操作无法继续。这种时候apt会提示我运行apt --fix-broken install,有时候这招管用,但有时候单独用它解决不了问题。到目前为止,我都是通过对特定冲突的软件包执行dpkg --remove --force-depends,再运行apt --fix-broken install来解决问题,但我很想知道为什么这种情况会反复发生,有没有办法能从根源上避免?

具体案例

最近一次遇到的情况是这样的:

❯ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following pack...

备注:内容来源于stack exchange,提问作者imdoor

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.17 10:38:07