LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Diffrence in yum update (https://www.linuxquestions.org/questions/linux-newbie-8/diffrence-in-yum-update-848782/)

bbrib 12-06-2010 11:39 PM

Diffrence in yum update
 
Hi

I did a yum update with the same repository.

on the one x86_64 system the kernel shows as 2.6.18-194.26.1.el5.

On the other system it shows as 2.6.18-194.el5. Both are vm systems on the same box.

Why did this happen and what is the diffrence between the two kernels?

JoshyJ 12-07-2010 12:14 AM

Both were updated at the same time?

bbrib 12-07-2010 04:28 AM

Hi Yes

i have noticed that before the update the kernels were.

2.6.18-128.el5

2.6.18-128.2.1.el5
respectivley

bbrib 12-07-2010 07:40 AM

Ok this is what i have found.

if you do a yum update on a system with 2.6.18-128.el5 it will only update to 2.6.18-194.el5.


Check out the grub.conf

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,0)
# kernel /boot/vmlinuz-version ro root=/dev/sda1
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-194.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet clock=pit
noapic nolapic divider=10 ignore_lost_ticks
initrd /boot/initrd-2.6.18-194.el5.img
title Red Hat Enterprise Linux Server (2.6.18-128.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.el5 ro root=LABEL=/ rhgb quiet clock=pit
noapic nolapic divider=10 ignore_lost_ticks
initrd /boot/initrd-2.6.18-128.el5.img


I took the repo from the system with 2.6.18-194.26.1.el5 and applied it to the system with 2.6.18-194.el5 and when doing a yum update it says no updates to be applied.

I took a system that has the 2.6.18-128.el5 kernel and did a yum update with the repository from the system with the 2.6.18-194.26.1.el5 kernel
and gave me the grub as above as well as the kernel 2.6.18-194.el5.

if i do an update with the same repository files on a system with 2.6.18-128.2.1.el5 kernel via yum . It updated it to 2.6.18-194.26.1.el5 kernel

now why is this?


All times are GMT -5. The time now is 05:25 AM.