wpkg --update

Options Comments
--admindir Define the administration directory, where the database of the installed packages resides.
--debug Define a set of flags of things to print out for debug purposes.
--instdir Define the installation directory, where the data files are installed on the target.
--quiet Request for warning messages to not be displayed.
--root Define the installation root path.
--verbose Display log information of level INFO.

The --update command uses the sources.list file found in the core directory and updates all the repository indexes saved in the target. This process allows wpkg to compute the list of packages to upgrade, if any need to be upgraded, and what packages are available for installation.

The list of repository indexes also allows one to search the repositories using wpkg.

The --update command should be run once before using the --upgrade or --upgrade-urgent commands. That way you ensure you have the latest indexes and thus you upgrade your target with the latest all at once.

Information about the last --update run can be found in a file named update.index found under your administration directory inside the core sub-directory. This file can be printed with more human readable information using the --update-status command.

The --update command works with sources that can be managed with the --add-sources, --list-sources, and --remove-sources.

Syndicate content