1bpkg-pkg-clean(1) General Commands Manual bpkg-pkg-clean(1)
2
3
4
6 bpkg-pkg-clean - clean package
7
9 bpkg pkg-clean|clean [options] [vars] pkg...
10 bpkg pkg-clean|clean [options] [vars] --all|-a
11
13 The pkg-clean command cleans the specified packages (the first form) or
14 all the held packages (the second form, see bpkg-pkg-status(1)).
15 Underneath, this command doesn't do much more than run b clean. In the
16 first form the specified packages must have been previously configured
17 with bpkg-pkg-build(1) or bpkg-pkg-configure(1).
18
19 Additional command line variables (vars, normally config.*) can be
20 passed to the build system. Such variables apply to all the specified
21 packages but can also be specified to only apply to specific packages
22 using the argument grouping mechanism (see bpkg-argument-grouping(1)
23 for details).
24
26 --all|-a
27 Clean all held packages.
28
29 --directory|-d dir
30 Assume configuration is in dir rather than in the current work‐
31 ing directory.
32
34 The common options are summarized below with a more detailed descrip‐
35 tion available in bpkg-common-options(1).
36
37 -v Print essential underlying commands being executed.
38
39 -V Print all underlying commands being executed.
40
41 --quiet|-q
42 Run quietly, only printing error messages.
43
44 --verbose level
45 Set the diagnostics verbosity to level between 0 and 6.
46
47 --jobs|-j num
48 Number of jobs to perform in parallel.
49
50 --no-result
51 Don't print informational messages about the outcome of perform‐
52 ing a command.
53
54 --no-progress
55 Suppress progress indicators for long-lasting operations, such
56 as network transfers, building, etc.
57
58 --build path
59 The build program to be used to build packages.
60
61 --build-option opt
62 Additional option to be passed to the build program.
63
64 --fetch path
65 The fetch program to be used to download resources.
66
67 --fetch-option opt
68 Additional option to be passed to the fetch program.
69
70 --fetch-timeout sec
71 The fetch and fetch-like (for example, git) program timeout.
72
73 --git path
74 The git program to be used to fetch git repositories.
75
76 --git-option opt
77 Additional common option to be passed to the git program.
78
79 --sha256 path
80 The sha256 program to be used to calculate SHA256 sums.
81
82 --sha256-option opt
83 Additional option to be passed to the sha256 program.
84
85 --tar path
86 The tar program to be used to extract package archives.
87
88 --tar-option opt
89 Additional option to be passed to the tar program.
90
91 --openssl path
92 The openssl program to be used for crypto operations.
93
94 --openssl-option opt
95 Additional option to be passed to the openssl program.
96
97 --auth type
98 Types of repositories to authenticate.
99
100 --trust fingerprint
101 Trust repository certificate with a SHA256 fingerprint.
102
103 --trust-yes
104 Assume the answer to all authentication prompts is yes.
105
106 --trust-no
107 Assume the answer to all authentication prompts is no.
108
109 --pager path
110 The pager program to be used to show long text.
111
112 --pager-option opt
113 Additional option to be passed to the pager program.
114
115 --options-file file
116 Read additional options from file.
117
118 --default-options dir
119 The directory to load additional default options files from.
120
121 --no-default-options
122 Don't load default options files.
123
125 See bpkg-default-options-files(1) for an overview of the default
126 options files. For the pkg-clean command the search start directory is
127 the configuration directory. The following options files are searched
128 for in each directory and, if found, loaded in the order listed:
129
130 bpkg.options
131 bpkg-pkg-clean.options
132
133 The following pkg-clean command options cannot be specified in the
134 default options files:
135
136 --directory|-d
137
139 Send bug reports to the users@build2.org mailing list.
140
142 Copyright (c) 2014-2019 Code Synthesis Ltd
143
144 Permission is granted to copy, distribute and/or modify this document
145 under the terms of the MIT License.
146
147
148
149bpkg 0.12.0 November 2019 bpkg-pkg-clean(1)