wpkg --add-sources
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 --add-sources command lets you add a source to your sources.list file. That file is defined under your core package in your target database. The --add-sources command takes one or more parameters each of which needs to be a full source description. The function checks the validity of the line before adding it. If not valid, an error is generated and the sources.list file is not changed.
It is possible to see the existing sources with the --list-sources command.
Once added, a source can be removed the the --remove-sources. Note that in that case you need to use the line number which you get with the --list-sources --verbose.
Details about what a source represents can be found in the sources.list file format page.