OpenSUSE package manager zypper lacks a way to see packages' version statuses in brief. It's also not possible to ignore package/RPM versions when checking or choosing packages to upgrade (eg. from version 1.2.3-1.2 to 1.2.4-1.2). With pkg_version-zypper.rb script you can first see a nice list of package statuses and ignore packages' minor versions (eg. from version 1.2.3-1.2 to 1.2.3-1.3) when upgrading your software.

In daily usage basis, this enables to avoid re-installing tens and tens of programs for no big reason (usually) and do it only when programs in repository has been updated.

NB! It is not an official recommendation to do so as packages have their version number for a reason!
I personally have been ignoring RPM versions for years and have not been into any trouble because of that.

Usually you'd want to use the script as: sudo ./pkg_version-zypper.rb -f '<' -r -u

But you can also take package versions into account: sudo ./pkg_version-zypper.rb -f '<' -r -u -p

Features

  • List and filter installed software versions
  • List abandoned software
  • Remove abandoned software
  • Upgrade software to the latest version from their native or foreign repository
  • Downgrade software if the only available versions are lower than the one installed

Project Samples

Project Activity

See All Activity >

Categories

Installers

License

GNU General Public License version 3.0 (GPLv3)

Follow pkg_version-zypper.rb

pkg_version-zypper.rb Web Site

Other Useful Business Software
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pkg_version-zypper.rb!

Additional Project Details

Operating Systems

Linux

Intended Audience

Advanced End Users

User Interface

Command-line

Programming Language

Ruby

Related Categories

Ruby Installers

Registered

2013-02-03