LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 04-16-2008, 05:17 PM   #1
anchunlei
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:
NVIDIA-Linux-x86_64-169.12-pkg2.run
&
NVIDIA-Linux-x86_64-173.08-pkg2.run
Every time when I try "sh ./NVIDIA-Linux-x86_64-169.12-pkg2.run" I will get imformation like "NVIDIA-Linux-x86_64-169.12-pkg2.run: 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 http://ftp.uni-kl.de/debian/ etch main contrib non-free
# deb-src http://ftp.uni-kl.de/debian/ etch main

### Debian Stable Security Repositorys
deb http://security.debian.org/ etch/updates main contrib non-free
# deb-src http://security.debian.org/ etch/updates main contrib

### Debian Testing Repositorys
deb http://ftp.uni-kl.de/debian/ lenny main contrib non-free
#deb http://ftp.de.debian.org/debian lenny main contrib non-free
#deb-src http://ftp.uni-kl.de/debian lenny main contrib non-free

### Debian Testing Security Repositorys
#deb http://security.debian.org/ lenny/updates main contrib non-free
#deb-src http://security.debian.org/ lenny/updates main contrib non-free

### Debian Unstable Repositorys
deb http://ftp.uni-kl.de/debian/ sid main contrib non-free
#deb http://ftp.de.debian.org/debian sid main non-free

### Debian Unstable Security Repositorys
deb http://security.debian.org/ lenny/updates main contrib non-free
# deb-src http://security.debian.org/ lenny/updates main contrib non-free
 
Old 04-16-2008, 05:27 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
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
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 883

Rep: Reputation: 78
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 NVIDIA-Linux-x86-169.12-pkg1.run
shutdown -r now

Last edited by slackass; 04-16-2008 at 10:32 PM.
 
Old 04-16-2008, 08:36 PM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,052

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
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.

jlinkels
 
Old 04-18-2008, 05:30 AM   #5
anchunlei
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.

anchunlei
 
  


Reply


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 11:30 AM.

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