¿Cómo instalo un paquete de una fuente diferente y dejo que actualice también todas las dependencias?

¿Cómo instalo un paquete de una fuente diferente y dejo que actualice también todas las dependencias?

Estoy intentando instalar nvidia-driverdesde Debian experimental:

$ sudo apt-get install nvidia-driver=352.63-1

Pero recibo un error de dependencia:

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-driver : Depends: libgl1-nvidia-glx (= 352.63-1) but 340.96-2 is to be installed
                 Depends: libegl1-nvidia (= 352.63-1) but 340.96-2 is to be installed
                 Depends: nvidia-driver-bin (= 352.63-1) but 340.96-2 is to be installed
                 Depends: xserver-xorg-video-nvidia (= 352.63-1) but 340.96-2 is to be installed
                 Depends: nvidia-vdpau-driver (= 352.63-1) but 340.96-2 is to be installed
                 Depends: nvidia-alternative (= 352.63-1)
                 Depends: nvidia-kernel-dkms (= 352.63-1) or
                          nvidia-kernel-352.63
                 Recommends: nvidia-settings (>= 352) but 340.93-1 is to be installed
                 Recommends: libgles1-nvidia (= 352.63-1) but 340.96-2 is to be installed
                 Recommends: libgles2-nvidia (= 352.63-1) but 340.96-2 is to be installed
E: Unable to correct problems, you have held broken packages.

Entonces, aparentemente, nvidia-driverexperimental tiene dependencias que apt intenta instalar desde mi fuente predeterminada en lugar de la misma fuente que el paquete que estoy intentando instalar.

¿Hay alguna forma de hacer que apt-get instale todas las dependencias necesarias automáticamente? Si me pregunta qué cambios se van a realizar primero, para saber que no estoy alterando un paquete extremadamente importante, sería fantástico.

Respuesta1

Vi esto cuando dupliqué la línea en fuentes.lista:

deb http://httpredir.debian.org/debian/ jessie contribución deb principal http://httpredir.debian.org/debian/ non-free

Todo está bien ya que reemplazo estas dos líneas por una.

deb http://httpredir.debian.org/debian/ jessie contribución principal no gratuita

información relacionada