apt-get kernel-source is installing the wrong kernel source.
I'm just moving over to the ubuntu world and would like to get my NVidia card going. Going through the ye olde Nvidia process which requires the kernel source.
apt-get install kernel-source is bringing down the source for 2.4.27 instead of the 2.6.10 kernel which is installed.
apt-get kernel-source-2.6.10 yields the error "Couldn't find package kernel-source 2.6.10"
I have updated my /etc/apt-get/sources.list to include universe repos already.
Is there another repository I need to aim at? Am I using the wrong name? Someone please point me to the source of my troubles.
u cna search from the list of packages by
apt-cache search kernel-source
and then install that package
also after u chage ur sources.list, u need to run this
In other words, the cache only lists 2.4.27 source. I have run apt-get update. But since the source isn't in the cache, I can't install it. I did find a package called nvidia-kernel-source which I haven't seen before...
what link do u have active in sources.list??
Is there a reason you are having to compile your own kernel headers for the Nvidia card? Ubuntu have made this really easy by including precompiled headers in the universe repository:
sudo apt-get install nvidia-glx
sudo apt-get install nvidia-settings
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo nvidia-glx-config enable
sudo gedit /usr/share/applications/NVIDIA-Settings.desktop
Insert the following lines into the new file
Read ubuntuguide.org in it's entirety for more info.
Search for 2.6 kernel related packages with:
apt-cache search linux-source
here's what you get:
linux-patch-ubuntu-2.6.10 - Ubuntu patches to Linux 2.6.10
linux-source-2.6.10 - Linux kernel source for version 2.6.10 with Ubuntu patches
linux-patch-ubuntu-2.6.11 - Ubuntu patches to Linux 2.6.11
linux-source-2.6.11 - Linux kernel source for version 2.6.11 with Ubuntu patches
However, as a previouse poster pointed out, you don't have to re-compile just to get nvidia working ...
ltmon, you are a genius. Or at least literate. :o I'm afraid I should have read that...although I did some reading/searching, I totally didn't see that bit. I really appreciate the pointer and the paraphrasing. I haven't tested the 3D capabilities yet but the NVidia splash screen appears so all should be well.
mlmurray, I appreciate the information. I was searching on kernel-source (as per the error message) rather than linux-source as per your post. I will know better next time. Thanks.
But a well written howto.
I am having a similar problem to earlier mentions about the kernel source. I have also recently come over to Ubuntu and am trying to get the latest versiion of the IPW2200 drivers working. It won't let me compile and I am asuming it is because I don't have the kernel source loaded?? If I search for the appropriate source code with apt-get it only returns a 2.4 kernel and no 2.6 kernel sources??
root@LG1:/home/mike/downloads/ipw2200-1.0.4 # apt-cache search kernel-source
avm-fritz-kernel-source - AVM Fritz! binary kernel module source
fglrx-kernel-source - ATI binary kernel module source
cpad-kernel-source - Source for the Synaptics cPad driver
freeswan - IPSEC utilities for FreeSWan
kernel-patch-2.4-lids - LIDS Kernel Patch
kernel-patch-debian-2.4.27 - Debian patches to Linux 2.4.27
kernel-source-2.4.27 - Linux kernel source for version 2.4.27 with Debian patches
kernel-tree-2.4.27 - Linux kernel source tree for building Debian kernel images
lidstools-2.4 - LIDS Admintool
nvidia-kernel-source - NVIDIA binary kernel module source
oprofile - system-wide profiler for Linux systems
wacom-kernel-source - Source for the wacom binary modules
wacom-tools - Utilities for wacom tablets and other hid devices
Do I need to load another repository?????
oziemike please see mlmurray's post.
|All times are GMT -5. The time now is 03:02 PM.|