table of contents
LOCKS(5) | LIBZYPP | LOCKS(5) |
NAME¶
locks - libzypp locking file
DESCRIPTION¶
The file /etc/zypp/locks is read by libzypp at start-up if zypp.conf allows it. The entries are used for initial locking of packages. Locking a package means not allowing to install or uninstall it.
Valid entries are of the form:
attribute: value
Locks are separated by an empty lines.
ATTRIBUTES¶
All attributes are lower-case.
repo
By default all repositories match.
type
By default all types match.
case_sensitive
The default is case insensitive.
install_status
The default is all.
match_type
The default is substring.
query_string
version
The operator is ==, !=, <, >, ⇐, >=. If operator is not specified then == is used.
The version has the format [epoch:]version[-release].
Example: version: < 0:0.11.4-2
solvable_name
solvable_summary
solvable_arch
solvable_description
solvable_eula
solvable_license
solvable_keywords
solvable_authors
solvable_group
update_reference_type
EXAMPLES¶
Exact Package
-----locks----- type: package solvable_name: k3b match_type: exact case_sensitive: on
Package Wildcard
-----locks----- type: package solvable_name: cross-*-gcc-icecream-backend match_type: glob case_sensitive: on
Versioned Lock
-----locks----- solvable_name: gcc match_type: glob version: > 4.2
Anything named KDE
-----locks----- solvable_name: kde
Anything mentioning KDE
-----locks----- query_string: kde solvable_name: solvable_summary: solvable_description:
HOMEPAGE¶
This manual page only covers the most important attributes. The complete list is available at <http://en.opensuse.org/Libzypp/Locksfile>
AUTHORS¶
Josef Reidinger <jreidinger@suse.cz> Manual page contributions by Martin Vidner <mvidner@suse.cz>.
SEE ALSO¶
2024-12-09 | SUSE Linux |