Quando eu tento adicionar ou remover qualquer pacote, recebo uma mensagem de erro do apt-get:
The following packages have unmet dependencies:
ubuntu-desktop : Depends: nvidia-common but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Tentando o apt-get -f install:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
nvidia-common
The following NEW packages will be installed:
nvidia-common
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0 B/19.0 kB of archives.
After this operation, 155 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 430130 files and directories currently installed.)
Unpacking nvidia-common (from .../nvidia-common_1%3a0.2.44.2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/nvidia-common_1%3a0.2.44.2_amd64.deb (--unpack):
trying to overwrite '/usr/lib/nvidia/pre-install', which is also in package nvidia-installer-cleanup 20131102+1~bpo70+1
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-common_1%3a0.2.44.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Exit 100
Aparentemente, dois pacotes, nvidia-common e nvidia-installer-cleanup, compartilham o mesmo arquivo, pré-instalação, que impede que o nvidia-common seja instalado, o que impede que qualquer outra coisa seja instalada. A verdade é que eu uso um driver Radeon proprietário e nem preciso da NVidia.
P.S.
A saída do dpkg -l | grep glx:
ii glx-alternative-fglrx 0.4.1~bpo70+1 allows the selection of FGLRX as GLX provider
ii glx-alternative-mesa 0.4.1~bpo70+1 allows the selection of MESA as GLX provider
ii glx-diversions 0.4.1~bpo70+1 prepare for using accelerated GLX implementations from GPU vendors
ii libgl1-mesa-glx 8.0.4-0ubuntu0.7 free implementation of the OpenGL API -- GLX runtime
ii libgl1-mesa-glx:i386 8.0.4-0ubuntu0.7 free implementation of the OpenGL API -- GLX runtime
rc libglitz-glx1 0.5.6-1build1 Glitz OpenGL library GLX backend
ii libswt-glx-gtk-3-jni 3.7.2-2 Standard Widget Toolkit for GTK+ GLX JNI library
ii libxcb-glx0 1.8.1-1ubuntu0.2 X C Binding, glx extension
ii libxcb-glx0:i386 1.8.1-1ubuntu0.2 X C Binding, glx extension
A saída do apt-cache rdepends nvidia-common:
nvidia-common
Reverse Depends:
jockey-common
nvidia-common:i386
ubuntu-desktop
jockey-common
nvidia-common:i386
xubuntu-desktop
ubuntustudio-desktop
nvclock-qt
nvclock-gtk
nvclock
mythbuntu-common
lubuntu-core
ubuntu-desktop
kubuntu-desktop
jockey-common
A saída da política do apt-cache nvidia-common nvidia-installer-cleanup:
nvidia-common:
Installed: (none)
Candidate: 1:0.2.44.2
Version table:
1:0.2.44.2 0
500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
1:0.2.44 0
500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
nvidia-installer-cleanup:
Installed: 20131102+1~bpo70+1
Candidate: 20131102+1~bpo70+1
Version table:
*** 20131102+1~bpo70+1 0
100 http://http.debian.net/debian/ wheezy-backports/contrib amd64 Packages
100 /var/lib/dpkg/status