LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-30-2006, 03:44 AM   #1
karlochacon
Member
 
Registered: Dec 2006
Posts: 109

Rep: Reputation: 17
Exclamation try getting kernel-headers


hi

my kernel is
uname -r 2.6.8-3-686


and i'm trying to get the kernel-headers because i'm going to install asterisk and other packages so I need the kernel-headers, but when i try this

apt-get install kernel-headers-$(uname -r)

I got a problem

Code:
Reading Package lists... Done
Building dependency tree ...Done
Some packages could not be installed. this may mean that you have requested an imposible 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 request 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 packages have unmet dependencies:
kernel-headers-2.6.8-3-686: Depends: kernel-headers-2.6.8-3 but it not going to be installed.
e: Broken packages
and i try updating but i got an problem again

what could be the solution?
 
Old 12-30-2006, 04:22 AM   #2
oldlucky
LQ Newbie
 
Registered: Jul 2006
Location: Australia
Distribution: Debian Etch
Posts: 15

Rep: Reputation: 0
Make sure you have your sources.list setup correctly with main contib and non-free

example : deb http://ftp.au.debian.org/debian/ stable main contrib non-free

then su to root
"apt-get update"
then "apt-get install linux-kernel-headers-2.6.8-3-686
that should install the kernel headers.

cheers

Last edited by oldlucky; 12-30-2006 at 04:29 AM.
 
Old 12-30-2006, 10:01 PM   #3
karlochacon
Member
 
Registered: Dec 2006
Posts: 109

Original Poster
Rep: Reputation: 17
well I did a mistake because I delete my sources.list


but I found a new list on internet and I solved the problem

my new sources.list

sources.list
Code:
#Sarge (stable)
deb http://ftp.rediris.es/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org/ stable/updates main contrib non-free
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
do kernel headers come with kernel-source package? janos Linux - Kernel 1 05-30-2006 09:38 AM
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 12:15 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
Difference between kernel-headers kernel-source twinkers Debian 2 06-18-2005 11:20 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration