Beware of a nasty BUG when UPGRADING

This may not be the best place to post this. Please repost where necessary.

A nasty bug got into 11.4 between RC2 and GM
(https://bugzilla.novell.com/show_bug.cgi?id=677425). If yyou do a ‘zypper dup’,
it breaks rpm by removing liblzma0. Recovery is quite difficult.

The workaround is quite easy - do a ‘zypper up rpm’ before the ‘zypper dup’.

Although it is too late to fix 11.4 GM, it should be possible to fix the FTP
sites so that online updates will be OK; however, for safety, use the workaround.

The modos should pin this advice, it is an important one.

I added a note to our New User FAQ on 11.4.
NEW Users - openSUSE-11.4 Pre-installation – PLEASE READ

I’m not sure where this would go. … Possibly as a stickie in the Install/Boot/Login area ?

Yeah, good idea oldcpu. :slight_smile:

I’m not sure where this would go. … Possibly as a stickie in the Install/Boot/Login area ?

It should do.

I can’t think of a better place. :slight_smile:

Hopefully done! Reposted here:
openSUSE-11.4 zypper dup bug ! Warning to those doing a zupper dup update

Odd, I did a zypper dup from RC2 to final and was not affected by this. rpm was upgraded and now has a dependency on liblzma5 (which is present on my system).

Regards,
Neil Darlow

Interesting, but when did you upgrade, what repo(s) did you use, and what told you it was “final”?

Hi,

I see how I avoided this bug.

Looking at the bug report, an initial update of zypper was performed which updated liblzma. I did not do this so my zypper dup would have executed the entire upgrade with liblzma0 resident. The fact that liblzma5 was installed during this process had no effect.

Regards,
Neil Darlow

On Mon, 07 Mar 2011 21:51:00 +0000, Larry Finger wrote:

> This may not be the best place to post this. Please repost where
> necessary.
>
> A nasty bug got into 11.4 between RC2 and GM
> (https://bugzilla.novell.com/show_bug.cgi?id=677425). If yyou do a
> ‘zypper dup’, it breaks rpm by removing liblzma0. Recovery is quite
> difficult.
>
> The workaround is quite easy - do a ‘zypper up rpm’ before the ‘zypper
> dup’.
>
> Although it is too late to fix 11.4 GM, it should be possible to fix the
> FTP sites so that online updates will be OK; however, for safety, use
> the workaround.

Hi, Larry -

From the bug itself, it’s not clear to me if this only affects users
using zypper dup to update, or if it affects those updating from media as
well.

Do you (or anyone else here) know?

I’m going to do a test on a 11.3 system I have here that’s for testing.

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On Thu, 10 Mar 2011 00:50:25 +0000, Jim Henderson wrote:

> From the bug itself, it’s not clear to me if this only affects users
> using zypper dup to update, or if it affects those updating from media
> as well.
>
> Do you (or anyone else here) know?
>
> I’m going to do a test on a 11.3 system I have here that’s for testing.

To answer my own question, no, it doesn’t seem to be an issue if you
upgrade from 11.3 to 11.4 using the DVD media.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 03/09/2011 07:57 PM, Jim Henderson wrote:
> On Thu, 10 Mar 2011 00:50:25 +0000, Jim Henderson wrote:
>
>> From the bug itself, it’s not clear to me if this only affects users
>> using zypper dup to update, or if it affects those updating from media
>> as well.
>>
>> Do you (or anyone else here) know?
>>
>> I’m going to do a test on a 11.3 system I have here that’s for testing.
>
> To answer my own question, no, it doesn’t seem to be an issue if you
> upgrade from 11.3 to 11.4 using the DVD media.

It really only affected “zypper dup”. As the on-line repos have been fixed, it
now only affects someone who uses a DVD as the repo and does a zypper dup. Thar
is not a common case.

On Thu, 10 Mar 2011 03:58:02 +0000, Larry Finger wrote:

> It really only affected “zypper dup”. As the on-line repos have been
> fixed, it now only affects someone who uses a DVD as the repo and does a
> zypper dup. Thar is not a common case.

Great, that’s good to know. :slight_smile:

Thanks for keeping everyone up to date on this issue.

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

I have found this after a borked updgrade. I did zypper dup. The question is, that did not get addressed, is how to recover in the event you have a borked system. I really don’t want to start over.

Oddly, I did a zypper dup on my laptop and it went fine. Not so much on the desktop. http://forums.opensuse.org/images/smiliesnew/crying.png

On 05/15/2011 02:36 PM, lshantz wrote:
>
> I have found this after a borked updgrade. I did zypper dup. The
> question is, that did not get addressed, is how to recover in the event
> you have a borked system. I really don’t want to start over.
>
> Oddly, I did a zypper dup on my laptop and it went fine. Not so much on
> the desktop. http://forums.opensuse.org/images/smiliesnew/crying.png

That bug only affects people that do a zypper dup FROM THE DVD. For a few days
at the time of the 11.4 release, it affected all upgrades, but the on-line repos
were quickly fixed. Anything that went wrong with your upgrade was not due to
this bug, unless you upgraded from the DVD.