Upgrade to 11.3 using zypper dup

Hi:

I just run

zypper dup

on my 11.2 box. Apparently it did ok, but I can’t see any change. How can I check if I have 11.3 now? Thanks!

You should read this:

SDB:System upgrade - openSUSE

You haven’t upgrade to 11.3 with a simple “zypper dup”.

If you can find the space on your hard disk, then I would suggest a clean install of 11.3 alongside your 11.2 install.
This allows you to setup 11.3 while still being able to use 11.2 normally.

Don’t be afraid to upgrade. I have done it at multiple systems, without problems. Just follow the guide.

Ok, I have read man pages for zypper dup and now I understand better what it does. I thought It’d perform the upgrade to the new distribution version. I’ll try the yast2-wagon module and see.

Thanks!

Well, I tried wagon, but quite frankly I didn’t understand what it was doing… so I’m moving to the command line tools.

I see in the guide that the only repos to be added are those for the 11.3 distro. I have some others (like nvidia, packman & google chrome), which have been disabled as stated in the upgrade guide. Should I change those? Where can I find new urls for those? Thanks!

Hi,

You will need to find the correct repositories for the openSUSE version
you are using; a list of repositories can be found here:
http://en.opensuse.org/Additional_package_repositories’.


Regards,
Barry

On 2010-08-14 22:36, mchojrin wrote:
>
> Well, I tried wagon, but quite frankly I didn’t understand what it was
> doing… so I’m moving to the command line tools.
>
> I see in the guide that the only repos to be added are those for the
> 11.3 distro. I have some others (like nvidia, packman & google chrome),
> which have been disabled as stated in the upgrade guide. Should I change
> those? Where can I find new urls for those? Thanks!

IMO, it is better to leave out any other repo except oss, non-oss, and update. Do the dup, and
later, once your system runs ok, add the others and whatever apps you need from them.

Note: I always do system upgrades, since SuSE 5.2. But also, I always test the new version on
another partition: the new version might not work for you. Also, I always make a full backup.

In other words: don’t jump without a safety net. This goes for fresh install and upgrades. Both.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

+1. Pleased to hear it, as I’ve successfully stuck with both parts of that approach, and the very few install problems I recall were down to my own mistakes.

Thanks for your help! I have succesfully upgraded my system, and it seems to be working just fine. The process was a little cumbersome though. I did backup my system first, so just in case, I can go back to previous state if things go wrong, but apparently it’s not the case :).

So, btw, what upgrade method do you recommend? (I still need to upgrade two similar systems, and I don’t want to do this mess all over) Should I download the network installation iso, the liveCD, or any other? Thanks!

On 08/15/2010 10:06 AM, mchojrin wrote:
>
> Thanks for your help! I have succesfully upgraded my system, and it
> seems to be working just fine. The process was a little cumbersome
> though. I did backup my system first, so just in case, I can go back to
> previous state if things go wrong, but apparently it’s not the case :).
>
> So, btw, what upgrade method do you recommend? (I still need to upgrade
> two similar systems, and I don’t want to do this mess all over) Should I
> download the network installation iso, the liveCD, or any other? Thanks!

The liveCD cannot do an upgrade - only the NET install and the DVD. Download,
burn and boot the NET install and do the upgrade with it. I followed this
procedure on my sandbox machine all during the 11.3 M series.

I just did an 11.2 to 11.3 update following the instructions on the wiki (the command line zypper instructions, not the GUI) and it worked but after I rebooted to the new system, Gnome just sat there after log in. Nothing popped up on the screen at all. The ~/.xsession_errors had a lot of Tracker errors (but these seem to show up even on a fresh install system that is “working fine”, and was also waiting for DBUS. Luckily I also had XFCE installed, and tried uninstalling/reinstalling Gnome through Yast Software Management - dependency NIGHTMARE (also Yast segfaulted). Now gnome logs in, but all the menu items are gone, compiz and tomboy are complaining. Looks like I’ll have to reinstall from 11.3 DVD…

Also had a similar problem with KDE when upgrading another system from 10.3 to 11.1 (newest release at the time). Upgrade completely hosed that system, KDE never worked again, had to reinstall.

(I’ve always liked linux, but never liked KDE and Gnome. They’ve just become monstrous and unmanageable. Dependencies sprawling throughout all parts of any GUI app. For instance if I only have Gnome installed, I still need 20-30 KDE-related packages, and vice-versa. I wish the projects would have merged years ago, and saved thousands of programmer hours in duplicating identical functionality on 2 platforms, not to mention making life easier for all linux users)


So my advice is keep your /home on a separate partition, backup any non-rpm packages (such as things that get installed to /usr/local or /opt) and do a fresh install every time (make sure you choose NOT to format /home during the partition setup).

On 2010-08-15 17:06, mchojrin wrote:
>
> Thanks for your help! I have succesfully upgraded my system, and it
> seems to be working just fine. The process was a little cumbersome
> though. I did backup my system first, so just in case, I can go back to
> previous state if things go wrong, but apparently it’s not the case :).
>
> So, btw, what upgrade method do you recommend? (I still need to upgrade
> two similar systems, and I don’t want to do this mess all over) Should I
> download the network installation iso, the liveCD, or any other? Thanks!

I use upgrade via DVD.

There is a problem I still haven’t solved, and is using internet repositories while doing an upgrade
from dvd (not everything is on the DVD). I thought it worked, but last one I tried failed. Dunno.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

On 2010-08-16 18:52, threepercentmilk wrote:
>
> I just did an 11.2 to 11.3 update following the instructions on the wiki
> (the command line zypper instructions, not the GUI) and it worked but
> after I rebooted to the new system, Gnome just sat there after log in.
> Nothing popped up on the screen at all. The ~/.xsession_errors had a
> lot of Tracker errors (but these seem to show up even on a fresh install
> system that is “working fine”, and was also waiting for DBUS. Luckily I
> also had XFCE installed, and tried uninstalling/reinstalling Gnome
> through Yast Software Management - dependency NIGHTMARE (also Yast
> segfaulted). Now gnome logs in, but all the menu items are gone, compiz
> and tomboy are complaining. Looks like I’ll have to reinstall from 11.3
> DVD…

You should have tried first creating a new user.

> (I’ve always liked linux, but never liked KDE and Gnome. They’ve just
> become monstrous and unmanageable. Dependencies sprawling throughout
> all parts of any GUI app. For instance if I only have Gnome installed,
> I still need 20-30 KDE-related packages, and vice-versa. I wish the
> projects would have merged years ago, and saved thousands of programmer
> hours in duplicating identical functionality on 2 platforms, not to
> mention making life easier for all linux users)

I have them both installed, they work fine. Have done so for over a decade :slight_smile:

Merge? No way. Where could all the people running away from kde4 kde4 gone to? Gnome, of course >:-)
Linux is about having several choices.

>
> —
>
> So my advice is keep your /home on a separate partition, backup any
> non-rpm packages (such as things that get installed to /usr/local or
> /opt) and do a fresh install every time (make sure you choose NOT to
> format /home during the partition setup).

/usr/local can also be a separate partition, which is not formatted.

Also, remember that after a “zypper dup” you have to run “SuSEconfig”. And after any upgrade, run
“rcrpmconfigcheck” and review all the config files it mentions.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))