1bpkg-pkg-drop(1)            General Commands Manual           bpkg-pkg-drop(1)
2
3
4

NAME

6       bpkg-pkg-drop - drop package
7

SYNOPSIS

9       bpkg pkg-drop|drop [options] <pkg>...
10

DESCRIPTION

12       The pkg-drop command drops one or more packages from the configuration.
13       If the packages being dropped still have dependent packages, then those
14       will  have  to  be dropped as well and you will be prompted to confirm.
15       And if the packages being dropped have dependency packages  that  would
16       otherwise  no  longer be used, then they will be dropped as well unless
17       the --keep-unused|-K option is specified.
18
19       The pkg-drop command also supports several  options  (described  below)
20       that allow you to control the amount of work that will be done.
21

PKG-DROP OPTIONS

23       --yes|-y
24              Assume  the  answer to all prompts is yes. Note that this option
25              does not apply to the dropping of dependents; use  --drop-depen‐
26              dent for that.
27
28       --no|-n
29              Assume  the  answer  to  all  prompts  is  no.  Only makes sense
30              together with --print-only|-p.
31
32       --keep-unused|-K
33              Don't drop dependency packages that were automatically built but
34              will no longer be used.
35
36       --drop-dependent|-D
37              Don't  warn  about or ask for confirmation if dropping dependent
38              packages.
39
40       --keep-dependent
41              Issue an error if attempting to drop dependent packages.
42
43       --disfigure-only
44              Disfigure all the packages but don't purge.
45
46       --print-only|-p
47              Print to stdout what would be done without actually  doing  any‐
48              thing.
49
50       --plan header
51              Print  the  plan  (even if --yes is specified) and start it with
52              the header line (unless it is empty).
53
54       --directory|-d dir
55              Assume configuration is in dir rather than in the current  work‐
56              ing directory.
57

COMMON OPTIONS

59       The  common  options are summarized below with a more detailed descrip‐
60       tion available in bpkg-common-options(1).
61
62       -v     Print essential underlying commands being executed.
63
64       -V     Print all underlying commands being executed.
65
66       --quiet|-q
67              Run quietly, only printing error messages.
68
69       --verbose level
70              Set the diagnostics verbosity to level between 0 and 6.
71
72       --jobs|-j num
73              Number of jobs to perform in parallel.
74
75       --no-result
76              Don't print informational messages about the outcome of perform‐
77              ing a command.
78
79       --no-progress
80              Suppress  progress  indicators for long-lasting operations, such
81              as network transfers, building, etc.
82
83       --build path
84              The build program to be used to build packages.
85
86       --build-option opt
87              Additional option to be passed to the build program.
88
89       --fetch path
90              The fetch program to be used to download resources.
91
92       --fetch-option opt
93              Additional option to be passed to the fetch program.
94
95       --fetch-timeout sec
96              The fetch and fetch-like (for example, git) program timeout.
97
98       --git path
99              The git program to be used to fetch git repositories.
100
101       --git-option opt
102              Additional common option to be passed to the git program.
103
104       --sha256 path
105              The sha256 program to be used to calculate SHA256 sums.
106
107       --sha256-option opt
108              Additional option to be passed to the sha256 program.
109
110       --tar path
111              The tar program to be used to extract package archives.
112
113       --tar-option opt
114              Additional option to be passed to the tar program.
115
116       --openssl path
117              The openssl program to be used for crypto operations.
118
119       --openssl-option opt
120              Additional option to be passed to the openssl program.
121
122       --auth type
123              Types of repositories to authenticate.
124
125       --trust fingerprint
126              Trust repository certificate with a SHA256 fingerprint.
127
128       --trust-yes
129              Assume the answer to all authentication prompts is yes.
130
131       --trust-no
132              Assume the answer to all authentication prompts is no.
133
134       --pager path
135              The pager program to be used to show long text.
136
137       --pager-option opt
138              Additional option to be passed to the pager program.
139
140       --options-file file
141              Read additional options from file.
142
143       --default-options dir
144              The directory to load additional default options files from.
145
146       --no-default-options
147              Don't load default options files.
148

DEFAULT OPTIONS FILES

150       See  bpkg-default-options-files(1)  for  an  overview  of  the  default
151       options  files.  For the pkg-drop command the search start directory is
152       the configuration directory. The following options files  are  searched
153       for in each directory and, if found, loaded in the order listed:
154
155       bpkg.options
156       bpkg-pkg-drop.options
157
158       The  following  pkg-drop  command  options  cannot  be specified in the
159       default options files:
160
161       --directory|-d
162

BUGS

164       Send bug reports to the users@build2.org mailing list.
165
167       Copyright (c) 2014-2019 Code Synthesis Ltd
168
169       Permission is granted to copy, distribute and/or modify  this  document
170       under the terms of the MIT License.
171
172
173
174bpkg 0.12.0                      November 2019                bpkg-pkg-drop(1)
Impressum