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

NAME

6       bpkg-pkg-purge - purge package
7

SYNOPSIS

9       bpkg pkg-purge [options] pkg
10

DESCRIPTION

12       The  pkg-purge  command  removes the package directory and archive from
13       the filesystem and removes the package from  the  configuration.   Only
14       packages  in the fetched and unpacked state (bpkg-pkg-status(1)) can be
15       purged plus broken packages if the --force|-f option is specified  (see
16       the  option's  description  for details on purging broken packages). If
17       the --keep|-k option is specified, then the package archive is not  re‐
18       moved (see the option's description for details on this mode).
19

PKG-PURGE OPTIONS

21       --keep|-k
22              Keep  the package archive. Note that in this mode the package is
23              still retained in the configuration's database  in  the  fetched
24              state.
25
26       --force|-f
27              Purge  a  broken package. In this mode bpkg will verify that the
28              package directory and archive no longer exist  and  then  remove
29              the package from the configuration.
30
31       --directory|-d dir
32              Assume  configuration is in dir rather than in the current work‐
33              ing directory.
34

COMMON OPTIONS

36       The common options are summarized below with a more  detailed  descrip‐
37       tion available in bpkg-common-options(1).
38
39       -v     Print essential underlying commands being executed.
40
41       -V     Print all underlying commands being executed.
42
43       --quiet|-q
44              Run quietly, only printing error messages.
45
46       --verbose level
47              Set the diagnostics verbosity to level between 0 and 6.
48
49       --stdout-format format
50              Representation format to use for printing to stdout.
51
52       --jobs|-j num
53              Number of jobs to perform in parallel.
54
55       --no-result
56              Don't print informational messages about the outcome of perform‐
57              ing a command or some of its parts.
58
59       --progress
60              Display progress indicators for long-lasting operations, such as
61              network transfers, building, etc.
62
63       --no-progress
64              Suppress  progress  indicators for long-lasting operations, such
65              as network transfers, building, etc.
66
67       --build path
68              The build program to be used to build packages.
69
70       --build-option opt
71              Additional option to be passed to the build program.
72
73       --fetch path
74              The fetch program to be used to download resources.
75
76       --fetch-option opt
77              Additional option to be passed to the fetch program.
78
79       --fetch-timeout sec
80              The fetch and fetch-like (for example, git) program timeout.
81
82       --pkg-proxy url
83              HTTP proxy server to use when fetching package manifests and ar‐
84              chives from remote pkg repositories.
85
86       --git path
87              The git program to be used to fetch git repositories.
88
89       --git-option opt
90              Additional common option to be passed to the git program.
91
92       --sha256 path
93              The sha256 program to be used to calculate SHA256 sums.
94
95       --sha256-option opt
96              Additional option to be passed to the sha256 program.
97
98       --tar path
99              The tar program to be used to extract package archives.
100
101       --tar-option opt
102              Additional option to be passed to the tar program.
103
104       --openssl path
105              The openssl program to be used for crypto operations.
106
107       --openssl-option opt
108              Additional option to be passed to the openssl program.
109
110       --auth type
111              Types of repositories to authenticate.
112
113       --trust fingerprint
114              Trust repository certificate with a SHA256 fingerprint.
115
116       --trust-yes
117              Assume the answer to all authentication prompts is yes.
118
119       --trust-no
120              Assume the answer to all authentication prompts is no.
121
122       --pager path
123              The pager program to be used to show long text.
124
125       --pager-option opt
126              Additional option to be passed to the pager program.
127
128       --options-file file
129              Read additional options from file.
130
131       --default-options dir
132              The directory to load additional default options files from.
133
134       --no-default-options
135              Don't load default options files.
136
137       --keep-tmp
138              Don't  remove  the  bpkg's temporary directory at the end of the
139              command execution and print its path at the verbosity level 2 or
140              higher.
141

DEFAULT OPTIONS FILES

143       See  bpkg-default-options-files(1)  for  an overview of the default op‐
144       tions files. For the pkg-purge command the search  start  directory  is
145       the  configuration  directory. The following options files are searched
146       for in each directory and, if found, loaded in the order listed:
147
148       bpkg.options
149       bpkg-pkg-purge.options
150
151       The following pkg-purge command options cannot be specified in the  de‐
152       fault options files:
153
154       --directory|-d
155

BUGS

157       Send bug reports to the users@build2.org mailing list.
158
160       Copyright (c) 2014-2022 the build2 authors.
161
162       Permission  is  granted to copy, distribute and/or modify this document
163       under the terms of the MIT License.
164
165
166
167bpkg 0.15.0                        July 2022                 bpkg-pkg-purge(1)
Impressum