LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-23-2015, 07:41 AM   #1
r3b0ot
LQ Newbie
 
Registered: May 2011
Posts: 16

Rep: Reputation: Disabled
Issue with linux headers


Hi guys,

running into an issue with my linux headers. Ubuntu 12.04 server
my apt-get -f install output:

Code:
dpkg: dependency problems prevent configuration of linux-headers-server:
 linux-headers-server depends on linux-headers-3.2.0-69-generic; however:
  Package linux-headers-3.2.0-69-generic is not installed.
dpkg: error processing linux-headers-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          dpkg: dependency problems prevent configuration of linux-server:
 linux-server depends on linux-image-server (= 3.2.0.69.82); however:
  Version of linux-image-server on system is 3.2.0.77.91.
 linux-server depends on linux-headers-server (= 3.2.0.69.82); however:
  Package linux-headers-server is not configured yet.
dpkg: error processing linux-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 linux-headers-server
 linux-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any idea how to fix?

Last edited by r3b0ot; 03-23-2015 at 07:48 AM.
 
Old 03-23-2015, 08:52 AM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
what happens if you try the following command?

Code:
sudo apt-get install linux-headers-$(uname -r)
 
Old 03-23-2015, 08:53 AM   #3
r3b0ot
LQ Newbie
 
Registered: May 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Code:
sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-3.2.0-74-generic is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 linux-headers-server : Depends: linux-headers-3.2.0-69-generic but it is not going to be installed
 linux-server : Depends: linux-image-server (= 3.2.0.69.82) but 3.2.0.77.91 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
 
Old 03-23-2015, 09:53 AM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
can you post the output of
Code:
uname -a
Did you do an upgrade recently that had a kernel update? If so are you booted into that kernel? what happens when you try to install the linux-headers with that specific version?

Code:
sudo apt-get install linux-headers-3.2.0-69-generic
 
Old 03-23-2015, 10:10 AM   #5
r3b0ot
LQ Newbie
 
Registered: May 2011
Posts: 16

Original Poster
Rep: Reputation: Disabled
Output of uname -a:

Code:
3.2.0-74-generic #109-Ubuntu SMP Tue Dec 9 16:45:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Upgrade: it's possible but I honestly cannot remember.. :/

output of linux-headers install:

Code:
sudo apt-get install linux-headers-3.2.0-69-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 linux-server : Depends: linux-image-server (= 3.2.0.69.82) but 3.2.0.77.91 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
 
Old 03-23-2015, 12:34 PM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Well I hate cross linking sites but this looks to be similar to your problem. http://ubuntuforums.org/showthread.php?t=2198740
 
  


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
[SOLVED] Chapter 6.7. Linux-3.16.2 API Headers , errors on installation of API headers JimmyJ1776 Linux From Scratch 9 02-17-2015 09:29 PM
Issue with kernel headers with VirtualBox install. samBl Linux - Kernel 2 08-29-2013 08:38 PM
[SOLVED] PortBunny install issue related to Linux headers shayno90 Linux - Software 4 02-22-2012 06:26 PM
Why Does Linux Headers Keep Including Too Many Headers? minivy Linux - Kernel 2 12-07-2011 02:16 PM
Difference between packages linux-headers-foo and linux-headers-foo-generic? jhwilliams Ubuntu 1 10-19-2009 05:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:31 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