Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
I tried installing nvidia driver, and it said i need the kernel sources. whats the apt-get thingy for that. lmao....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    40

    Problem installing nividia driver


    I tried installing nvidia driver, and it said i need the kernel sources. whats the apt-get thingy for that. lmao.

  2. #2
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    use "apt-cache search whatever" until you find the syntax for the headers...then dl the ones that match up with your kernel...make sure you get the sources as well, as they are also required
    Operating System: GNU Emacs

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Posts
    40
    noob here, i have no idea what you are talking about.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    oh, sorry, for some reason I thought we were in the debian forum! Find an rpm package for your kernel headers corresponding to your kernel version, you can check your /boot folder to see which one it is, google around for an rpm of it and install it, for example my kernel is 2.6.13-r3, so I would google for the headers for that...yes its kind of convoluted and your distro should have come with it, but once you get that, and get the nvidia splashscreen for the first time, all will be worth it!
    Operating System: GNU Emacs

  6. #5
    Just Joined!
    Join Date
    Aug 2005
    Posts
    40
    My kernel version is 2.6.8.1-3. do you know where i can download the headers? I couldnt find them, can u get me a link. btw, my system is yoper linux.

  7. #6
    Just Joined!
    Join Date
    Aug 2005
    Posts
    40
    apt-get install kernel-headers
    Reading Package Lists... Done
    Building Dependency Tree... Done
    kernel-headers is already the newest version.
    0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.

    WHAT DO I DO!!!!

  8. #7
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    ok, I googled around a bit and it seems that yoper uses apt-get, open up a root terminal and type "apt-get update" after that try "apt-cache search kernel | more" use your down arrow to scroll down to the package you need and then apt-get install exactpackagenameyousee...
    Operating System: GNU Emacs

  9. #8
    Just Joined!
    Join Date
    Aug 2005
    Posts
    40
    But I already tried that.
    apt-get install kernel-headers
    Reading Package Lists... Done
    Building Dependency Tree... Done
    kernel-headers is already the newest version.
    0 upgraded, 0 newly installed, 0 removed and 0 not upgraded.

  10. #9
    Linux User
    Join Date
    Apr 2005
    Location
    Ohio
    Posts
    326
    The debian kernel recompile HOW-TO outlines this pretty well..

    http://www.debian.org/doc/manuals/re...kernel.en.html

    the relevant lines from the how-to would be.

    apt-get install kernel-source-2.6.8 # install kernel version
    cd /usr/src # change to build directory
    tar --bzip2 -xvf kernel-source-2.6.8.tar.bz2 # extract source to folder untill you extract it your system can't find it..

    and then create the symlink in the /usr/src directory to the correct version of hte kernel source..
    ln -s /usr/src/kernel-2.6.8/ linux



    everyone seems to think when you do an apt-get install kernel-source that it installs and extracts the source files. In reality, all it does is put the compressed source files in the /usr/src directory, you need to manually extract them at that point. I think the reason they do it this way is so you can have kernel source for multiple versions installed at the same time (2.4 and 2.6 for instance) a newer kernel source won't overwrite a previous one automatically, which makes sense.


    using the kernel-compile how-to in conjunction with the debian nVidia How-to should make installing the nVidia drivers pretty easy..

    http://home.comcast.net/~andrex/Debi...tallation.html





    WOW Yoper is stale.. the packages in it are older than debian stable.. I'm impressed..

  11. #10
    Just Joined!
    Join Date
    Aug 2005
    Posts
    40
    Heres what Happened:
    apt-get install kernel-source-2.6.8
    error: cannot get exclusive lock on /var/lib/rpm/Packages
    error: cannot open Packages index using db3 - Operation not permitted (1)
    error: cannot open Packages database in /var/lib/rpm
    E: could not open RPM database

    I think their server is down, is that y that happened?

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •