fabiomux/zypper-upgradedistro

zypper-upgradedistro

Opened this issue · 0 comments

This is a Bash script that collects all the required steps to upgrade openSUSE Leap to another release among those available, to check and upgrade the repositories it makes use of the zypper-upgraderepo package.

Step-by-step informs and drives the user to every action to perform:

  1. Check the get.opensuse.org website for a new release;
  2. update the packages to their last version;
  3. check for the enabled repository URLs for the upgraded versions, otherwise, raise an error;
  4. once all the enabled repositories are found, upgrade them;
  5. start downloading the packages which upgrade the distribution and cache them;
  6. once all the packages are downloaded upgrade the distro;
  7. reboot the system.

Besides the main features, it must:

  • keep track of the achieved steps in order to provide a resume option;
  • allow skipping some steps that can be avoided without breaking the upgrade process;
  • take care of the export/import of the invalid repository URLs.