Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Network > RHN Satellite Server > Issue <<  13 of 127 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 3752
Last update: 09-07-04
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.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Network > RHN Satellite Server > Issue <<   13  of  127  >>