LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-04-2004, 07:27 PM   #1
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: OpenSuSE Tumbleweed
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
do yum rpm and hand compiles conflict?


i have rh9 legacy yum installed running the "nightly update". i scratched an itch and compiled 2.6.9, and have that as default in grub.conf, running with no bugs or probs.

if the yum nightly update gets a new kernel legacy rpm, willl that pose problems with my 2.6 kernel default, if any?

i would like the nightly auto yum updates to remain in effect, and have the kernels as well; should i put yum/kernel into exclude, or will that prevent it from downloading the kernel update altogether?
i'd just like to have it "handy". best scenario would be to rpm any new legacy kernel into the system, shoehorn it into grub, but not override my 2.6 config as default boot selection. i have no idea if this is do-able, in a cron or auto manner.
is manual <yum update> my only option, here? i can make this happen manually, i'd just like to know if i have to clean house on my auto stuff here. and i have NO idean how to get yum back out of it (if i really wanted to)!
any ideas?

tnx. -O
 
Old 12-04-2004, 11:22 PM   #2
linuxles
Member
 
Registered: Mar 2004
Location: Austin, TX
Distribution: CentOS Fedora RHEL SLES Knoppix
Posts: 78

Rep: Reputation: 15
Not sure what mechanism you are using to do the nightly updates.

I manually update, if I want to exclude the kernels; I use: "yum --exclude kernel* update"

It really shouldn't pose a problem to include or exclude the kernel updates.

If by default your current kernel in grub.conf is not 0 then grub will probably not be modified.
Even if it is, it shouldn't be an issue. Before you manually reboot your machine, check that the
default kernel (the one that you want to boot) is still being pointed to by grub before rebooting.

Besides as far as I know RH9 is no longer supported. So, I doubt you'll be downloading any
new packages via yum (or anything else for that matter).

/Les
 
Old 12-04-2004, 11:23 PM   #3
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 25, 26, RHL 5.2
Posts: 560

Rep: Reputation: 56
Interesting question and I don't claim to have a complete answer but this is the way I understand it. The updating of your kernel and grub.conf entry would depend on the way the rpm was built. yum only automates the process of downloading and installing updates. The rpm performs all the real work on the files. I believe grub.conf is updated with a %post script in the specfile that was used to build the rpm. I've seen entries append sometimes and become the default other times.

I have not heard of a way to use yum for downloading an rpm, but not have it install. That would make a nice post for the yum mailing list at Duke. For now, I would continue with your automated process and exclude kernel packages using yum.conf. You could get on the Fedora-Legacy-Announce mailing list to be notified when a new kernel has arrived. That way you can go through the process of manually updating the kernel on your schedule and keep track of the results.

Les: You might want to take a look at http://www.fedoralegacy.org. RH 7.3, 9.0, and FC1 are being supported by the community.

Bill

Last edited by wmakowski; 12-04-2004 at 11:30 PM.
 
Old 12-04-2004, 11:37 PM   #4
linuxles
Member
 
Registered: Mar 2004
Location: Austin, TX
Distribution: CentOS Fedora RHEL SLES Knoppix
Posts: 78

Rep: Reputation: 15
To clarify; what I've seen is that if the default kernel is not "0" by default, then it increments the
current default entry by 1.

So, if it is "0", then it leaves the default at "0" and bumps each entry down by 1, and the new entry
becomes "0", or the first entry in the list. When you reboot the new kernel becomes the default.

If it is not "0", say the current kernel boot entry is "1", then the update puts the new entry at the top
of the list and updates the "1" to a "2" to match the current default kernel entry. When you reboot,
the previous kernel is still the default.

Hope this makes sense...

Bill: Thanks for the tip on fedoralegacy.org

/Les

Last edited by linuxles; 12-04-2004 at 11:41 PM.
 
Old 12-05-2004, 10:13 AM   #5
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: OpenSuSE Tumbleweed
Posts: 194

Original Poster
Blog Entries: 1

Rep: Reputation: 30
thanks! the thing that got my attention on this was the grub change from 0 to 1 on default. i guess what it boiled down to is just grabbing the grub.conf if my default kernel "highlighting" on boot ever changes, and putting the default back to 0.
see how easily i took something simple and made it as complicated as i could?
i shoulda been a politician.
happy holidays, folks.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update dbus results in file conflict dvlierop Fedora 2 11-13-2005 03:21 AM
fc3:yum won't update - selinux conflict logo Linux - Software 2 09-18-2005 03:14 PM
rpm conflict workaround ... jillande Red Hat 0 07-16-2005 03:42 PM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 03:03 PM
How do I tell yum/apt/rpm that I have hand built and installed apache/mysql/php BigDave Linux - Software 1 04-14-2005 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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