wpkg --remove-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 --remove-sources command is used to remove a source from your target sources.list file. Although you could edit the file manually, it can be practical to have it on a command line.

At this point the remove only works with an index. The command line may look something like this:

wpkg --root /my/target --remove-sources 1 4 7

To find out the index numbers, use the --list-sources command with the --verbose option so that it shows all the information including the index number that you can then use to do a remove:

wpkg --root /my/target --list-sources --verbose

To add new sources, use the --add-sources command.

IMPORTANT NOTES

The removal of a source from your target system does not in any way affect what is already installed. In other words, if you installed some packages from the sources that you are removing, those packages stay in your target system. You may, of course, use the --remove or --purge commands to remove those items from your target system.

 

 
Syndicate content