LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-18-2005, 06:07 PM   #1
Wolvenmoon
Member
 
Registered: Aug 2005
Distribution: Debian x86_64
Posts: 47

Rep: Reputation: 15
Need help with a user guide on Nvidia drivers


http://wiki.tuxemu.com/index.php/Deb...allation_Guide

After the apt-get install kernel-source-2.x.x and kernelheaders-2.x.x I get lost, nothing works. What does he mean by apt-get install nvidia-kernel-source nvidia-kernel-common, and nvidia-glx?


I'm running the x86_64 version of debian, when I attempt to use the
Code:
cd /boot
cp config-2.x.x-1-386 /usr/src/kernel-source-2.x.x
cd /usr/src/kernel-source-2.x.x
mv config-2.x.x-1-386 .config
make oldconfig
make-kpkg modules_image
commands I get bad output.

A copy of my terminal output is attached below.






Quote:
Linux kitsunedebian 2.6.8-11-amd64-generic #1 Wed Jun 1 00:42:47 CEST 2005 x86_6 4 GNU/Linux
kitsunedebian:/usr/src# apt-get install kernel-source-2.6.8-11
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kernel-source-2.6.8-11
kitsunedebian:/usr/src# apt-get install kernel-source-2.6.8
Reading Package Lists... Done
Building Dependency Tree... Done
kernel-source-2.6.8 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
kitsunedebian:/usr/src# apt-get install kernel-source-2.6.8
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
kernel-source-2.6.8
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 0B/34.9MB of archives.
After unpacking 35.1MB of additional disk space will be used.
Selecting previously deselected package kernel-source-2.6.8.
(Reading database ... 117588 files and directories currently installed.)
Unpacking kernel-source-2.6.8 (from .../kernel-source-2.6.8_2.6.8-16_all.deb) .. .
Setting up kernel-source-2.6.8 (2.6.8-16) ...

kitsunedebian:/usr/src# apt-get kernel-headers-2.6.8
E: Invalid operation kernel-headers-2.6.8
kitsunedebian:/usr/src# apt-get kernel-headers-2.6.8
E: Invalid operation kernel-headers-2.6.8
kitsunedebian:/usr/src# apt-get kernel-headers
E: Invalid operation kernel-headers
kitsunedebian:/usr/src# apt-get install kernel-headers-2.6.8
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kernel-headers-2.6.8
kitsunedebian:/usr/src# apt-get install kernel-headers-2.6.8-11
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
kernel-headers-2.6.8-11
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 0B/2720kB of archives.
After unpacking 22.2MB of additional disk space will be used.
Selecting previously deselected package kernel-headers-2.6.8-11.
(Reading database ... 117603 files and directories currently installed.)
Unpacking kernel-headers-2.6.8-11 (from .../kernel-headers-2.6.8-11_2.6.8-14_amd 64.deb) ...
Setting up kernel-headers-2.6.8-11 (2.6.8-14) ...

kitsunedebian:/usr/src# apt-get install nvidia-kernel-source
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package nvidia-kernel-source
kitsunedebian:/usr/src# apt-get install nvidia-2.6.8-source
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package nvidia-2.6.8-source
kitsunedebian:/usr/src# apt-get install nvidia-glx
Reading Package Lists... Done
Building Dependency Tree... Done
Package nvidia-glx is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package nvidia-glx has no installation candidate
kitsunedebian:/usr/src# ls
kernel-headers-2.6.8-11 kernel-source-2.6.8.tar.bz2
kitsunedebian:/usr/src# tar -jxf kernel-source-2.6.8.tar.bz2
aptkitsunedebian:/usr/src# lt
bash: lt: command not found
kitsunedebian:/usr/src# ls
kernel-headers-2.6.8-11 kernel-source-2.6.8 kernel-source-2.6.8.tar.bz2
kitsunedebian:/usr/src# apt-get install module-assistant
Reading Package Lists... Done
Building Dependency Tree... Done
module-assistant is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
kitsunedebian:/usr/src# module-assistant auto-install nvidia
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package nvidia-kernel-source

