How to get the source & headers of 2.6.20.1-1-686 installed
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
$ apt-cache search linux-headers
linux-headers-2.6-486 - Header files for Linux 2.6 on x86
linux-headers-2.6-686 - Header files for Linux 2.6 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6-686-bigmem - Header files for Linux 2.6 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6-amd64 - Header files for Linux 2.6 on AMD64
linux-headers-2.6-k7 - Header files for Linux 2.6 on AMD K7
linux-headers-2.6-vserver-686 - Header files for Linux 2.6 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6-vserver-k7 - Header files for Linux 2.6 on AMD K7
linux-headers-2.6-xen-686 - Header files for Linux 2.6 on i686
linux-headers-2.6-xen-vserver-686 - Header files for Linux 2.6 on i686
linux-headers-2.6.18-4 - Common header files for Linux 2.6.18
linux-headers-2.6.18-4-486 - Header files for Linux 2.6.18 on x86
linux-headers-2.6.18-4-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-686-bigmem - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-all - All header files for Linux 2.6.18
linux-headers-2.6.18-4-all-i386 - All header files for Linux 2.6.18
linux-headers-2.6.18-4-amd64 - Header files for Linux 2.6.18 on AMD64
linux-headers-2.6.18-4-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-4-vserver - Common header files for Linux 2.6.18
linux-headers-2.6.18-4-vserver-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-vserver-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-4-xen - Common header files for Linux 2.6.18
linux-headers-2.6.18-4-xen-686 - Header files for Linux 2.6.18 on i686
linux-headers-2.6.18-4-xen-vserver - Common header files for Linux 2.6.18
linux-headers-2.6.18-4-xen-vserver-686 - Header files for Linux 2.6.18 on i686
So, is it possible to have my video nvidia card with etch installed ?
It looks like linux-headers-2.6-686 might be the best option. If you do a "dpkg -l linux-image*" you should see which kernel package you have installed and you should get the corresponding linux-header package. You might also see if there's a corresponding linux-tree (which has the full source code IIRC).
It looks like linux-headers-2.6-686 might be the best option. If you do a "dpkg -l linux-image*" you should see which kernel package you have installed and you should get the corresponding linux-header package. You might also see if there's a corresponding linux-tree (which has the full source code IIRC).
the problem is with my bios, I neeed at least a 20.1 min:
ii linux-image-2.6.20.1-1-686 2.6.20-0mtu2 Linux kernel binary image for version 2.6.20.1-1-686
Where did you get the kernel from? The headers and source should be available from the same place.
yeah...
did you download the source from kernel.org and compile that kernel yourself? 2.6.20 isn't in etch is it?
if you build your kernel like so:
$fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
you'll get a package for your kernel, and a corresponding package for your headers. install them both (dpkg -i) and make a link /usr/src/linux to /usr/src/linux-headers-kernel-version
Problem is I don't think this guy compiled the kernel or he wouldn't be asking for the source code. At first I was thinking it may have been backports.org at first, but all backports have bpo in the debian version string. I had a quick look around for a version 2.6.20-0mtu2 but no luck. So it looks as though it was locally compiled or it is hidden away on the web somewhere. frenchn00b did you set this machine up yourself?
I don't know if the problem still exists, but I also once installed that kernel from unstable repositories. I now use the 2.6.21-1 and 2.6.21-2 on my three computers. I was not able to get headers when I tried way back when I was on the 2.6.20, apt would tell me packages were not available yet. But someone here gave me a link to add to my apt sources.list that gave me access to the necessary k-build package I could not get, which in turn got me the headers. I kept that line in my sources.list since then which may be the reason I can use higher versions of Debian kernels, which work great by the way and I don't get "insufficient kernel fuse" error when installing ntfs-3g.
Add the line below to your sources list, when you un-comment your unstable entries to get higher version kernels, you can also get the "linux-headers-2.6.20-1-i686" package you need which should also install "linux-headers-2.6.20-1" and corresponding k-build package.
Code:
deb http://kernel-archive.buildserver.net/debian-kernel/ trunk main
EDIT: Also, depending on what you need them for, you may also need gcc, which means you'll end up installing "linux-kernel-headers-2.6.18-7", not sure what's the scoop with the 2.6.18 thing but I have no problems compiling modules, the kernel headers package is a gcc dependency.
Last edited by Junior Hacker; 07-08-2007 at 01:21 AM.
did you download the source from kernel.org and compile that kernel yourself? 2.6.20 isn't in etch is it?
if you build your kernel like so:
$fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
you'll get a package for your kernel, and a corresponding package for your headers. install them both (dpkg -i) and make a link /usr/src/linux to /usr/src/linux-headers-kernel-version
linux-headers-2.6.22-rc7-486 - Header files for Linux 2.6.22-rc7 on x86
linux-headers-2.6.22-rc7-686 - Header files for Linux 2.6.22-rc7 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.22-rc7-686-bigmem - Header files for Linux 2.6.22-rc7 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.22-rc7-amd64 - Header files for Linux 2.6.22-rc7 on AMD64
linux-headers-2.6.22-rc7-k7 - Header files for Linux 2.6.22-rc7 on AMD K7
linux-image-2.6.22-rc7-486 - Linux 2.6.22-rc7 image on x86
linux-image-2.6.22-rc7-686 - Linux 2.6.22-rc7 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.22-rc7-686-bigmem - Linux 2.6.22-rc7 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.22-rc7-amd64 - Linux 2.6.22-rc7 image on AMD64
linux-image-2.6.22-rc7-k7 - Linux 2.6.22-rc7 image on AMD K7
linux-tree-2.6.22 - Linux kernel source tree for building Debian kernel images
linux-image-2.6.20.1-1-686 - Linux kernel binary image for version 2.6.20.1-1-686
I looked on the site, then found out that :
Code:
deb http://kernel-archive.buildserver.net/debian-kernel/ etch-security main
deb http://kernel-archive.buildserver.net/debian-kernel/ etch main
deb http://kernel-archive.buildserver.net/debian-kernel/ sid main
deb http://kernel-archive.buildserver.net/debian-kernel/ trunk main
gave the following list:
Code:
alsa-base - ALSA driver configuration files
linux-image-2.6-486 - Linux kernel 2.6 image on x86
linux-image-2.6-686 - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6-686-bigmem - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6-686-smp - Linux 2.6 image on PPro/Celeron/PII/PIII/P4 SMP - transition package
linux-image-2.6-amd64 - Linux kernel 2.6 image on AMD64
linux-image-2.6-k7 - Linux kernel 2.6 image on AMD K7
linux-image-2.6-k7-smp - Linux 2.6 image on AMD K7 SMP - transition package
linux-image-2.6-vserver-686 - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6-vserver-k7 - Linux kernel 2.6 image on AMD K7
linux-image-2.6-xen-686 - Linux kernel 2.6 image on i686
linux-image-2.6-xen-vserver-686 - Linux kernel 2.6 image on i686
linux-image-486 - Linux kernel image on x86
linux-image-686 - Linux kernel image on PPro/Celeron/PII/PIII/P4
linux-image-686-bigmem - Linux kernel image on PPro/Celeron/PII/PIII/P4
linux-image-amd64 - Linux kernel image on AMD64
linux-image-k7 - Linux kernel image on AMD K7
linux-image-vserver-686 - Linux kernel image on PPro/Celeron/PII/PIII/P4
linux-image-vserver-k7 - Linux kernel image on AMD K7
linux-image-xen-686 - Linux kernel image on i686
linux-image-xen-vserver-686 - Linux kernel image on i686
linux-headers-2.6.18-4-486 - Header files for Linux 2.6.18 on x86
linux-headers-2.6.18-4-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-686-bigmem - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-amd64 - Header files for Linux 2.6.18 on AMD64
linux-headers-2.6.18-4-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-4-vserver-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-vserver-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-4-xen-686 - Header files for Linux 2.6.18 on i686
linux-headers-2.6.18-4-xen-vserver-686 - Header files for Linux 2.6.18 on i686
linux-image-2.6.18-4-486 - Linux 2.6.18 image on x86
linux-image-2.6.18-4-686 - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-4-686-bigmem - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-4-amd64 - Linux 2.6.18 image on AMD64
linux-image-2.6.18-4-k7 - Linux 2.6.18 image on AMD K7
linux-image-2.6.18-4-vserver-686 - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-4-vserver-k7 - Linux 2.6.18 image on AMD K7
linux-image-2.6.18-4-xen-686 - Linux 2.6.18 image on i686
linux-image-2.6.18-4-xen-vserver-686 - Linux 2.6.18 image on i686
linux-headers-2.6.18-5-486 - Header files for Linux 2.6.18 on x86
linux-headers-2.6.18-5-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-5-686-bigmem - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-5-amd64 - Header files for Linux 2.6.18 on AMD64
linux-headers-2.6.18-5-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-5-vserver-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-5-vserver-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-5-xen-686 - Header files for Linux 2.6.18 on i686
linux-headers-2.6.18-5-xen-vserver-686 - Header files for Linux 2.6.18 on i686
linux-image-2.6.18-5-486 - Linux 2.6.18 image on x86
linux-image-2.6.18-5-686 - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-5-686-bigmem - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-5-amd64 - Linux 2.6.18 image on AMD64
linux-image-2.6.18-5-k7 - Linux 2.6.18 image on AMD K7
linux-image-2.6.18-5-vserver-686 - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-5-vserver-k7 - Linux 2.6.18 image on AMD K7
linux-image-2.6.18-5-xen-686 - Linux 2.6.18 image on i686
linux-image-2.6.18-5-xen-vserver-686 - Linux 2.6.18 image on i686
linux-tree-2.6.18 - Linux kernel source tree for building Debian kernel images
linux-headers-2.6.21-2-486 - Header files for Linux 2.6.21 on x86
linux-headers-2.6.21-2-686 - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-2-686-bigmem - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-2-amd64 - Header files for Linux 2.6.21 on AMD64
linux-headers-2.6.21-2-k7 - Header files for Linux 2.6.21 on AMD K7
linux-headers-2.6.21-2-vserver-686 - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-2-vserver-k7 - Header files for Linux 2.6.21 on AMD K7
linux-image-2.6.21-2-486 - Linux 2.6.21 image on x86
linux-image-2.6.21-2-686 - Linux 2.6.21 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.21-2-686-bigmem - Linux 2.6.21 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.21-2-amd64 - Linux 2.6.21 image on AMD64
linux-image-2.6.21-2-k7 - Linux 2.6.21 image on AMD K7
linux-image-2.6.21-2-vserver-686 - Linux 2.6.21 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.21-2-vserver-k7 - Linux 2.6.21 image on AMD K7
linux-tree-2.6.21 - Linux kernel source tree for building Debian kernel images
linux-headers-2.6.22-rc7-486 - Header files for Linux 2.6.22-rc7 on x86
linux-headers-2.6.22-rc7-686 - Header files for Linux 2.6.22-rc7 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.22-rc7-686-bigmem - Header files for Linux 2.6.22-rc7 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.22-rc7-amd64 - Header files for Linux 2.6.22-rc7 on AMD64
linux-headers-2.6.22-rc7-k7 - Header files for Linux 2.6.22-rc7 on AMD K7
linux-image-2.6.22-rc7-486 - Linux 2.6.22-rc7 image on x86
linux-image-2.6.22-rc7-686 - Linux 2.6.22-rc7 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.22-rc7-686-bigmem - Linux 2.6.22-rc7 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.22-rc7-amd64 - Linux 2.6.22-rc7 image on AMD64
linux-image-2.6.22-rc7-k7 - Linux 2.6.22-rc7 image on AMD K7
linux-tree-2.6.22 - Linux kernel source tree for building Debian kernel images
linux-image-2.6.20.1-1-686 - Linux kernel binary image for version 2.6.20.1-1-686
alsa-base - ALSA driver configuration files
linux-image-2.6-486 - Linux kernel 2.6 image on x86
linux-image-2.6-686 - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6-686-bigmem - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6-686-smp - Linux 2.6 image on PPro/Celeron/PII/PIII/P4 SMP - transition package
linux-image-2.6-amd64 - Linux kernel 2.6 image on AMD64
linux-image-2.6-k7 - Linux kernel 2.6 image on AMD K7
linux-image-2.6-k7-smp - Linux 2.6 image on AMD K7 SMP - transition package
linux-image-2.6-vserver-686 - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6-vserver-k7 - Linux kernel 2.6 image on AMD K7
linux-image-2.6-xen-686 - Linux kernel 2.6 image on i686
linux-image-2.6-xen-vserver-686 - Linux kernel 2.6 image on i686
linux-image-486 - Linux kernel image on x86
linux-image-686 - Linux kernel image on PPro/Celeron/PII/PIII/P4
linux-image-686-bigmem - Linux kernel image on PPro/Celeron/PII/PIII/P4
linux-image-amd64 - Linux kernel image on AMD64
linux-image-k7 - Linux kernel image on AMD K7
linux-image-vserver-686 - Linux kernel image on PPro/Celeron/PII/PIII/P4
linux-image-vserver-k7 - Linux kernel image on AMD K7
linux-image-xen-686 - Linux kernel image on i686
linux-image-xen-vserver-686 - Linux kernel image on i686
linux-headers-2.6.18-4-486 - Header files for Linux 2.6.18 on x86
linux-headers-2.6.18-4-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-686-bigmem - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-amd64 - Header files for Linux 2.6.18 on AMD64
linux-headers-2.6.18-4-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-4-vserver-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-vserver-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-4-xen-686 - Header files for Linux 2.6.18 on i686
linux-headers-2.6.18-4-xen-vserver-686 - Header files for Linux 2.6.18 on i686
linux-image-2.6.18-4-486 - Linux 2.6.18 image on x86
linux-image-2.6.18-4-686 - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-4-686-bigmem - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-4-amd64 - Linux 2.6.18 image on AMD64
linux-image-2.6.18-4-k7 - Linux 2.6.18 image on AMD K7
linux-image-2.6.18-4-vserver-686 - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-4-vserver-k7 - Linux 2.6.18 image on AMD K7
linux-image-2.6.18-4-xen-686 - Linux 2.6.18 image on i686
linux-image-2.6.18-4-xen-vserver-686 - Linux 2.6.18 image on i686
linux-headers-2.6.18-5-486 - Header files for Linux 2.6.18 on x86
linux-headers-2.6.18-5-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-5-686-bigmem - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-5-amd64 - Header files for Linux 2.6.18 on AMD64
linux-headers-2.6.18-5-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-5-vserver-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-5-vserver-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-5-xen-686 - Header files for Linux 2.6.18 on i686
linux-headers-2.6.18-5-xen-vserver-686 - Header files for Linux 2.6.18 on i686
linux-image-2.6.18-5-486 - Linux 2.6.18 image on x86
linux-image-2.6.18-5-686 - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-5-686-bigmem - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-5-amd64 - Linux 2.6.18 image on AMD64
linux-image-2.6.18-5-k7 - Linux 2.6.18 image on AMD K7
linux-image-2.6.18-5-vserver-686 - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-5-vserver-k7 - Linux 2.6.18 image on AMD K7
linux-image-2.6.18-5-xen-686 - Linux 2.6.18 image on i686
linux-image-2.6.18-5-xen-vserver-686 - Linux 2.6.18 image on i686
linux-tree-2.6.18 - Linux kernel source tree for building Debian kernel images
linux-headers-2.6.21-2-486 - Header files for Linux 2.6.21 on x86
linux-headers-2.6.21-2-686 - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-2-686-bigmem - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-2-amd64 - Header files for Linux 2.6.21 on AMD64
linux-headers-2.6.21-2-k7 - Header files for Linux 2.6.21 on AMD K7
linux-headers-2.6.21-2-vserver-686 - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-2-vserver-k7 - Header files for Linux 2.6.21 on AMD K7
linux-image-2.6.21-2-486 - Linux 2.6.21 image on x86
linux-image-2.6.21-2-686 - Linux 2.6.21 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.21-2-686-bigmem - Linux 2.6.21 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.21-2-amd64 - Linux 2.6.21 image on AMD64
linux-image-2.6.21-2-k7 - Linux 2.6.21 image on AMD K7
linux-image-2.6.21-2-vserver-686 - Linux 2.6.21 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.21-2-vserver-k7 - Linux 2.6.21 image on AMD K7
linux-tree-2.6.21 - Linux kernel source tree for building Debian kernel images
linux-headers-2.6.22-rc7-486 - Header files for Linux 2.6.22-rc7 on x86
linux-headers-2.6.22-rc7-686 - Header files for Linux 2.6.22-rc7 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.22-rc7-686-bigmem - Header files for Linux 2.6.22-rc7 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.22-rc7-amd64 - Header files for Linux 2.6.22-rc7 on AMD64
linux-headers-2.6.22-rc7-k7 - Header files for Linux 2.6.22-rc7 on AMD K7
linux-image-2.6.22-rc7-486 - Linux 2.6.22-rc7 image on x86
linux-image-2.6.22-rc7-686 - Linux 2.6.22-rc7 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.22-rc7-686-bigmem - Linux 2.6.22-rc7 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.22-rc7-amd64 - Linux 2.6.22-rc7 image on AMD64
linux-image-2.6.22-rc7-k7 - Linux 2.6.22-rc7 image on AMD K7
linux-tree-2.6.22 - Linux kernel source tree for building Debian kernel images
linux-image-2.6.20.1-1-686 - Linux kernel binary image for version 2.6.20.1-1-686
my uname is at present:
Code:
Linux 2.6.20.1-1-686 #1 SMP Sun Mar 4 12:44:55 UTC 2007 i686 GNU/Linux
Let's hence try the
Code:
2.6.21-1 and 2.6.21-2
linux-headers-2.6.22-rc7-686 should be maybe to brand new and maybe unstable(?). I am wondering, this extension to the sources.list is rather cool. You can easily be always up to date with your kernel. It might be a very valuable to a sources.list (, right ?).
Now, the situation is that Error msg:
I am stuck there for the moment
Code:
apt-get install linux-image-2.6.21-2-686 linux-headers-2.6.21-2-686 -f
Reading package lists... Done
Building dependency tree... Done
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.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
linux-headers-2.6.21-2-686: Depends: linux-kbuild-2.6.21 but it is not installable
E: Broken packages
apt-get install linux-headers-2.6.22-rc7-686
Reading package lists... Done
Building dependency tree... Done
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.
linux-headers-2.6.22-rc7-686: Depends: linux-kbuild-2.6.22 but it is not going to be installed
E: Broken packages
I googled hard, and found that these adds-on to the sources.list un/commented could maybe install a higher kernel
Code:
# testing
##deb http://ftp.de.debian.org/debian/ testing main contrib non-free
##deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free
# unstable
##deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
##deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free
deb http://kernel-archive.buildserver.net/debian-kernel/ etch-security main
deb http://kernel-archive.buildserver.net/debian-kernel etch main
deb http://kernel-archive.buildserver.net/debian-kernel sid main
deb http://kernel-archive.buildserver.net/debian-kernel trunk main
#deb http://crypto.riken.go.jp/pub/linux/debian/debian/ etch main
#deb http://crypto.riken.go.jp/pub/linux/debian/debian/ stable main
deb ftp://download.xs4all.nl/pub/mirror/debian/ stable main
deb-src ftp://download.xs4all.nl/pub/mirror/debian/ stable main
deb http://security.debian.org/ stable/updates main
I prefer to wait advices, before I break the machine !! (enough of 10000x re-installing)
Last edited by frenchn00b; 07-08-2007 at 03:26 AM.
whenever I want to install those kernels, I un-comment the unstable lines and do "apt-get update". Then in synaptic I pick the kernel image, headers which match my architecture (amd64). For the 2.6.21-2, this will install:
linux-headers-2.6.21-2
linux-headers-2.6.21-2-amd64
linux-image-2.6.21-2-amd64
linux-kbuild-2.6.21
You would want the i686, not amd64 packages. If you get missing gcc errors during module compilation means you need to install "linux-kernel-headers" which will install gcc and other dependencies. As I mentioned in the prior post, I got the "some required packages have not yet been created or been moved out of Incoming." error without the unstable and kernel archiver lines un-commented in the sources.list. The 2.6.22 kernels are listed as "experimental", but allot of people use them without issues, I prefer not to use the "experimental" which is why I stick with 2.6.21.
So, un-comment your "unstable" entries to avoid the errors.
Then, if your happy after booting up with the newer kernel, you can remove the older kernel packages which is what I always do via synaptic which gives me a good view of what is installed and what I need to remove, not screw things up with a bad command.
Last edited by Junior Hacker; 07-08-2007 at 04:15 AM.
Also, when you un-comment those unstable lines, your list of upgradeable packages will be a mile long, it's best you don't upgrade or else you won't be running testing no more, you'll be running sid. After installing the kernel packages, re-comment those unstable lines and re-do "apt-get update" to put you back to testing.
Where is kernel-headers package?
kernel-headers and kernel-image packages are renamed to linux-headers and linux-image since v2.6.16. My custom installer CD image contains linux-headers-* package for you. Check pool/main directory.
So it appears the headers at least are on the cd. Try using "apt-cdrom add" with the custom installer in the drive and then apt-get update ... etc and linux-headers-2.6.20-1-686 should be available.
Further down in the FAQ, it says:
Quote:
Where is kernel-source package?
kernel-source package are renamed to linux-source. You can find linux-source ~2.6.18 from www.backports.org. At this time 2.6.19 and 2.6.20 images use my own Linux source. This source is vanilla kernel as same as one is distributed at kernel.org. So you can take kernel source from kernel.org and copy /boot/config-* to .config, then configure and build your own kernel. FYI I use "CONCURRENCY_LEVEL=2 make-kpkg --initrd --revision 2.6.20-0mtu1 --append-to-version -1-686 --rootcmd fakeroot linux_image linux_headers" with kernel-package of www.backports.org.
So it appears the headers at least are on the cd. Try using "apt-cdrom add" with the custom installer in the drive and then apt-get update ... etc and linux-headers-2.6.20-1-686 should be available.
Further down in the FAQ, it says:
Hope it helps...
First I am sorry that I am so crap.
I mounted the cdrom and is now ok in /etc/apt/sources.list:
Code:
deb cdrom:[Debian GNU/Linux 3.1 r3 _Sarge_ - Unofficial bpo i386 Binary-1 (20060904)]/ sarge contrib main
deb http://ftp.debian.org/debian etch main contrib non-free
deb-src http://ftp.debian.org/debian etch main contrib non-free
deb http://security.debian.org/ etch/updates main
#deb-src http://security.debian.org/ etch/updates main
deb http://www.debian-multimedia.org etch main
deb http://www.debian-multimedia.org stable main
#deb http://security.debian.org/debian-security/ etch main
# testing
##deb http://ftp.de.debian.org/debian/ testing main contrib non-free
##deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free
# unstable
##deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
##deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free
deb http://kernel-archive.buildserver.net/debian-kernel etch main
deb http://kernel-archive.buildserver.net/debian-kernel trunk main
# deb http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
# deb-src http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
deb http://www.backports.org/debian/ etch-backports main contrib non-free
deb http://www.backports.org/debian/ sarge-backports main contrib non-free
I added the:
Code:
deb http://www.backports.org/debian/ etch-backports main contrib non-free
deb http://www.backports.org/debian/ sarge-backports main contrib non-free
and got:
Code:
linux-headers-2.6.19-rc3-1-486 - Header files related to Linux kernel, specifically,
linux-headers-2.6-486 - Header files for Linux 2.6 on x86
linux-headers-2.6-686 - Header files for Linux 2.6 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6-686-bigmem - Header files for Linux 2.6 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6-amd64 - Header files for Linux 2.6 on AMD64
linux-headers-2.6-k7 - Header files for Linux 2.6 on AMD K7
linux-headers-2.6-vserver-686 - Header files for Linux 2.6 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6-vserver-k7 - Header files for Linux 2.6 on AMD K7
linux-headers-2.6-xen-686 - Header files for Linux 2.6 on i686
linux-headers-2.6-xen-vserver-686 - Header files for Linux 2.6 on i686
linux-headers-2.6.18-4 - Common header files for Linux 2.6.18
linux-headers-2.6.18-4-486 - Header files for Linux 2.6.18 on x86
linux-headers-2.6.18-4-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-686-bigmem - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-all - All header files for Linux 2.6.18
linux-headers-2.6.18-4-all-i386 - All header files for Linux 2.6.18
linux-headers-2.6.18-4-amd64 - Header files for Linux 2.6.18 on AMD64
linux-headers-2.6.18-4-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-4-vserver - Common header files for Linux 2.6.18
linux-headers-2.6.18-4-vserver-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-vserver-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-4-xen - Common header files for Linux 2.6.18
linux-headers-2.6.18-4-xen-686 - Header files for Linux 2.6.18 on i686
linux-headers-2.6.18-4-xen-vserver - Common header files for Linux 2.6.18
linux-headers-2.6.18-4-xen-vserver-686 - Header files for Linux 2.6.18 on i686
linux-headers-2.6.18-5 - Common header files for Linux 2.6.18
linux-headers-2.6.18-5-486 - Header files for Linux 2.6.18 on x86
linux-headers-2.6.18-5-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-5-686-bigmem - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-5-all - All header files for Linux 2.6.18
linux-headers-2.6.18-5-all-i386 - All header files for Linux 2.6.18
linux-headers-2.6.18-5-amd64 - Header files for Linux 2.6.18 on AMD64
linux-headers-2.6.18-5-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-5-vserver - Common header files for Linux 2.6.18
linux-headers-2.6.18-5-vserver-686 - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-5-vserver-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-5-xen - Common header files for Linux 2.6.18
linux-headers-2.6.18-5-xen-686 - Header files for Linux 2.6.18 on i686
linux-headers-2.6.18-5-xen-vserver - Common header files for Linux 2.6.18
linux-headers-2.6.18-5-xen-vserver-686 - Header files for Linux 2.6.18 on i686
linux-headers-2.6.22-rc7 - Common header files for Linux 2.6.22-rc7
linux-headers-2.6.22-rc7-486 - Header files for Linux 2.6.22-rc7 on x86
linux-headers-2.6.22-rc7-686 - Header files for Linux 2.6.22-rc7 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.22-rc7-686-bigmem - Header files for Linux 2.6.22-rc7 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.22-rc7-all - All header files for Linux 2.6.22
linux-headers-2.6.22-rc7-all-i386 - All header files for Linux 2.6.22
linux-headers-2.6.22-rc7-amd64 - Header files for Linux 2.6.22-rc7 on AMD64
linux-headers-2.6.22-rc7-k7 - Header files for Linux 2.6.22-rc7 on AMD K7
linux-headers-2.6.20-1 - Common header files for Linux 2.6.20
linux-headers-2.6.20-1-486 - Header files for Linux 2.6.20 on x86
linux-headers-2.6.20-1-686 - Header files for Linux 2.6.20 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.20-1-686-bigmem - Header files for Linux 2.6.20 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.20-1-all - All header files for Linux 2.6.20
linux-headers-2.6.20-1-all-i386 - All header files for Linux 2.6.20
linux-headers-2.6.20-1-amd64 - Header files for Linux 2.6.20 on AMD64
linux-headers-2.6.20-1-k7 - Header files for Linux 2.6.20 on AMD K7
linux-headers-2.6.20-1-vserver - Common header files for Linux 2.6.20
linux-headers-2.6.20-1-vserver-686 - Header files for Linux 2.6.20 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.20-1-vserver-k7 - Header files for Linux 2.6.20 on AMD K7
linux-headers-2.6.20-1-xen - Common header files for Linux 2.6.20
linux-headers-2.6.20-1-xen-686 - Header files for Linux 2.6.20 on i686
linux-headers-2.6.21-1 - Common header files for Linux 2.6.21
linux-headers-2.6.21-1-486 - Header files for Linux 2.6.21 on x86
linux-headers-2.6.21-1-686 - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-1-686-bigmem - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-1-all - All header files for Linux 2.6.21
linux-headers-2.6.21-1-all-i386 - All header files for Linux 2.6.21
linux-headers-2.6.21-1-amd64 - Header files for Linux 2.6.21 on AMD64
linux-headers-2.6.21-1-k7 - Header files for Linux 2.6.21 on AMD K7
linux-headers-2.6.21-1-vserver - Common header files for Linux 2.6.21
linux-headers-2.6.21-1-vserver-686 - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-1-vserver-k7 - Header files for Linux 2.6.21 on AMD K7
linux-headers-2.6.21-2 - Common header files for Linux 2.6.21
linux-headers-2.6.21-2-486 - Header files for Linux 2.6.21 on x86
linux-headers-2.6.21-2-686 - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-2-686-bigmem - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-2-all - All header files for Linux 2.6.21
linux-headers-2.6.21-2-all-i386 - All header files for Linux 2.6.21
linux-headers-2.6.21-2-amd64 - Header files for Linux 2.6.21 on AMD64
linux-headers-2.6.21-2-k7 - Header files for Linux 2.6.21 on AMD K7
linux-headers-2.6.21-2-vserver - Common header files for Linux 2.6.21
linux-headers-2.6.21-2-vserver-686 - Header files for Linux 2.6.21 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.21-2-vserver-k7 - Header files for Linux 2.6.21 on AMD K7
linux-headers-2.6.16-2 - Common header files for Linux kernel 2.6.16
linux-headers-2.6.16-2-486 - Header files for Linux kernel 2.6.16 on 486-class machines
linux-headers-2.6.16-2-686 - Header files for Linux kernel 2.6.16 on PPro/Celeron/PII/PIII/P4 machines
linux-headers-2.6.16-2-686-smp - Header files for Linux kernel 2.6.16 on PPro/Celeron/PII/PIII/P4 SMP machines
linux-headers-2.6.16-2-all - All header files for Linux kernel 2.6.16
linux-headers-2.6.16-2-all-i386 - All header files for Linux kernel 2.6.16
linux-headers-2.6.16-2-k7 - Header files for Linux kernel 2.6.16 on AMD K7 machines
linux-headers-2.6.16-2-k7-smp - Header files for Linux kernel 2.6.16 on AMD K7 SMP machines
linux-headers-2.6.16-2-vserver - Common header files for Linux kernel 2.6.16
linux-headers-2.6.16-2-vserver-686 - Header files for Linux kernel 2.6.16 on PPro/Celeron/PII/PIII/P4 machines
linux-headers-2.6.16-2-vserver-k7 - Header files for Linux kernel 2.6.16 on AMD K7 machines
linux-headers-2.6.16-2-xen - Common header files for Linux kernel 2.6.16
linux-headers-2.6.16-2-xen-686 - Header files for Linux kernel 2.6.16 on PPro/Celeron/PII/PIII/P4 machines
linux-headers-2.6.16-2-xen-k7 - Header files for Linux kernel 2.6.16 on AMD K7 machines
linux-headers-2.6.16-2-xen-vserver - Common header files for Linux kernel 2.6.16
linux-headers-2.6.16-2-xen-vserver-686 - Header files for Linux kernel 2.6.16 on PPro/Celeron/PII/PIII/P4 machines
but no:
uname -r
2.6.20.1-1-686
...
(newer kernel maybe from unstable?)
apt-get install linux-headers-2.6.20-1-686
is not 2.6.20.1-1-686.
my kernel is:
# uname -r
2.6.20.1-1-686
what'd be best advice for a stable machine?
Last edited by frenchn00b; 07-08-2007 at 06:00 AM.
So, for newbies, you need to do crazy things when you have a new computer. too new, then bios issues, and etch cannot be installed. then backported iso helps.
So, I did :
apt-get install linux-headers-2.6.21-1-686 linux-image-2.6.21-1-686 linux-source-2.6.21
with this /etc/apt/sources.list:
Code:
deb cdrom:[Debian GNU/Linux 3.1 r3 _Sarge_ - Unofficial bpo i386 Binary-1 (20060904)]/ sarge contrib main
deb http://ftp.debian.org/debian etch main contrib non-free
deb-src http://ftp.debian.org/debian etch main contrib non-free
deb http://security.debian.org/ etch/updates main
#deb-src http://security.debian.org/ etch/updates main
deb http://www.debian-multimedia.org etch main
deb http://www.debian-multimedia.org stable main
#deb http://security.debian.org/debian-security/ etch main
# testing
##deb http://ftp.de.debian.org/debian/ testing main contrib non-free
##deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free
# unstable
##deb http://ftp.de.debian.org/debian/ unstable main contrib non-free
##deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free
deb http://kernel-archive.buildserver.net/debian-kernel etch main
deb http://kernel-archive.buildserver.net/debian-kernel trunk main
# deb http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
# deb-src http://download.tuxfamily.org/syzygy42 feisty avant-window-navigator
deb http://www.backports.org/debian/ etch-backports main contrib non-free
deb http://www.backports.org/debian/ sarge-backports main contrib non-free
I hope I can finally install these nvidia drivers.
modprobe nvidia
Code:
FATAL: Module nvidia not found.an finally install these nvidia drivers.
cat /etc/modules
Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a "#", and everything on the line after them are ignored.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.