1bpkg-pkg-drop(1) General Commands Manual bpkg-pkg-drop(1)
2
3
4
6 bpkg-pkg-drop - drop package
7
9 bpkg pkg-drop|drop [options] <pkg>...
10
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
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
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 --pkg-proxy url
99 HTTP proxy server to use when fetching package manifests and ar‐
100 chives from remote pkg repositories.
101
102 --git path
103 The git program to be used to fetch git repositories.
104
105 --git-option opt
106 Additional common option to be passed to the git program.
107
108 --sha256 path
109 The sha256 program to be used to calculate SHA256 sums.
110
111 --sha256-option opt
112 Additional option to be passed to the sha256 program.
113
114 --tar path
115 The tar program to be used to extract package archives.
116
117 --tar-option opt
118 Additional option to be passed to the tar program.
119
120 --openssl path
121 The openssl program to be used for crypto operations.
122
123 --openssl-option opt
124 Additional option to be passed to the openssl program.
125
126 --auth type
127 Types of repositories to authenticate.
128
129 --trust fingerprint
130 Trust repository certificate with a SHA256 fingerprint.
131
132 --trust-yes
133 Assume the answer to all authentication prompts is yes.
134
135 --trust-no
136 Assume the answer to all authentication prompts is no.
137
138 --pager path
139 The pager program to be used to show long text.
140
141 --pager-option opt
142 Additional option to be passed to the pager program.
143
144 --options-file file
145 Read additional options from file.
146
147 --default-options dir
148 The directory to load additional default options files from.
149
150 --no-default-options
151 Don't load default options files.
152
154 See bpkg-default-options-files(1) for an overview of the default
155 options files. For the pkg-drop command the search start directory is
156 the configuration directory. The following options files are searched
157 for in each directory and, if found, loaded in the order listed:
158
159 bpkg.options
160 bpkg-pkg-drop.options
161
162 The following pkg-drop command options cannot be specified in the
163 default options files:
164
165 --directory|-d
166
168 Send bug reports to the users@build2.org mailing list.
169
171 Copyright (c) 2014-2020 the build2 authors.
172
173 Permission is granted to copy, distribute and/or modify this document
174 under the terms of the MIT License.
175
176
177
178bpkg 0.13.0 July 2020 bpkg-pkg-drop(1)