Effortless Upgrade to Leap Micro 6.1 Beta with opensuse-migration-tool

Leap Micro 6.1 Beta was officially released last Wednesday, available for download at get.opensuse.org. This version is largely a rebrand of SUSE Linux Enterprise Micro 6.1. If no major issues arise, expect a quick transition to RC and GA next week.

One exciting feature is the introduction of the opensuse-migration-tool, which simplifies upgrades to newer major releases. Here’s how to use this tool with older versions and Leap Micro 6.1 Beta.

Benefits of opensuse-migration-tool

  • Simplified Upgrades: No need for manual repository changes.
  • Effortless Process: Ensures smooth transitions to newer versions.
  • Experimental Stage: Still under development, so some issues may occur.

How to Use opensuse-migration-tool

1. Testing in Leap Micro Container Using Distrobox

Start with an older version of Leap Micro.

Steps:

  1. Clone the tool’s repository:
    bash
    git clone https://github.com/openSUSE/opensuse-migration-tool.git
    cd opensuse-migration-tool
  2. Create a container with distrobox:
    bash
    distrobox create –image registry.opensuse.org/opensuse/leap-micro/6.0/toolbox –name micro60
    distrobox enter micro60
  3. Install dependencies:
    bash
    zypper in bc jq curl dialog sed gawk
  4. Simulate the upgrade:
    bash
    ./opensuse-migration-tool –pre-release –dry-run
  5. Run the upgrade:
    bash
    sudo ./opensuse-migration-tool –pre-release
  6. Verify the OS version:
    bash
    cat /etc/os-release

Note: If issues arise, reset the container with:

bash
podman stop micro60 && distrobox rm micro60

2. Testing on Leap Micro Host or VM

Applicable to Leap Micro 6.0 or 5.5.

Steps:

  1. Enter transactional shell:
    bash
    sudo transactional-update shell
  2. Install dependencies and clone repository:
    bash
    zypper in git bc jq curl dialog sed gawk
    git clone https://github.com/openSUSE/opensuse-migration-tool.git
    cd opensuse-migration-tool
  3. Simulate the upgrade:
    bash
    ./opensuse-migration-tool –pre-release –dry-run
  4. Perform the upgrade:
    bash
    sudo ./opensuse-migration-tool –pre-release
  5. Reboot the system

3. Upgrading Leap Micro 6.1 to MicroOS

For Leap Micro 6.1 Beta users, the only target is MicroOS.

Steps:

  1. Install opensuse-migration-tool:
    bash
    sudo transactional-update shell
    zypper in opensuse-migration-tool
  2. Simulate changes:
    bash
    sudo opensuse-migration-tool –dry-run
  3. Upgrade to MicroOS:
    bash
    sudo opensuse-migration-tool

Known Issues

  • Bug #1233982: Upgrade failure on netcfg using distrobox.
    Solution: Ignore by typing i in zypper dup interactive mode.

Want to Contribute?

You can contribute by submitting pull requests, reporting bugs, or providing feedback to the openSUSE Migration Tool repository.

Tirsasaki
Tirsasaki

I’m a Linux enthusiast who loves sharing knowledge about technology and open-source software. As a writer for Conslinux.com, I create easy-to-follow tutorials, tips for troubleshooting, and helpful guides to make your computing experience better. I enjoy exploring different Linux distributions and am excited to share my insights with the community!

Articles: 215

Leave a Reply

Your email address will not be published. Required fields are marked *