1PKCON(1) User Commands PKCON(1)
2
3
4
6 pkcon - PackageKit console client
7
9 pkcon [OPTION...] [COMMAND]
10
12 This manual page documents briefly the pkcon command.
13
14 pkcon is the command line client for PackageKit.
15
17 pkcon knows about the following commands. Depending on the backend in
18 use, not all of them may be available.
19
20 backend-details
21 Print information about the PackageKit backend in use.
22
23 get-roles
24 List the roles that a transaction can have.
25
26 get-groups
27 List the available package groups.
28
29 get-filters
30 List the available filters.
31
32 get-transactions
33 List known transactions.
34
35 get-time ROLE
36 Print the time that has passed since the last transaction with the
37 given role.
38
39 search [name|details|group|file] DATA
40 Search for a package matching the given data. The search is
41 performed in the package information that is indicated by the first
42 argument: name, details, group or files.
43
44 install PACKAGES
45 Install the given packages from repositories.
46
47 install-local FILES
48 Install the given packages from the local filesystem.
49
50 download DIRECTORY PACKAGES
51 Download the given packages from repositories, and store them in
52 the given directory.
53
54 install-sig TYPE KEY_ID PACKAGE
55 Install a package signature. Only GPG signatures are supported at
56 this time.
57
58 remove PACKAGE
59 Remove the given package.
60
61 update [PACKAGES]
62 Update the system by installing available updates. If a list of
63 packages is specified, only install updates for these packages.
64
65 refresh [force]
66 Refresh the cached information about available updates.
67
68 resolve PACKAGE
69 Resolve the given package name and print information about
70 installed or available packages and updates.
71
72 upgrade-system DISTRIBUTION [minimal|default|complete]
73 Upgrade the system to the given distribution.
74
75 get-updates
76 List available updates.
77
78 get-distro-upgrades
79 List available distribution upgrades.
80
81 depends-on PACKAGE
82 List dependencies fo the given package.
83
84 required-by PACKAGE
85 List packages that require the given package.
86
87 get-details PACKAGE
88 Print details about the available or installed package with the
89 given name.
90
91 get-details-local FILE
92 Print details about the local package.
93
94 get-files PACKAGE
95 List the files contained in the given package.
96
97 get-files-local FILE
98 List the files contained in the local package.
99
100 get-update-detail PACKAGE
101 Print the package changelog for the given package.
102
103 get-packages
104 List all available and installed packages.
105
106 repo-list
107 List all configured package repositories.
108
109 repo-enable REPOSITORY
110 Enable the given repository.
111
112 repo-disable REPOSITORY
113 Disable the given repository.
114
115 repo-set-data REPOSITORY PARAMETER DATA
116 Set the given parameter to the given value for the repository.
117
118 repo-remove REPOSITORY PARAMETER
119 Removes the repository and optionally any packages installed from
120 it.
121
122 what-provides STRING
123 List packages that provide the given string.
124
125 accept-eula EULA_ID
126 Accept the EULA with the given id.
127
128 get-categories
129 List available categories.
130
131 repair
132 Attempt to repair the system package database.
133
134 offline-get-prepared
135 Print information about the prepared offline update. If no offline
136 update is prepared, exit with an exit code of 1.
137
138 offline-trigger
139 Trigger an offline update.
140
141 offline-status
142 Print information about the result of the last offline update.
143
145 The following options can be used to influence the behavior of pkcon.
146
147 --version
148 Print the program version and exit.
149
150 -h, --help
151 Show help options.
152
153 --help-all
154 Show all help options.
155
156 --filter FILTER
157 Set the filter to use.
158
159 -y, --noninteractive
160 Install packages without asking for confirmation.
161
162 --only-download
163 Prepare the transaction by downloading packages only.
164
165 -n, --background
166 Run the command using idle network bandwidth and also using less
167 power.
168
169 -p, --plain
170 Print to screen a machine-readable output, rather than using
171 animated widgets.
172
173 -v, --verbose
174 Show debugging information.
175
176 -c, --cache-age AGE
177 Set the maximum acceptable age for cached metadata, in seconds. Use
178 -1 for 'never'.
179
180 --allow-untrusted
181 Allow untrusted packages to be installed.
182
183 --allow-downgrade
184 Allow packages to be downgraded during transaction.
185
186 --allow-reinstall
187 Allow packages to be reinstalled during transaction.
188
190 0
191 Success
192
193 1
194 Failed with miscellaneous internal error.
195
196 3
197 Failed with syntax error, or failed to parse command.
198
199 4
200 Failed as a file or directory was not found.
201
202 5
203 Nothing useful was done.
204
205 6
206 The initial setup failed, e.g. setting the network proxy.
207
208 7
209 The transaction failed, see the detailed error for more
210 information.
211
213 pkmon (1).
214
215 The programs are documented fully on http://www.packagekit.org.
216
218 This manual page was written by Richard Hughes <richard@hughsie.com>.
219
221 Richard Hughes
222 Author.
223
225 Copyright © 2007 - 2013 Richard Hughes
226
227
228
229PackageKit July 29, 2013 PKCON(1)