setup-repos

Setup Virtualmin repositories This command sets up or repairs Virtualmin software repositories. By default, it uses the currently configured branch, or stable if none is set. You can choose a specific branch with --branch stable, --branch prerelease, or --branch unstable, but prerelease and unstable are not recommended for normal users and should only be used for testing or development. You can also update the license serial and key used for Pro repositories by passing --serial and --key. If these are not provided, the existing values in /etc/virtualmin-license will be used. GPL users normally shouldn’t use --serial and --key unless they are switching to Virtualmin Pro repositories.

Setup Virtualmin repositories#

This command sets up or repairs Virtualmin software repositories.

By default, it uses the currently configured branch, or stable if none is set. You can choose a specific branch with --branch stable, --branch prerelease, or --branch unstable, but prerelease and unstable are not recommended for normal users and should only be used for testing or development.

You can also update the license serial and key used for Pro repositories by passing --serial and --key. If these are not provided, the existing values in /etc/virtualmin-license will be used. GPL users normally shouldn’t use --serial and --key unless they are switching to Virtualmin Pro repositories.

If --serial and --key are given and the license is not valid, the command will return an error unless you also pass --no-check.

Command line help#

virtualmin setup-repos [--branch <stable|prerelease|unstable>]
 [--serial number] [--key id] [--no-check]

Source: https://www.virtualmin.com/docs/development/api-programs/setup-repos/

  • virtualmin, user, update, command line, error, setup, repos
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Installation Guides

Virtualmin can be installed in a number of ways, including an automated install script, which...

Automated Installation

Recommended system specifications A freshly installed supported OS At least 1 GiB RAM (full...

Manual Installation

Unlike the Automated Virtualmin installation, to make use of this installation type, your OS does...

Uninstalling Virtualmin

If you only want to stop using Virtualmin Pro features and keep Virtualmin on the server, use the...

How to Install Scripts

This tutorial guides you through the process of using Virtualmin’s script installer to add web...