First thing first:
$ vim /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
$ sudo apt-get update
$ sudo apt-get install module-assistant
$ sudo m-a prepare
$ sudo m-a update
$ sudo m-a a-i nvidia
By now something should have gone wrong (*), so now fix it by using the nvidia driver from unstable:
$ sudo apt-get install -t unstable nvidia-kernel-source
Don't forget to remove old stuff
$ sudo apt-get remove nvidia-glx
Yeah for some reason driver for kernel 2.6.26-2-686 was pulled while uname returned: 2.6.30-bpo.1-686
So again clean it up:
$ sudo apt-get remove nvidia-kernel-2.6.26-2-686
Remove any old compilation binaries:
$ sudo m-a clean nvidia
Same player:
$ sudo m-a a-i nvidia
You should be all set now !
Now you can install
$ sudo apt-get install -t unstable nvidia-glx-dev
Cheers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment