LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Debian/Ubuntu Hoary - Nvidia drivers? (https://www.linuxquestions.org/questions/linux-newbie-8/debian-ubuntu-hoary-nvidia-drivers-295273/)

Snipersnest 02-26-2005 06:40 PM

Debian/Ubuntu Hoary - Nvidia drivers?
 
ok so I tried apt-get install nvidia* ....it downloaded 6 things. The drivers still didn't work, so I edited my X config and put nvidia rather than nv. I saw the splash screen coming into X but X locked up and I have to cancel it with CTRL ALT BKSP ..

I went to try and install the nvidia drivers manually, but it can't locate my kernel headers. Neither can I!

uname -r shows 2.6.10-3-i386.

I was having a lot of Sound problems on Fedora Core 3 and the Ubuntu live CD had my sound working perfectly without problems. Thats why I choice Ubuntu.

Does somebody have a good Debian/Ubuntu tutorial? The Ubuntu Wikki is outdated...the commands don't work correctly on Hoary.

Thanks in advance!

AMD Athlon 2600+ barton
1GB PC2700
40GB HD

gortek 02-26-2005 06:56 PM

I am having the same problem. I'm running the 2.4.27-2-k7 kernel. If anybody has any ideas, I'm sure we would both appreciate the assistance.

- Gortek

heema 02-27-2005 02:21 AM

check out ubuntuguide

http://www.ubuntuguide.org/

Snipersnest 02-27-2005 08:02 AM

Ok so I followed those a little...had to change the rules around on the apt-get because the packages have dependants. No biggie. I had to enable apt-get universe to get the kernel headers, but I ran into a big problem.

root@ubuntu:/home/nate # sudo apt-get nvidia*
E: Invalid operation nvidia*
root@ubuntu:/home/nate # sudo apt-get install nvidia*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting nvidia-kernel for regex ‘nvidia*’
Note, selecting nvidia-kernel-common for regex ‘nvidia*’
Note, selecting nvidia-kernel-1.0.6629 for regex ‘nvidia*’
Note, selecting linux-restricted-modules-2.6.10-3-386 instead of nvidia-kernel-1 .0.6629
Note, selecting nvidia-kernel-source for regex ‘nvidia*’
Note, selecting nvidia-glx for regex ‘nvidia*’
The following extra packages will be installed:
linux-restricted-modules-2.6.10-3-386 nvidia-kernel-common
Suggested packages:
nvidia-glx avm-fritz-firmware-2.6.10-3
Recommended packages:
nvidia-kernel-source nvidia-kernel
The following NEW packages will be installed:
linux-restricted-modules-2.6.10-3-386 nvidia-kernel-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/4721kB of archives.
After unpacking 12.7MB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
nvidia-kernel-common linux-restricted-modules-2.6.10-3-386
Install these packages without verification? [y/N] y
W: Couldn't stat source package list http://us.archive.ubuntu.com hoary/universe Packages (/var/lib/apt/lists/us.archive .ubuntu.com_ubuntu_dists_hoary_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com hoary-security/universe Packages (/var/lib/apt/lists/sec urity.ubuntu.com_ubuntu_dists_hoary-security_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://us.archive.ubuntu.com hoary/universe Packages (/var/lib/apt/lists/us.archive .ubuntu.com_ubuntu_dists_hoary_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com hoary-security/universe Packages (/var/lib/apt/lists/sec urity.ubuntu.com_ubuntu_dists_hoary-security_universe_binary-i386_Packages) - stat (2 No such file or directory)

Preconfiguring packages ...
Selecting previously deselected package nvidia-kernel-common.
(Reading database ... 57990 files and directories currently installed.)
Unpacking nvidia-kernel-common (from .../nvidia-kernel-common_1.0.6629+1_all.deb) ...
Selecting previously deselected package linux-restricted-modules-2.6.10-3-386.
Unpacking linux-restricted-modules-2.6.10-3-386 (from .../linux-restricted-modules-2.6.10-3-386_2.6.10.3-4_i386.deb) ...
Setting up nvidia-kernel-common (1.0.6629+1) ...

Setting up linux-restricted-modules-2.6.10-3-386 (2.6.10.3-4) ...

W: Couldn't stat source package list http://us.archive.ubuntu.com hoary/universe Packages (/var/lib/apt/lists/us.archive .ubuntu.com_ubuntu_dists_hoary_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://security.ubuntu.com hoary-security/universe Packages (/var/lib/apt/lists/sec urity.ubuntu.com_ubuntu_dists_hoary-security_universe_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems

If I run apt-get again.......I get this:

root@ubuntu:/home/nate # apt-get install -f nvidia*
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting nvidia-kernel for regex ‘nvidia*’
Note, selecting nvidia-glx-dev for regex ‘nvidia*’
Note, selecting nvidia-kernel-common for regex ‘nvidia*’
Note, selecting nvidia-kernel-1.0.6629 for regex ‘nvidia*’
Note, selecting linux-restricted-modules-2.6.10-3-386 instead of nvidia-kernel-1.0.6629
Note, selecting nvidia-kernel-source for regex ‘nvidia*’
Note, selecting nvidia-kernel-src for regex ‘nvidia*’
Note, selecting nvidia-glx for regex ‘nvidia*’
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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
nvidia-kernel-source: Depends: dpatch (>= 2.0.0) but it is not installable
E: Broken packages

zeroz52 02-27-2005 10:32 AM

You may want to check out the "Linux Tutorial" page on this site. There is one in there for installing the Nvidia drivers. Make sure you have the kernal source downloaded and installed. Then Try again. I'm having similar problems and am going to try that.


All times are GMT -5. The time now is 06:39 PM.