PDA

View Full Version : SLES10 Kernel update detection issue with multiple kernels



RandyVanF
31-Aug-2011, 20:56
Currently when using Zypper under SLES 10 SP2 / SP3, it has a problem if
you have more than one version of a kernel installed. It always detects
that it needs to update the kernel even if the latest one is installed.

We keep one downlevel kernel when patching due to potential issues
upgrading kernels. That way we can boot the old kernel.

rpm -q kernel-smp shows...
kernel-smp-2.6.16.60-0.39.3
kernel-smp-2.6.16.60-0.66.1

The kernel we have in our update repo is 2.6.16.60-0.66.1. If we run
zypper up -t package it will upgrade the kernel and erase the
kernel-smp-2.6.16.60-0.39.3. It looks like zypper takes the first
result and assumes there is no newer kernel than that and flags an
upgrade.

Anyone have any ideas??
Randy


--
RandyVanF
------------------------------------------------------------------------
RandyVanF's Profile: http://forums.novell.com/member.php?userid=102638
View this thread: http://forums.novell.com/showthread.php?t=444002

malcolmlewis
31-Aug-2011, 20:58
On Wed, 31 Aug 2011 19:56:03 GMT
RandyVanF <RandyVanF@no-mx.forums.novell.com> wrote:

>
> Currently when using Zypper under SLES 10 SP2 / SP3, it has a problem
> if you have more than one version of a kernel installed. It always
> detects that it needs to update the kernel even if the latest one is
> installed.
>
> We keep one downlevel kernel when patching due to potential issues
> upgrading kernels. That way we can boot the old kernel.
>
> rpm -q kernel-smp shows...
> kernel-smp-2.6.16.60-0.39.3
> kernel-smp-2.6.16.60-0.66.1
>
> The kernel we have in our update repo is 2.6.16.60-0.66.1. If we run
> zypper up -t package it will upgrade the kernel and erase the
> kernel-smp-2.6.16.60-0.39.3. It looks like zypper takes the first
> result and assumes there is no newer kernel than that and flags an
> upgrade.
>
> Anyone have any ideas??
> Randy
>
>
Hi
Zypper is unsupported in SLE 10, just a preview. Use rug instead.

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 1 day 3:19, 4 users, load average: 0.19, 0.14, 0.14
GPU GeForce 8600 GTS Silent - Driver Version: 280.13

RandyVanF
31-Aug-2011, 21:26
I would use rug.. But our Linux Configuration Management software
utilizes zypper.. :(


--
RandyVanF
------------------------------------------------------------------------
RandyVanF's Profile: http://forums.novell.com/member.php?userid=102638
View this thread: http://forums.novell.com/showthread.php?t=444002

malcolmlewis
01-Sep-2011, 00:37
On Wed, 31 Aug 2011 20:26:02 GMT
RandyVanF <RandyVanF@no-mx.forums.novell.com> wrote:

>
> I would use rug.. But our Linux Configuration Management software
> utilizes zypper.. :(
>
>
Hi
What "Linux Configuration Management" are you using?

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.4 (x86_64) Kernel 2.6.37.6-0.7-desktop
up 1 day 6:58, 5 users, load average: 0.07, 0.11, 0.13
GPU GeForce 8600 GTS Silent - Driver Version: 280.13