Fed*_*ers 15 nvidia dependencies drivers
当我尝试运行时,我不断收到此错误sudo apt-get install nvidia-current
:
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 to resolve the situation:
The following packages have unmet dependencies:
nvidia-current : Depends: xorg-video-abi-11
Depends: xserver-xorg-core (>= 2:1.10.99.901)
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
我该如何解决?
小智 9
sudo apt-get remove --purge nvidia-* -y
sudo apt autoremove
sudo ubuntu-drivers autoinstall
sudo service lightdm restart
sudo reboot
Run Code Online (Sandbox Code Playgroud)
这对我有用!
解决
E: Unable to correct problems, you have held broken packages.
尝试:
sudo apt-get install --fix-broken xorg-video-abi-11 xserver-xorg-core -y
Run Code Online (Sandbox Code Playgroud)
这个技巧对我有用
另一种选择是:
sudo apt-get remove --purge nvidia-* -y
sudo ubuntu-drivers autoinstall
sudo service lightdm restart
Run Code Online (Sandbox Code Playgroud)
然后重启机器
此问题源自 Xorg/nVidia 错误,其中 nVidia 驱动程序与最新 Xorg 版本中的某些代码不兼容。您可以尝试使用软件源(“其他驱动程序”选项卡)或jockey-text
在终端中安装驱动程序(您可以通过快速 Google 搜索或 来了解如何使用jockey-text --help
它),或者通过在 nVidia 网站http:// www.geforce.com/drivers(使用手动驱动程序搜索)。在问题得到解决之前,使用 apt 安装驱动程序将不起作用。
如果您需要 nVidia 网站上的驱动程序安装说明,请按照此处的指南进行操作: https: //help.ubuntu.com/community/NvidiaManual
小智 0
正如“rajagenupula”用户所指出的。特别感谢“rajagenupula”用户
安装旧版本(12.04.1)的 xserver,您可以使用必要的驱动程序(apt 包nvidia-current
)安装 cuda。
sudo apt-get install xorg-video-abi-11 xserver-xorg-core
归档时间: |
|
查看次数: |
37833 次 |
最近记录: |