Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have just rented a dedicated server from OVH which uses a custom kernel, so whenever I run a command like the following:

sudo yum groupinstall 'Development Tools

I get errors due to missing dependencies:

Missing Dependency: kernel >= 2.6.9-11 is needed by...

Now I've read that I can do a netboot in reinstall the OS and the official kernel, however I would rather not reinstall everything as I have set quite a lot up already.

Is it possible to run the official kernel without a reinstall?

If so how do I do go about it?

share|improve this question
    
I've commented out exclude=kernel* in my yum.conf although I don't want to put this as an answer due to my lack of server admin knowledge. –  Ash Aug 24 '11 at 18:43
    
Keep in mind that they may have used a custom kernel for a reason. Replacing it may result in an un-bootable or poorly performing system in some environments.. –  Zoredache Aug 24 '11 at 22:00

1 Answer 1

up vote 1 down vote accepted

It looks like they provided you with a customized CentOS distro, which means it is not using standard CentOS repositories. Otherwise yum would have found the kernel. Perhaps you can try adding the official CentOS repositories and hope nothing else is customized but in this situation it might make more sense to just go the route your provider suggest to avoid unexpected issues later.

Alternatively you can install the tools you need separately (not as a group) and hope they don't have kernel-headers as a dependency :)

Or you can download the kernel RPMs manually from a CentOS repo, install them and then try installing the group again. But then if you're using kernel-headers, make sure to compile against the correct headers.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.