Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-16-2008, 05:17 PM   #1
LQ Newbie
Registered: Nov 2003
Location: Bremen, DE
Distribution: Debian Etch/Lenny
Posts: 27

Rep: Reputation: 15
[help]Could not install nvidia driver : ./nvidia-installer: No such file or directory

HI, I just installed Debian etch in my box, and now I am facing the problem of installing the nvidia driver. My graphic card is nvidia GeForce 8400 GS, and my currently using kernel is:
Linux debian 2.6.24-1-amd64 #1 SMP Thu Mar 27 19:16:18 UTC 2008 x86_64 GNU/Linux
I installed the kernel from the repository. I have downloaded the following drivers:
Every time when I try "sh ./" I will get imformation like " line 779: ./nvidia-installer: No such file or directory"

Meanwhile I have tried to install the nvidia driver from the repository, but with no success. It reports that "nvidia-kernel-169.12 could not be installed" I checked on debian's website, and it says the package is not available.

I have stable, sid and lenny in my sources.list file, and I got really confused and dont know what to do. Any suggestion would be appreciated.

--------- my sources.list file -------------------
### Debian Stable Repositorys
deb etch main contrib non-free
# deb-src etch main

### Debian Stable Security Repositorys
deb etch/updates main contrib non-free
# deb-src etch/updates main contrib

### Debian Testing Repositorys
deb lenny main contrib non-free
#deb lenny main contrib non-free
#deb-src lenny main contrib non-free

### Debian Testing Security Repositorys
#deb lenny/updates main contrib non-free
#deb-src lenny/updates main contrib non-free

### Debian Unstable Repositorys
deb sid main contrib non-free
#deb sid main non-free

### Debian Unstable Security Repositorys
deb lenny/updates main contrib non-free
# deb-src lenny/updates main contrib non-free
Old 04-16-2008, 05:27 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Well, it's generally difficult to maintain a system with mixed repositories. You should stick with one branch of Debian until you're more experienced. Pick either Etch (stable), Lenny (testing), or Sid (unstable). It'll be much easier. As a newbie, I'd probably pick either Etch or Lenny.

Now having said that, I would use debian's module-assistant to install the nvidia drivers. Here's a link. Use method 1 - module assistant.
Old 04-16-2008, 07:20 PM   #3
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 906

Rep: Reputation: 86
This is what works for me.

Install the driver in home:
apt-get install linux-headers-(uname -r)
apt-get install nvidia-glx
apt-get install build-essential
apt-get install module-assistant (some of this stuff may be unnecessary but it's how I do it.(me nubi 2))

from root terminal:

/etc/init.d/kdm stop <--if you use KDM -- or gdm if you use GDM
login as root
init 3>cd /home/username>sh
shutdown -r now

Last edited by slackass; 04-16-2008 at 10:32 PM.
Old 04-16-2008, 08:36 PM   #4
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,497

Rep: Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636Reputation: 636
Do you have the kernel headers installed?

The .run file is a text file. You can open it and look what is on line 779. Most likely it will use a variable ($1, S2...) to point to that directory. If you can find out what the value of that variable is, you might see what goes wrong.

Alternatively, if you run the NVIDIA with "sh -x" you see an awful lot of tracing. Might be awkward with the installer interface. Or gives you just enough information to find out what is wrong.

Old 04-18-2008, 05:30 AM   #5
LQ Newbie
Registered: Nov 2003
Location: Bremen, DE
Distribution: Debian Etch/Lenny
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks you all. Yesterday I followed the DebianWiki and installed 2.6.18-6-amd64 kernels, and the nvidia driver installation went through well. Although after rebooting I could not start the X-server, I am still very happy I will work on it today, and hopefully the problem could be solved.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia-installer and beta driver fakie_flip Linux - Software 0 11-23-2007 03:58 PM
Nvidia Problem: can't install nvidia driver for FC6 Chuong Linux - Software 7 10-30-2006 04:43 AM
NVidia Driver Installer errors DoddyUK Linux - Software 1 06-03-2005 01:46 PM
nvidia installer fails to create nvidia module rooman Linux - Software 3 10-04-2004 03:39 AM
rpms source directory-needed for nvidia installer so noob Mandriva 4 06-13-2004 06:21 AM

All times are GMT -5. The time now is 10:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration