LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-27-2006, 07:11 AM   #1
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Rep: Reputation: 30
Install Older Kernel with yum


Hello,

I want to install an "older" custom kernel than the FC4 one that i have installed at the moment using yum. However, yum will not let me do this because of the fact that the version is older than the one that i have installed at the moment. How do i resolve this problem without removing my "newer" kernels.
Cheers
Graham
 
Old 06-27-2006, 09:30 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Quote:
I want to install an "older" custom kernel
Since it is an older package and custom at that, it is not going to be in the yum repos out there anyway.
So, your best option is to just use rpm with --oldpackage.
Code:
 man rpm
   install-options
       .... [--oldpackage] ....
Something like this should work...
rpm -ivh --oldpackage my-kernel-bunch-of-numbers.rpm
 
Old 06-27-2006, 09:41 AM   #3
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Original Poster
Rep: Reputation: 30
Well it's a custom kernel from CCRMA, so it is in the yum CCRMA repo. Yum downloads it fine but it won't install it. Any ideas?
 
Old 06-27-2006, 09:52 AM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
So, just use the rpm command on the rpm which is downloaded or, if you know the web site, you can use a commmand like this...
Code:
rpm -ivh --oldpackage ftp://ftp.some-site.com/my-kernel-bunch-of-numbers.rpm
 
Old 06-27-2006, 10:14 AM   #5
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Original Poster
Rep: Reputation: 30
Cheers, that did. Should have realised that yum simply downloads the rpm. Bit stupid of me. Thanks for your help.
Graham
 
Old 06-27-2006, 10:28 AM   #6
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Glad to help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
install older kernel package not contained in repository kpachopoulos Debian 1 05-02-2006 10:52 PM
How do I install an older kernel? Dimension User MEPIS 0 03-18-2006 12:16 PM
kernel build problems -how to install older gcc version? kpachopoulos Fedora 3 07-04-2005 09:56 AM
How to install older kernel d2h78q9rf Mandriva 1 03-11-2005 03:23 PM
i want to install an older kernel tchumatu Linux - Software 4 03-15-2001 09:26 PM


All times are GMT -5. The time now is 07:56 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration