重新安装 fglrx 软件包后,我遇到了这条消息。重新安装 fglrx 的原因是解决了 nvidia 驱动程序的问题(我尝试了一些答案来解决系统启动时黑屏或登录时冻结)。当我使用apt-get
命令(删除、安装等)时会出现以下消息。那么我该如何解决这个问题呢?
Setting up fglrx (2:13.350.1-0ubuntu2) ...
update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-alternatives: error: error creating symbolic link `/usr/lib/x86_64-linux-gnu/xorg/extra-modules.dpkg-tmp': No such file or directory
dpkg: error processing package fglrx (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of fglrx-amdcccle:
fglrx-amdcccle depends on fglrx; however:
Package fglrx is not configured yet.
dpkg: error processing package fglrx-amdcccle (--configure):
dependency problems - leaving unconfigured
Setting up nvidia-prime (0.6.2) ...No apport report written because the error message indicates its a followup error from a previous failure.
nvidia-prime start/running, process 3001
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
fglrx
fglrx-amdcccle
E: Sub-process /usr/bin/dpkg returned an error code (1)
由于不需要 ATI 驱动程序,我只是通过清除 fglrx* 包来解决这个问题(如果我没有混淆的话)。我有 Nvidia GPU,所以我运行了这个:
$ sudo apt-get purge fglrx*
就这样。感谢您的回答。