1 .TH "locks" "5" "0.4.20" "libzypp" "System Tools"
4 locks - libzypp locking file
8 The file \fI/etc/zypp/locks\fR has been read by libzypp at startup if zypp.conf allow it. The entries is used for initial lock of package. Lock package mean does't allow install or uninstall package. Valid entries are
10 \fI attribute\fR\fB:\fR \fIvalue\fR
11 Where attributes and its values is described below.
13 Locks is separated by empty line.
18 description of attributes. All attributes are lower-case.
22 specifies repository restriction. Only allias is accepted.
24 Default is allowed all repositories.
28 type restriction - kind can be package,patch,pattern,product and srcpackage.
34 if string is matched case sensitive.
36 default is case insensitive
40 if all string must match or at least one
42 values are \fBtrue\fR for all match and \fBfalse\fR for at least one
48 status of object. Possibly states is installed,not-installed and all. If more install status is specified then last is used.
50 values are \fBinstalled\fR for all packages which is installed,\fBnon-installed\fR for packages which can be install or reinstall and \fBall\fR for both.
56 type of string in value. Not affect kind and repo which must be exactly specified.
58 values are \fBexact\fR for exact match, \fBsubstring\fR if string contains value, \fBregex\fR for regular expressions, \fBglob\fR for matching as in command line and \fBword\fR.
64 string for all attributes. Can be restricted by attribute with empty value.
75 .B solvable_description
80 license text of non-opensource object
84 license of package (only for package)
88 keywords which specify object
95 .B update_reference_type
96 reference for update (e.g. bugzilla,cve) (only for patch)
104 locks everything which contains kde
111 .B shareware from repository non-oss or factory
112 locks each package which is shareware from repository non-oss or factory
116 solvable_license: shareware
132 all objects which contains kde(only low letters) in name and description and second lock for everything which have x11 keyword
140 solvable_description:
148 solvable_keywords: x11
152 lock k3b (e.g. don't want update it)
154 preferred way is use zypper addlock command (or Yast when they support new locks api-not now)
164 http://en.opensuse.org/Libzypp/Locksfile
168 Josef Reidinger <jreidinger@suse.cz>