1RHNPUSH(8) RHNPUSH(8)
2
3
4
6 rhnpush - Utility to push binary and source RPMs into an RHN channel.
7
9 rhnpush [ options ... ] [ -v ] [ --verbose ]
10
11
12
13 [ -dDIRECTORY ] [ --dir=DIRECTORY ]
14
15
16
17 [ -cCHANNEL_LABEL ] [ --channel=CHANNEL_LABEL ]
18
19
20
21 [ -nN_HEADERS_PER_CALL ] [ --count=N_HEADERS_PER_CALL ]
22
23
24
25 [ -l ] [ --list ]
26
27
28
29 [ -rRELATIVE_DIRECTORY ] [ --reldir=RELATIVE_DIRECTORY ]
30
31
32
33 [ -oORGANIZATION_ID ] [ --orgid=ORGANIZATION_ID ]
34
35
36
37 [ -uUSERNAME ] [ --username=USERNAME ]
38
39
40
41 [ -pPASSWORD ] [ --password=PASSWORD ]
42
43
44
45 [ -s ] [ --stdin ]
46
47
48
49 [ -Xglob ] [ --exclude=GLOB ]
50
51
52
53 [ --force ]
54
55
56
57 [ --nosig ]
58
59
60
61 [ --newest ]
62
63
64
65 [ --nullorg ]
66
67
68
69 [ --header ]
70
71
72
73 [ --source ]
74
75
76
77 [ --server=SERVER ]
78
79
80
81 [ --new-cache ]
82
83
84
85 [ --extended-test ]
86
87
88
89 [ --test ]
90
91
92
93 [ --tolerant ]
94
95
96
97 [ -h ] [ --help ]
98
99
100
101 [ -? ] [ --usage ]
102
103
105 The RHN Satellite Package Pusher (rhnpush) pushes RPMs into locally
106 managed channels on an RHN Satellite Server. Refer to the RHN Satellite
107 documentation for further reference.
108
110 -v --verbose
111 Increase verbosity (can use multiple times).
112
113 -dDIRECTORY
114 process packages from this directory.
115
116 -cCHANNEL_LABEL,
117 process data for this specific channel (specified by label)
118 only. NOTE: the channel's *label* is NOT the same as the chan‐
119 nel's *name*.
120
121 -nN_HEADERS_PER_CALL
122 process this number of headers per call. Current default is 25.
123 Must be an integer.
124
125 -l --list
126 only list the specified channels.
127
128 -rRELATIVE_DIRECTORY
129 relative directory to associate with each file.
130
131 -oORGANIZATION_ID
132 Your organization's ID number. Must be an integer.
133
134 -uUSERNAME
135 username of user that has administrative access to the specified
136 channel.
137
138 -pPASSWORD
139 see --username.
140
141 -s --stdin
142 read the package names from standard-in (allows piping).
143
144 -Xglob exclude packages that matches this glob expression.
145
146 --force
147 force the package upload (overwrites if package is already
148 uploaded).
149
150 --tolerant
151 If rhnpush errors while uploading a package, continue attempting
152 to push the rest of the packages.
153
154 --nosig
155 don't fail if packages are unsigned.
156
157 --newest
158 push only the packages that are newer than those on the server.
159
160 Please note that source RPMs are special in that their versions
161 are never compared. Therefore, using this option with RHN Satel‐
162 lite Package Pusher will upload source RPMs for the specified
163 channels only if they were not previously uploaded, and binaries
164 built from them exist in those channels.
165
166 In other words, you have to upload a binary rpm before being
167 able to use --newest with its source rpm.
168
169 --nullorg
170 use the null org ID (most often the case).
171
172 --header
173 only upload the headers.
174
175 --source
176 the packages indicated are source packages (we treat them dif‐
177 ferently).
178
179 --server=SERVER
180 push to this server. The format is http[s]://<hostname>/APP
181
182 --test only print the packages to be pushed, don't actually push them.
183
184 --new-cache
185 create a new username/password cache
186
187 --extended-test
188 perform a more verbose test.
189
190 -h --help
191 briefly describe the options.
192
193 -? --usage
194 usage summary.
195
197 Rhnpush has three configuration files called /etc/sysconfig/rhn/rhn‐
198 pushrc, ~/.rhnpushrc, and ./.rhnpushrc.
199
200 /etc/sysconfig/rhn/rhnpushrc is the system-wide default settings for
201 rhnpush.
202
203 ~/.rhnpushrc is the user-specific settings that override the system-
204 wide settings.
205
206 ./.rhnpushrc controls the directory specific settings that override the
207 user-specific and system-specific settings.
208
209 /etc/sysconfig/rhn/rhnpushrc must be present for rhnpush to function
210 correctly. If it is missing, rhnpush will attempt to use a series of
211 default settings stored internally as a replacement. ~/.rhnpushrc and
212 ./.rhnpushrc are not required to be present, but will be used if they
213 are present. They are not created automatically by rhnpush.
214
215 Rhnpush uses a cache, stored at ~/.rhnpushcache, to temporarily hold
216 the username and password for a user.
217
218 If the cache is missing, it will be created by rhnpush.
219
220 If the cache is present and not too old, the usename-password combo
221 will be used as a convenience for the user.
222
223 The amount of time a cache lasts is configurable in any of the three
224 configuration files.
225
226 If your username/password combination gets messed up you have two
227 options. One, you can wait until the cache expires, which takes minutes
228 by default. Two, you can use the --new_cache option to force rhnpush to
229 let you reenter your username/password.
230
231 Using the --stdin and --dir options at the same time works as follows:
232 rhnpush will let you type in rpm names, each rpm name on a separate
233 line. When you have finished entering in rpm names, hit Ctrl-D. Rhnpush
234 will then grab the files from directory you specified with --dir, put
235 them in a list with the rpms you listed through standard input, and
236 send them to the channel that was listed on the command-line or in the
237 configuration files.
238
240 db-control(1) - embedded database environment only!
241
242 rhn-charsets(8)
243
244 rhn-schema-version(8)
245
246 rhn-ssl-dbstore(8)
247
248 satellite-debug(8)
249
250 satellite-sync(8)
251
252 rhn-satellite-activate(8)
253
255 Todd Warner <taw@redhat.com>
256
257 Mihai Ibanescu <misa@redhat.com>
258
259
260
261Version 2.0 11 August 2010 RHNPUSH(8)