ClearFoundation Tracker - ClearOS
View Issue Details
0000615ClearOSbuild-release - Operating Systempublic2012-05-17 02:552012-06-05 18:24
NickH 
user2 
normalminoralways
closedfixed 
6.2.0 
6.2.0 Updates 
0000615: Yum installs wrong x86_64 kernel headers by default
With the current x86_64 build, if you do a "yum install kernel-headers" you get the 2.6.32-220.13.1.el6.x86_64 version. Note the el6. This does not correspond to any available kernels. The correct packages are in the clearos-dev repo which is not enabled by default and can be installed with "yum --enablerepo=clearos-dev install kernel-devel kernel-headers"

This problem has been encountered by a number of people on the forum in different threads, but does not appear to have been picked up by the devs. It happened most recently here: http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,40/func,view/id,2834/limit,10/limitstart,130/#41511. [^] I had a mini how-to before I understood the repo system here: http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,37/func,view/id,40863/#40863 [^]
No tags attached.
duplicate of 0000586closed user2 Disable core yum repos by default 
Issue History
2012-05-17 02:55NickHNew Issue
2012-05-17 03:42user2Relationship addedduplicate of 0000586
2012-05-17 03:48user2Note Added: 0000517
2012-05-17 03:48user2Statusnew => confirmed
2012-05-17 05:06NickHNote Added: 0000518
2012-05-17 07:44NickHNote Edited: 0000518
2012-05-30 13:37user2Note Added: 0000520
2012-05-30 13:37user2Statusconfirmed => resolved
2012-05-30 13:37user2Fixed in Version => 6.2.0 Updates
2012-05-30 13:37user2Resolutionopen => fixed
2012-05-30 13:37user2Assigned To => user2
2012-06-05 18:24user2Statusresolved => closed

Notes
(0000517)
user2   
2012-05-17 03:48   
Bug 0000586 is the root cause of the problem and the fix is already floating around on our internal boxes (it's not much of a fix, just disabling a repo!). ClearOS Core should not be enabled by default. Packages in Core can appear before the patched versions are ready.
(0000518)
NickH   
2012-05-17 05:06   
(edited on: 2012-05-17 07:44)
Should clearos-dev be enabled by default? In 5.2 the supplements repos containing kernel-devel and kernel-headers is enabled by default.

[edit]
It gets worse. It looks like you now can no longer use "yum install kernel-headers kernel-devel --enablerepo=clearos-dev" as there are now other later el6 headers and devel packages in the clearos-dev repo and they get installed by preference. How can it be fixed so you can, by default, install the headers and devel packages to go with the latest released kernel? Do they need to be moved to a different repo? Just enabling clearos-dev no longer works.
[/edit]

(0000520)
user2   
2012-05-30 13:37   
The ClearOS Core yum repo configuration now excludes custom packages (including kernel*). In addition, the various devel packages (e.g. kernel-devel) are migrating to the clearos-addons repo (patch Tuesday).