Possible to mark a package as "never downgrade"?

I’ve got geany 0.16 installed from OBS, but I don’t have the repo it came from enabled. Geany 0.15 is available in one of my enabled repos, so every time I run zypper dup it tries to downgrade geany from 0.16 to 0.15.

Is there a way to mark a package so that it is never downgraded, no matter what?

  • wadenelson,

man zypper, check the section named “Package Locks Management”
In short, “sudo zypper addlock packagename”

HTH

Uwe

As always, the yast software module can be used to lock the package as well.