zypper update package to the previous version (not the last)

user72394 picture user72394 · Sep 23, 2014 · Viewed 13.6k times · Source

How do I update (not install) an package pmc-rpm from repository myRepo to version 10.3.3-1 (but not to the last one!) in SUSE 10.1 command line (zypper)?

So I update the package normally, but this time I have to install the pre-previous package and after that the next and the next and then the last one.

zypper update -t package pmc-rpm

Answer

user72394 picture user72394 · Sep 25, 2014

So, for package update you can use also install parameter.

  1. List all package in your repository

    zypper pa -ir repository

  2. Then choose the version you need

    zypper in pmc-rpm=10.1.3-1

Thank you folks!