On Fri, Jun 22, 2007 at 12:53:59PM -0400, Sateesh Mandava wrote: > Hi, > > I am running 2.6.18 kernel with debian/sid and in need of kernel > headers/source to compile nvidia/ivtv kernel modules. apt-get is not able to > find linux-source-2.6.18* or linux-headers-2.6.18* packages. It is only > pointing to 2.6.21 packages. > > Can some body let me know how to get old kernel source/header files using > apt? > > Here is my /etc/apt/sources.list file. > > deb http://ftp.us.debian.org/debian/ sid main contrib non-free > deb-src http://ftp.us.debian.org/debian/ sid main contrib non-free > deb-src http://security.debian.org/ etch/updates main > deb http://www.debian-multimedia.org sid main > > apt output.. > > $ sudo apt-get install linux-source-2.6.18 > Reading package lists... Done > Building dependency tree... Done > Package linux-source-2.6.18 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 linux-source-2.6.18 has no installation candidate
Add to your sources.list: deb http://ftp.us.debian.org/debian/ testing main contrib non-free Also note that there are pre-compiled modules for ivtv and nvidia in the archive. -- dann frazier -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]