Skip to content

fabiomux/zypper-upgraderepo

Repository files navigation

Zypper-Upgraderepo

Zypper-Upgraderepo helps to check and upgrade the configured repositories validating or looking for the current, next or a custom valid version, reporting the errors and trying to find an alternative URL when possible.

It can be also be installed as Zypper plugin using the Zypper Upgraderepo Plugin.

Ruby Gem Version

Installation

There are a couple of options to install this application.

Rubygem

Install it as a regular Ruby gem with:

$ gem install zypper-upgraderepo

From the openSUSE Build Service repository

This application has been packaged in my personal OBS repository so you can install It as a common RPM package:

  • Add the repository URL in your list;
  • install the package from Yast or Zypper.

Being the repository URL slightly changing from a version to another, I included all the steps in the related project page at my blog.

Usage

Warning!!! The executables name prior the 1.8.0 version was zypper-upgraderepo, unfortunately the RPM package installation introduces annoying copies of the same executable with a Ruby version appended (zypper-upgraderepo.version, zypper-upgraderepo.rubyversion, zypper-upgraderepo.rubyversion.version) interpreted by zypper itself as different subcommands. So I considered more convenient to remove the zypper prefix from the original executable and let the sole zypper-upgraderepo-plugin package install it as a zypper plugin.

To check the availability of the current repositories:

$ upgraderepo

To check the availability of the next version repositories:

$ upgraderepo --check-next

To upgrade the repositories to the next version:

$ sudo upgraderepo --upgrade

Get help

Where to start:

$ upgraderepo --help

More Help:

More info is available at: