Updating Kernel conflicts

Please can someone confirm my understanding of the following: I used zypper to update successively from 11.4 to 12.2 going through all the intermediate steps. It seemed to work fine except when I subsequently tried to do a patch update. I received the error:

YaST2 conflicts list - generated 2013-01-16 10:11:00

kernel-default-base-3.4.11-2.16.1.i586 conflicts with kernel-default = 3.4.11-2.16.1 provided by kernel-default-3.4.11-2.16.1.i586
] downgrade of kernel-default-3.4.11-2.16.1.i586 to kernel-default-3.4.6-2.10.1.i586
] do not install kernel-default-base-3.4.11-2.16.1.i586

Reading this forum it would appear that the solution is simply to remove kernel-default-base since various people have noted that it is just a minimum kernel and not needed if another kernel is used in the install. This is somewhat confusing for innocent readers like me given the description of “base modules” which reads:

|kernel-default-base - The Standard Kernel - base modules
|
|

The standard kernel for both uniprocessor and multiprocessor systems.This package contains only the base modules, required in all installs.

i.e. what I understand from the forum is the “required in all installs” simply refers to the modules and NOT “this package”. If I understand correctly it should read something like “This package is a stand-alone kernel containing only those modules which are required for every system; it is not required by any other kernels”.

Please can someone confirm this understanding before I delete the “kernel-default-base” package and possibly render my system unbootable when “kernel-default” refuses to work without it>:(
PS I was surprised by this since I thought that Opensuse offered to permit multiple kernels which could be chosen at boot time.

Upgrading is supported from one version to the next version, i.e. from 11.3 to 11.4, or 12.1 to 12.2, but not from 11.4 to 12.2

AFAIK there’s no need to have kernel-default-base and kernel-default both installled.

On 2013-01-16 16:06, Knurpht wrote:
>
> Upgrading is supported from one version to the next version, i.e. from
> 11.3 to 11.4, or 12.1 to 12.2, but not from 11.4 to 12.2

He said “going through all the intermediate steps”, so he did not
upgrade direct.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

On 01/16/2013 12:16 PM, sanktwo wrote:
> I used
> zypper to update successively from 11.4 to 12.2 going through all the
> intermediate steps.

three things (i can’t directly answer your question):

  1. this may have no bearing on your problem (but for next time i note)
    once arriving at 12.1 you should run either “zypper patch” or YaST
    Online Update prior to going to 12.2 (because “The supported starting
    point is the last openSUSE release with all current updates applied.”
    see http://tinyurl.com/35p966c)

  2. you have not mentioned your machine’s use/needs (desktop,
    workstation, headless server, etc) but most home, desktop, laptop
    users are best off with the ‘desktop’ kernel (rather than the ‘default’)

  3. openSUSE does offer multiple kernels, however the default setting
    is one…it can be changed, but atm i don’t recall how…and, i think
    the procedure may be different if you are using grub1 or
    grub2…probably an answer is in here, somewhere: http://tinyurl.com/aw472ee


dd http://goo.gl/PUjnL http://tinyurl.com/DD-Caveat

Hi Carlos, you are quite correct, I went 11.3>11.4>12.1>12.2. The reason for the painful process was that I had a lot of DNS, DHCP, firewall etc. configured and I just did not want to start again nor did I want to figure out where all the configurations were stored and try to move files around. Many people write “backup your /home information and re-install” - but I had NO information other than system stuff on it! In the event it worked very well even if slow. On the other hand I had a “vanilla” install with only the official repositories. I followed the instructions using zypper and all went well. I am currently writing this in Firefox, using VNC from my Kubuntu running under VMWARE on Centos6.3 communicating with the (now headless) upgraded server. I am still nervous about deleting the “kernel-default-base” but I will steel myself to do it after waiting to see if anyone has other ideas.

On 2013-01-16 17:26, sanktwo wrote:

> Hi Carlos, you are quite correct, I went 11.3>11.4>12.1>12.2. The
> reason for the painful process was that I had a lot of DNS, DHCP,
> firewall etc. configured and I just did not want to start again nor did
> I want to figure out where all the configurations were stored and try to
> move files around.

Yes, exactly. I also upgrade for that reason. There is another upgrade
method, Offline
upgrade method
which can be used to jump more than one version,
AFAIK. Nevertheless, it is best to have a full backup done to restore
the situation if it breaks.

> I am still
> nervous about deleting the “kernel-default-base” but I will steel myself
> to do it after waiting to see if anyone has other ideas.

If the rpms conflict, it is a good sign that you can remove one. And
yes, you can have several kernels installed: different flavours,
different releases, and different versions. Only one source tree is
active, however.

I have these in my laptop:


cer@minas-tirith:~> rpm -qa | grep -i kernel
kernel-desktop-2.6.37.6-0.20.1.x86_64
kernel-desktop-2.6.37.6-24.1.x86_64
kernel-desktop-2.6.37.6-0.11.1.x86_64
cer@minas-tirith:~>

To have different releases available you edit /etc/zypp/zypp.conf:


multiversion = provides:multiversion(kernel)
multiversion.kernels = latest-1,running,latest

(the second line is not available for oS version ≤ 11.4)


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

I remember you saying somewhere; “We are non-believers”.

Thus I guess it is logical to you that people here check what he means with “all the intermediate steps”.

On 2013-01-16 21:26, hcvv wrote:
> I remember you saying somewhere; “We are non-believers”.

:slight_smile:

> Thus I guess it is logical to you that people here check what he means
> with “all the intermediate steps”.

But he has confirmed my guess :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

You should read this thread from TOP t o BOTTOM.
You critisised Knurpht before sanktwo confirmed more precisely what he did!
I critisise you for doing this.
And you should not try to falsify this.

On 2013-01-16 22:26, hcvv wrote:

> You should read this thread from TOP t o BOTTOM.
> You critisised Knurpht before sanktwo confirmed more precisely what he
> did!

No, I did not criticize anybody, you are misreading me. I clarified
information with what was clear to me.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

I quuote what is posted above:

On 2013-01-16 16:06, Knurpht wrote:
>
> Upgrading is supported from one version to the next version, i.e. from
> 11.3 to 11.4, or 12.1 to 12.2, but not from 11.4 to 12.2

He said “going through all the intermediate steps”, so he did not
upgrade direct.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

I can only interprete this as: “Knurpht, you asked a silly question.”
It is a direct comment to what Knurpft said.

On 2013-01-16 23:16, hcvv wrote:
> I can only interprete this as: “Knurpht, you asked a silly question.”
> It is a direct comment to what Knurpft said.

Well, your interpretation is wrong. It is a comment, but not a critique.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

On 01/16/2013 10:26 PM, hcvv wrote:
> And you should not try to falsify this.

it was obvious to me that “update successively from 11.4 to 12.2 going
through all the intermediate steps” meant exactly what it said…

i didn’t need it to be said in any other way, or again by the op to
understand that Knurpht both misunderstood the beginning version
(writing 11.3 v 11.4) and how the OP got from it to the final version…

which is why i also gave advice knowing (not assumming) that the
intermediate versions had been installed…what i was not sure of was
if the OP had actually run in all updates prior to moving to the next
version–which is why i wrote as i did…


dd

On 2013-01-17 07:27, dd wrote:
> On 01/16/2013 10:26 PM, hcvv wrote:

> which is why i also gave advice knowing (not assumming) that the
> intermediate versions had been installed…what i was not sure of was
> if the OP had actually run in all updates prior to moving to the next
> version–which is why i wrote as i did…

It is possible that the updates were automatically applied during the
dup upgrade. If the method is correctly applied, you have to switch to
the target repositories, including the update repo. If that is done the
upgrade process would automatically take the versions from that repo and
thus, applying the patches. Not guaranteed, but possible.

And, Henk, I’m not criticizing Denver. I’m simply adding a comment,
something typical on a technical public forum: people say things and
others add to it and every one corrects one another, so that the end the
result is correct. I am corrected many times by others, my knowledge is
not complete nor perfect. I don’t feel criticized.

Ok? :slight_smile:

To be pesky, the upgrade from, say, 12.1 to 12.2 has to be done not with
all the patches applied, but with the state of patches that was
available at the feature freeze of 12.2 :stuck_out_tongue: - but that is not
practical, so forget it. :slight_smile:

(and that is a joke, I’m not serious, as expressed by the smileys)


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))