A long-lived project that still receives updates
A complement to the zypper CLI tool to upgrade the repositories before executing zypper dup.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 13.0
~> 3.0

Runtime

 Project Readme

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: