Closed pfee closed 9 months ago
Yes. A lock is a query and it prevents matching package to change their state. Installed ones stay installed, absent ones stay absent.
Thanks for the feedback, although a surprise (to me at least), it clarifies the rationale behind how zypper locks operate. Therefore I'm closing this ticket.
Experimenting with zypper locks on packages not yet installed, I find they lock out installation of the specified version, rather than encourage it. Is this intentional?
For example (output trimmed for brevity):
Above, the lock has prevented version
63.1
being installed, rather than encouraging it. This seems the opposite of what one would want. If I want to pre-select installation of a specified version by applying locks before installation, I can instead lock out every other version.Is it expected that version specific locks can lock in existing installations, but when applied to versions not yet installed, they block installation?