Eu trabalho com o Linux Mint Debian Edition 2 'Betsy.' Minha placa de vídeo é a GeForce GT 640M, uma placa de vídeo otimizada. Eu segui o tutorial wiki . Ao correr
sudo aptitude -r instala linux-headers - $ (uname -r | sed 's, [^ -] - [^ -] - ,') nvidia-kernel-dkms
o instalador encontra erros ao processar os seguintes pacotes. Nenhum outro pacote gera erros.
glx-diversions
glx-alternative-mesa
glx-alternative-nvidia
nvidia-alternative
libgl1-nvidia-glx:amd64
libgl1-nvidia-glx:i386
libegl1-nvidia:amd64
nvidia-settings
nvidia-vdpau-driver:amd64
nvidia-driver
nvidia-kernel-dkms
libnvidia-ml1:amd64
libgl1-nvidia-glx-i386
xserver-xorg-video-nvidia
nvidia-driver-bin
libgles2-nvidia:amd64
nvidia-kernel-common
libgles1-nvidia:amd64
Seguem duas amostras de código de erro.
(1)
dpkg: error processing package nvidia-kernel-common (--configure):
dependency problems - leaving unconfigured
(2)
dpkg: problemas de dependência impedem a configuração de libgles1-nvidia: amd64:
libgles1-nvidia:amd64 depends on nvidia-alternative; however:
Package nvidia-alternative is not configured yet.
Todos os pacotes invocam erros como (1) ou como (2).
Como posso resolver este problema? Devo instalar o bumblebee ?
Como posso usar o comando nvidia-settings com um otimus VGA, quando não posso usar nvidia-xconfig com o otimus?
EDIT: Obrigado, kostix, eu tentei. Aqui está a saída.
george@pc ~ $ sudo dpkg --configure --pending
Setting up glx-diversions (0.5.1) ...
Leaving 'diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so
by glx-diversions'
Leaving 'diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-
diverted/i386-linux-gnu/libGL.so by glx-diversions'
Leaving 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/mesa-
diverted/x86_64-linux-gnu/libGL.so by glx-diversions'
Leaving 'diversion of /usr/lib/arm-linux-gnueabihf/libGL.so to /usr/lib
/mesa-diverted/arm-linux-gnueabihf/libGL.so by glx-diversions'
Leaving 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted
/libGL.so.1 by glx-diversions'
Adding 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-
diverted/i386-linux-gnu/libGL.so.1 by glx-diversions'
dpkg-divert: error: rename involves overwriting '/usr/lib/mesa-diverted
/i386-linux-gnu/libGL.so.1' with
different file '/usr/lib/i386-linux-gnu/libGL.so.1', not allowed
dpkg: error processing package glx-diversions (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of glx-alternative-mesa:
glx-alternative-mesa depends on glx-diversions (= 0.5.1); however:
Package glx-diversions is not configured yet.
dpkg: error processing package glx-alternative-mesa (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of glx-alternative-nvidia:
glx-alternative-nvidia depends on glx-diversions (= 0.5.1); however:
Package glx-diversions is not configured yet.
glx-alternative-nvidia depends on glx-alternative-mesa; however:
Package glx-alternative-mesa is not configured yet.
E assim por diante para o resto dos pacotes ...
Errors were encountered while processing:
glx-diversions
glx-alternative-mesa
glx-alternative-nvidia
nvidia-alternative
libgl1-nvidia-glx:amd64
libgl1-nvidia-glx:i386
libegl1-nvidia:amd64
nvidia-settings
nvidia-vdpau-driver:amd64
nvidia-driver
nvidia-kernel-dkms
libnvidia-ml1:amd64
libgl1-nvidia-glx-i386
xserver-xorg-video-nvidia
nvidia-driver-bin
libgles2-nvidia:amd64
nvidia-kernel-common
libgles1-nvidia:amd64'