Updated infos about 1 packages
kitsunedebian:/usr/src# cd /boot
kitsunedebian:/boot# cp config-2.6.8-1-386 /usr/src/kernel-source-2.6.8
cp: cannot stat `config-2.6.8-1-386': No such file or directory
kitsunedebian:/boot# cp config-2.6.8-1-x86_64 /usr/src/kernel-source-2.6.8
cp: cannot stat `config-2.6.8-1-x86_64': No such file or directory
kitsunedebian:/boot# cp config 2.6.8-1-386
cp: cannot stat `config': No such file or directory
kitsunedebian:/boot# cp /usr/src/kernel-source-2.6.8 2.6.8-1-386
cp: omitting directory `/usr/src/kernel-source-2.6.8'
kitsunedebian:/boot# mv config-2.6.8-1-386 .config
mv: cannot stat `config-2.6.8-1-386': No such file or directory
kitsunedebian:/boot#
 
Old 08-18-2005, 07:51 PM   #2
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Nvidia packages are in the non-free section. Did you enable this in your /etc/apt/sources.list file?

e.g. deb ftp://ftp.debian.nl/debian/ sarge main non-free contrib
 
Old 08-18-2005, 08:01 PM   #3
Wolvenmoon
Member
 
Registered: Aug 2005
Distribution: Debian x86_64
Posts: 47

Original Poster
Rep: Reputation: 15
Code:
deb file:///cdrom/ sarge main  

deb ftp://debian.csail.mit.edu/debian-amd64/debian/ stable main 
deb-src ftp://debian.csail.mit.edu/debian-amd64/debian/ stable main 

deb ftp://mirror.espri.arizona.edu/debian-amd64/debian/ stable main 
deb-src ftp://mirror.espri.arizona.edu/debian-amd64/debian/ stable main 

deb http://security.debian.org/ stable/updates main 

deb http://wine.sourceforge.net/apt/ binary/ 
deb file:///cdrom/ sarge main  

deb ftp://debian.csail.mit.edu/debian-amd64/debian/ stable main 
deb-src ftp://debian.csail.mit.edu/debian-amd64/debian/ stable main 

deb ftp://mirror.espri.arizona.edu/debian-amd64/debian/ stable main 
deb-src ftp://mirror.espri.arizona.edu/debian-amd64/debian/ stable main 

deb http://security.debian.org/ stable/updates main 

deb http://wine.sourceforge.net/apt/ binary/ 

deb-src http://wine.sourceforge.net/apt/ source/
That's my sources.list file, are there any lines I should add? (When I tried adding that line, it gave me an error message.)
 
Old 08-18-2005, 09:15 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Should look more like this --

Code:
deb http://debian.csail.mit.edu/debian-amd64/debian/ testing main contrib non-free
deb-src http://debian.csail.mit.edu/debian-amd64/debian/ testing main contrib non-free
You can stick with stable main, just add contrib and non-free after it.

I tried to install nvidia-kernel-source with non-free and contrib, but it wasn't found. It might still be available in stable, but I had the impression someone on the debian team decided to throw out the nvidia-kernel-source. You don't need it to install though. As long as you have the kernel-headers for your current kernel, simply running the .run package from NVidia will install the drivers nad modules you need for it. They have forums at nvidia for help with linux installation if you need it. It can get tricky on a x86_64 box, but on a 32 bit system, it is over and done in very very little time.

Actually, I see from your sig that you have an x86_64 machine. I posted the solution for how to install the drivers for this build on the NVidia website - here is the link--
http://www.nvnews.net/vbulletin/showthread.php?t=55108


Peace,
JimBass

Last edited by JimBass; 08-18-2005 at 09:23 PM.
 
Old 08-18-2005, 09:27 PM   #5
Moloko
Member
 
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30
Nvidia packages were out for a short while, but Sarge released with them.
 
  


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
New Linux user, pulling hair out with Nvidia drivers ellandry SUSE / openSUSE 10 02-26-2005 07:49 AM
Welcome to My Own Installation Nvidia Guide McLaren2 Fedora 9 11-19-2004 05:52 PM
Is there an MPlayer User Guide?? dauphinfay Linux - Software 5 03-14-2004 10:00 PM
complete Idiot's guide to Nvidia drivers Fingel LinuxQuestions.org Member Success Stories 16 10-17-2003 08:23 AM
Linux user guide futurist General 2 03-28-2002 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration