Red Hat Network > RHN Satellite Server > Issue
<<
13 of 127
>>
Issue:
When I issue the command 'up2date --channel=<channel name> --installall' I get a command prompt with no action having been taken. What is wrong and how do I fix this?
Resolution:
Release Found: up2date-4.2.5-1
Symptom:
When I issue the command 'up2date --channel=<channel name> --installall' I get a command prompt with no action having been taken.
Solution:
The latest Errata release of up2date fixes this problem which can be found at
http://rhn.redhat.com/errata/RHBA-2004-427.html
If unable to update up2date a workaround can be applied as follows :
# up2date $(up2date --showall --show-channel | grep CHANNEL-LABEL | perl
-lane 'print $F[0]'|sed -e 's/-[^-]*-[^-]*$//' | uniq)
A breakdown of what this command does :
up2date $(up2date --showall --show-channel - Runs up2date and lists all channels including all packages in those channels
grep CHANNEL-LABEL - This will tell up2date to only show all packages for the particular CHANNEL-LABEL (i.e. my-custom-channel)
perl
-lane 'print $F[0]'|sed -e 's/-[^-]*-[^-]*$//' - This will strip the package filenames only to show the package name and not the entire version (i.e.
ypbind-1.12-5.i386 will become
ypbind)
uniq - This will strip all duplicate package names to only allow for unique names to be displayed.
Red Hat Network
>
RHN Satellite Server
> Issue
<<
13
of
127
>>