Previous page

Next page

Locate page in Contents

Print this page

vzpkgrm

This utility is used to roll back an application or OS template update from a Container. It has the following syntax:

vzpkgrm [options] <CT_ID> <template>[/<version>] ...

This command will downgrade a template (<template>) to the previous installed version in the Container with the id of <CT_ID>. If the <version> parameter is specified, vzpkgrm will downgrade the template to this particular version.

You may specify a number of templates for downgrading. It can be useful, for example, if the templates have complex interdependencies. The vzpkgrm utility handles these dependencies automatically.

The options available to this command are:

-h, --help

Display the usage info and exit.

-q, --quiet

Suppress warning messages and progress bar.

-v, --verbose

Verbose mode.

-f, --force

Force template un-installation. This option tells Container package manager to disregard unresolved dependencies and file conflicts with other packages installed in the Container. In case of RPM-based Containers, this option is translated into -–nodeps -–force switches of RPM invocation. It is not recommended to use this option since it could break consistency of package manager database inside the Container.

-r, --remove

By default, vzpkgrm does not remove the application template completely, it downgrades it to the previous available version. This option allows complete removal of the template from the Container.

A Container has to be running in order to roll back a template or template upgrade from it.

Please send us your feedback on this help page