ZypperUpgraderepo app

Ruby application which automatize the repository’s URLs check and upgrade procedure for openSUSE Leap, providing a set of commands to better accomplish that tedious task, from backup to self discovery an alternative URL in case something goes wrong. With time it evolved to check also for the current repository availability or downgrade to an older version.


From Rubygems

$ gem install zypper-upgraderepo

From OBS repository (openSUSE Leap 13.2)

$ sudo zypper ar https://download.opensuse.org/repositories/home:/FabioMux/openSUSE_Leap_13.2/home:FabioMux.repo
$ sudo zypper in zypper-upgraderepo-plugin

From OBS repository (openSUSE Leap 42.1)

$ sudo zypper ar https://download.opensuse.org/repositories/home:/FabioMux/openSUSE_Leap_42.1/home:FabioMux.repo
$ sudo zypper in zypper-upgraderepo-plugin

From OBS repository (openSUSE Leap 42.2)

$ sudo zypper ar https://download.opensuse.org/repositories/home:/FabioMux/openSUSE_Leap_42.2/home:FabioMux.repo
$ sudo zypper in zypper-upgraderepo-plugin

From OBS repository (openSUSE Leap 42.3)

$ sudo zypper ar https://download.opensuse.org/repositories/home:/FabioMux/openSUSE_Leap_42.3/home:FabioMux.repo
$ sudo zypper in zypper-upgraderepo-plugin

From OBS repository (openSUSE Leap 15.0)

$ sudo zypper ar https://download.opensuse.org/repositories/home:/FabioMux/openSUSE_Leap_15.0/home:FabioMux.repo
$ sudo zypper in zypper-upgraderepo-plugin

From OBS repository (openSUSE Leap 15.1)

$ sudo zypper ar https://download.opensuse.org/repositories/home:/FabioMux/openSUSE_Leap_15.1/home:FabioMux.repo
$ sudo zypper in zypper-upgraderepo-plugin

From OBS repository (openSUSE Leap 15.2)

$ sudo zypper ar https://download.opensuse.org/repositories/home:/FabioMux/openSUSE_Leap_15.2/home:FabioMux.repo
$ sudo zypper in zypper-upgraderepo-plugin


Articles on FreeAptitude

External resources


Version 1.4.0 (July 25, 2020)

  • Refactored the overrides variable handling;
  • Improved the help interface;
  • Code cleanup and refactoring;
  • Added comments in the ini view and case lowered all the keys;
  • Added the RepositoryList#upgrade! method;
  • Added the --only-invalid option;
  • Improved and made univocal the association between a repository and its number;
  • Fixed the option value used by --load-overrides;
  • Added the Request#cache! method to reset the cached page;
  • Added the FileNotFound error class;
  • Extended the use of loading overrides from file as option for other check and upgrade commands;
  • Added the RepositoryList#only_enabled? and Repository#enable! methods;
  • Added error code for different errors raised.

Version 1.3.0 (March 13, 2020)

  • Added the check-from-file operation;
  • Added the upgrade-from-file operation;
  • Added the ini view;
  • Added the exit-on-fail option;
  • Added the quiet view;
  • Added the "system update" check before saving the upgraded repos;
  • Added the reset operation.

Version 1.2.0 (December 20, 2018)

  • Improved the checking procedure;
  • Improved the alternative URL finding procedure;
  • Added the --only-repo option to check and upgrade only specified repos;
  • Added the upgrade view;
  • Added server timeout handling;
  • Fixed the interruption error handling;
  • Code cleanup and refactoring.

Version 1.1.0 (September 03, 2018)

  • New report view;
  • Improved the system to find alternative URLs;
  • Added repo sorting for alias, name and priority;
  • Added the column 'enabled' on table view;
  • Minor fixes.

Version 1.0.2 (August 21, 2018)

  • Fixed a typo error while calling a Messages method;
  • Help is now the defaul action.

Version 1.0.1 (July 02, 2018)

  • Small fixes on the checking result table.

Version 1.0.0 (June 26, 2018)

  • First public release

Share to