Useful
yum
Variables
145
gpgkey=
URL
This option allows you to point to a URL of the ASCII-armoured GPG key file for a repository. This
option is normally used if
yum
needs a public key to verify a package and the required key was not
imported into the RPM database.
If this option is set,
yum
will automatically import the key from the specified URL. You will be
prompted before the key is installed unless you set
assumeyes=1
(in the
[main]
section of
/
etc/yum.conf
) or
-y
(in a
yum
transaction).
exclude=
<package name/s>
This option is similar to the
exclude
option in the
[main]
section of
/etc/yum.conf
. However,
it only applies to the repository in which it is specified.
includepkgs=
<package name/s>
This option is the opposite of
exclude
. When this option is set on a repository,
yum
will only be
able to see the specified packages in that repository. By default, all packages in a repository are
visible to
yum
.
12.5. Useful
yum
Variables
The following is a list of variables you can use for both
yum
commands and
yum
configuration files (i.e.
/etc/yum.conf
and
.repo
files).
$releasever
This is replaced with the package's version, as listed in
distroverpkg
. This defaults to the
version of the
redhat-release
package.
$arch
This is replaced with your system's architecture, as listed by
os.uname()
in Python.
$basearch
This is replaced with your base architecture. For example, if
$arch
=i686 then
$basearch
=i386.
$YUM
0-9
This is replaced with the value of the shell environment variable of the same name. If the shell
environment variable does not exist, then the configuration file variable will not be replaced.
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 22: ...xxii ...
Страница 28: ......
Страница 36: ...10 ...
Страница 40: ...14 ...
Страница 96: ...70 ...
Страница 116: ...90 ...
Страница 144: ...118 ...
Страница 146: ......
Страница 158: ...132 ...
Страница 165: ...Installing and Removing Packages 139 Figure 11 7 Installing and removing packages simultaneously ...
Страница 166: ...140 ...
Страница 172: ...146 ...
Страница 178: ......
Страница 228: ...202 ...
Страница 264: ...238 ...
Страница 318: ...292 ...
Страница 330: ...304 ...
Страница 388: ...362 ...
Страница 428: ...402 ...
Страница 452: ......
Страница 458: ...432 ...
Страница 476: ...450 ...
Страница 478: ...452 ...
Страница 494: ...468 ...
Страница 498: ...472 ...
Страница 530: ...504 ...
Страница 536: ...510 ...
Страница 544: ...Chapter 36 Log Files 518 Figure 36 7 Log file contents after five seconds ...
Страница 546: ......
Страница 550: ...524 ...
Страница 576: ......
Страница 584: ...558 ...
Страница 608: ......
Страница 776: ...750 ...
Страница 796: ...770 ...
Страница 800: ...774 ...
Страница 804: ......
Страница 806: ...780 ...
Страница 808: ...782 ...
Страница 816: ...790 ...
Страница 820: ...794 ...
Страница 822: ...796 ...
Страница 830: ...804 ...
Страница 836: ...810 ...
Страница 844: ...818 ...
Страница 848: ...822 ...