Wagon

From openSUSE

This article is a stub!
This article needs to be expanded. You are welcome to help in line with the openSUSE:Wiki Style Guidelines.

Overview

Wagon is a Yast module for distribution upgrades. It is available in both the ncurses and QT menu environments. It performs the same basic functions as zypper dup.

Just as with zypper dup, it will not modify your currently selected repositories, so you must disable old repositories and enable new ones prior to using Wagon. If the repositories are not modified, then Wagon will update all packages to the latest available from your currently enabled repositories.

It is available in SLES / SLED and can be used as Migration Tool for Service Packs in Code 11. (is that right? I suspect the details are wrong.)

It is also available in OpenSUSE 11.1 and can be used to upgrade from OpenSUSE 11.1 to 11.2.

If used with OpenSUSE factory it will update all available packages. In particular if used with the milestone repo, Wagon will upgrade a installation to the current milestone.

Example usage: Upgrading from 11.1 to 11.2 via Wagon

  1. Ensure you have yast2-wagon installed
    1. From CLI -- "sudo zypper in yast2-wagon", or
    2. From GUI
      1. alt-f2
      2. yast
      3. click software management
      4. search for wagon
      5. click on checkbox
      6. click on accept
  2. Update your 11.1 installation to the latest available packages in the repos (Optional, but advised)
    1. From CLI -- sudo zypper dup, or
    2. From KDE -- kdesu -c yast2 wagon or
    3. From Gnome -- gnomesu yast2 wagon
      1. Do not register at this time. Registration via wagon is unreliable at best and is not required at this time. In particular, registration can segfault when run on opensuse 11.1 if installed packages are out of sync.
  3. Ensure you have the the correct repositories enabled
    1. Click repository management
    2. disable all repositories not 11.2 compatible
    3. add these repo's by url:
      1. "openSUSE 11.2 Oss" - http://download.opensuse.org/distribution/11.2/repo/oss/
      2. "openSUSE 11.2 Non-OSS" - http://download.opensuse.org/distribution/11.2/repo/non-oss
      3. "openSUSE 11.2 Updates" - http://download.opensuse.org/update/11.2/
    4. Search for updated openSUSE 11.2 compatible third-party repositories and add them. WARNING: Use with caution. Using third-party repositories could increase the chances that the upgrade will not complete correctly.
  4. start YaST2 wagon
    1. From CLI using ncurses -- "sudo /sbin/yast2 wagon" or
    2. From CLI using GUI -- "kdesu -c yast2 wagon" or
    3. From KDE -- <alt-F2> "kdesu -c yast2 wagon" or
    4. From Gnome -- "gnomesu yast2 wagon"
  5. follow the dialogs
    1. The first choice is what url to upgrade from, select the "Customer Center" and click next.
    2. Select "Registration - Configure Later"
      1. As of 11.2 GM the "Configure Now" selection is not working properly. Also hitting the Details button can stop your upgrade.
  6. reboot