vzpkg info
This command displays information about EZ templates, YUM software packages, and individual software packages.
Syntax
vzpkg info
[
-F
OS_template
|
CT_ID
|
CT_name
]
-q
|
-d
<app_template>
[
<parameters>
...]
vzpkg info -p|-g
[
-C
|
-r
] [
-F
<OS_template
|
CT_ID
|
CT_name>
]
-q
|
-d
<package_name>
|
<yum_package_group>
[
<parameters>
...]
Options
Name
|
Description
|
CT_ID|CT_name
|
Container ID or name.
|
OS_template
|
OS EZ template.
|
<app_template>
|
Application EZ template.
|
<package_name>
|
Software package name.
|
<yum_package_group>
|
YUM software group name.
|
-F, --for-os
<OS_template
|
CT_ID
|
CT_name>
|
Displays information on the application EZ template or the software package (if the
-p
option is specified) included in the specified OS EZ template or applied to the indicated Container.
|
-p, --package
|
Displays information about the specified software package. Must be used with the
-F
option.
|
-g, --groups
|
Displays information about the packages included in the specified YUM software group.
|
-C, --cache
|
Displays the information on the specified package from the local
vzpkg
cache. You can omit this parameter if the elapsed time from the last
vzpkg
cache update does not exceed the value of the
METADATA_EXPIRE
parameter specified in the
/etc/vztt/vztt.conf
file.
|
-r, --remote
|
If the elapsed time from the last
vzpkg
cache update does not exceed the value of the
METADATA_EXPIRE
parameter specified in the
/etc/vztt/vztt.conf
file, you should use this option to make
vzpkg info
get the information on the specified package from the remote repositories set for handling the EZ template where this package is included.
|
-d, --debug
<num>
|
Sets the debugging level to one of the specified values (from 0 to 10). 10 is the highest debug level and 0 sets the debug level to its minimal value.
|
-q, --quiet
|
Disables logging to the screen and to the log file.
|
While executed,
vzpkg info
parses the subdirectories and files located in the
/vz/template/<
os_name
>/<
os_version
>/<
arch
>/config
directory and containing the EZ template meta data. To run the command, you should specify either the OS EZ template name or the Container ID. In either case, detailed information on the corresponding OS EZ template is displayed. You can also use the
-F
option to get the necessary information on any application EZ template included into the OS EZ template or applied to the Container.
By default,
vzpkg info
displays all meta data on the EZ template/package specified. However, you can reduce the amount of the output information by using special parameters (<
parameters
>) listed in the table below.
Output Parameters
Name
|
Description
|
name
|
The name of the EZ template/package.
|
packages
|
The packages included in the EZ template. For EZ templates only.
|
repositories
|
The repository where the packages comprising the EZ template are stored. For EZ templates only.
|
mirrorlist
|
The URL to the file containing a list of repositories from where the packages comprising the EZ template are to be downloaded. For EZ templates only.
|
distribution
|
The Linux distribution on the basis the OS EZ template has been created or under which the application EZ template is to be run. For EZ templates only.
|
summary
|
Brief information on the EZ template/package.
|
description
|
Detailed information on the EZ template/package. As distinct from
summary
, it can contain additional data on the EZ template/package.
|
technologies
|
Displays the following information:
-
The microprocessor architecture where the EZ template is to be used (
x86
,
x86
);
-
Specifies whether the EZ template can be used only on the servers with the Native POSIX Thread Library (NPTL) support. In this case the
nptl
entry is displayed after the
vzpkg info
execution.
For EZ templates only.
|
version
|
The version of the software package.
|
release
|
The release of the software package.
|
arch
|
The system architecture where the EZ template/package is to be used. It can be one of the following:
-
x86
if the EZ template/package is to be used on 32-bit platforms.
-
x86_64
if the EZ template is to be used on x86-64-bit platforms (e.g., on servers with the AMD Opteron and Intel Pentium D processors installed).
|
config_path
|
Displays the path to the EZ template configuration directory containing the template meta data where the meta data for the base OS EZ template are stored (the default directory path is
/vz/template/
<OS_name>
/
<OS_version>
/
<arch>
/config/os/default
).
|
package_manager_type
|
The packaging system used to handle the packages included in the specified EZ template. It can be one of the following:
-
rpm
for RPM-based Linux distributions (Fedora Core, Red Hat Enterprise Linux, etc.);
-
dpkg
for Debian-based Linux distributions (e.g., Debian and Ubuntu).
For EZ templates only.
|
package_manager
|
The package manager type for managing the packages included in the specified EZ template. It can be one of the following:
x86 Linux distributions
-
rpm49db5x86
: Fedora 17
-
rpm49x86
: Fedora 15 and 16
-
rpm47x86
: Red Hat Enterprise Linux 6 and CentOS 6
-
rpm44x86
: Red Hat Enterprise Linux 5 and CentOS 5
-
rpm43x86
: Red Hat Enterprise Linux 3 and 4, CentOS 3 and 4
-
rpmzypp44x86
: SUSE Linux Enterprise Server 11 with Service Pack 2
-
rpm41x86
: SUSE Linux Enterprise Server 10 and SUSE Linux 10.
x
-
rpm41s9x86
: SUSE Linux Enterprise Server 9
-
rpmzypp49x86
: openSUSE 12.1
-
dpkg
: Debian and Ubuntu
x86-64 Linux distributions
-
rpm49db5x64
: Fedora 17
-
rpm49x64
: Fedora 15 and 16
-
rpm47x64
: Red Hat Enterprise Linux 6 and CentOS 6
-
rpm44x64
: Red Hat Enterprise Linux 5 and CentOS 5
-
rpm43x64
: Red Hat Enterprise Linux 3 and 4, CentOS 3 and 4
-
rpmzypp44x64
: SUSE Linux Enterprise Server 11 with Service Pack 2
-
rpm41x64
: SUSE Linux Enterprise Server 10 and SUSE Linux 10.
x
-
rpm41s9x64
: SUSE Linux Enterprise Server 9
-
rpmzypp49x64
: openSUSE 12.1
-
dpkgx64
: Debian and Ubuntu
|
|