Difference between revisions of "WPKG flags"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
 
Line 1: Line 1:
See '''[[Wpkg.js]]''' for a list of all WPKG flags with descriptions.
+
'''[http://wpkg.org WPKG] flags (for WPKG-0.80-test1):'''
 +
 
 +
'''/profile:<profile>''' - Forces the name of the current profile. If not specified, the profile is looked up using hosts.xml.
 +
 
 +
'''/base:<path>''' - Sets the local or remote path to find the settings files.
 +
 
 +
'''/query:<option>''' - Displays a list of packages matching the specified criteria. Valid options are:
 +
    a - all packages
 +
    i - packages that are currently installed on the system
 +
    x - packages that are not currently installed on the system
 +
    u - packages that can be upgraded
 +
 
 +
'''/show:<package>''' - Displays a summary of the specified package, including it's state.
 +
 
 +
'''/install:<package>''' - Installs the specified package on the system.
 +
 
 +
'''/remove:<package>''' - Removes the specified package from the system.
 +
 
 +
'''/upgrade:<package>''' - Upgrades the already installed package on the system.
 +
 
 +
'''/synchronize''' - Synchronizes the current program state with the suggested program state of the specified profile. This is the action that should be called at system boot time for this program to be useful.
 +
 
 +
'''/quiet''' -  Uses the event log to record all error/status output. Use this when running unattended.
 +
 
 +
'''/force''' - Uses force when performing actions (does not honour wpkg.xml). Handy when you're not sure if your system is "up to date" with the state described in hosts.xml, packages.xml and profiles.xml (i.e., when someone was adding / removing software by other means than WPKG). It will "scan" your system for all possible packages from packages.xml, and then, install and/or uninstall packages, according to profiles.xml / packages.xml / hosts.xml for a given host.
 +
 
 +
'''/forceinstall''' - Forces installation over existing packages. The "install" command will be run, even if "check" conditions are met. This can be useful to "repair" packages etc.
 +
 
 +
'''/debug''' or '''/verbose''' - Prints some debugging info. Prints everything WPKG does, useful for packet installation debugging (and for new users which need to understand how WPKG works).
 +
 
 +
'''/dryrun''' - "Simulates" packet installing, without installing anything.
 +
 
 +
'''/help''' - Shows these flags with brief description message.

Revision as of 21:23, 24 June 2005

WPKG flags (for WPKG-0.80-test1):

/profile:<profile> - Forces the name of the current profile. If not specified, the profile is looked up using hosts.xml.

/base:<path> - Sets the local or remote path to find the settings files.

/query:<option> - Displays a list of packages matching the specified criteria. Valid options are:

    a - all packages
    i - packages that are currently installed on the system
    x - packages that are not currently installed on the system
    u - packages that can be upgraded

/show:<package> - Displays a summary of the specified package, including it's state.

/install:<package> - Installs the specified package on the system.

/remove:<package> - Removes the specified package from the system.

/upgrade:<package> - Upgrades the already installed package on the system.

/synchronize - Synchronizes the current program state with the suggested program state of the specified profile. This is the action that should be called at system boot time for this program to be useful.

/quiet - Uses the event log to record all error/status output. Use this when running unattended.

/force - Uses force when performing actions (does not honour wpkg.xml). Handy when you're not sure if your system is "up to date" with the state described in hosts.xml, packages.xml and profiles.xml (i.e., when someone was adding / removing software by other means than WPKG). It will "scan" your system for all possible packages from packages.xml, and then, install and/or uninstall packages, according to profiles.xml / packages.xml / hosts.xml for a given host.

/forceinstall - Forces installation over existing packages. The "install" command will be run, even if "check" conditions are met. This can be useful to "repair" packages etc.

/debug or /verbose - Prints some debugging info. Prints everything WPKG does, useful for packet installation debugging (and for new users which need to understand how WPKG works).

/dryrun - "Simulates" packet installing, without installing anything.

/help - Shows these flags with brief description message.