Previous page

Next page

Locate page in Contents

Print this page

vzpkg status

This command is used to check the status of the packages either installed inside a Container or included in an OS EZ template.

Syntax

vzpkg status [ options ] <CT_ID|CT_name|OS_template>

Options

Name

Description

-C, --cache

Makes the vzpkg status command look for available updates in the local vzpkg cache only. 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 status look for the package updates in the remote repositories set for handling the corresponding EZ template.

-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.

When executed, the command performs the following operations:

  • Checks all the packages installed inside the specified Container or included in the specified OS EZ template.
  • Checks the repository used to install/update packages inside the Container/OS EZ template.
  • Compares the packages in the repository with those inside the Container/OS EZ template.
  • Lists the found packages updates for the Container/OS EZ template, if any, or informs you that the Container/OS EZ template is up-to-date.

Note: The vzpkg status command can be executed for running Containers only.