Red Hat Bugzilla – Bug 113973
up2date --channel=foo --installall does nothing
Last modified: 2007-11-30 17:07:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922
Description of problem:
When I issue the command:
up2date --channel=helpdesk-ws3-laptop --installall
I get returned to a command prompt with no action having been taken.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run: up2date --channel=foo --installall
Actual Results: Returned to command line, no action
Expected Results: Retreival and installation of all packages in
up2date --showall --channel=foo is also broken.
At this point we have no way of installing all packages in a requested
fix is in up2date-4.2.7, whenever it becomes available.
There are a few workarounds. The easiest for most users is:
up2date --showall --show-channel | grep CHANNEL-LABEL | perl -lane
'print $F' | xargs up2date
Actually, you still have to strip the version off $0. The full
command would be something on the order of:
up2date $(up2date --showall --show-channel | grep CHANNEL-LABEL | perl
-lane 'print $F'|sed -e 's/-[^-]*-[^-]*$//' | uniq)
Created attachment 98293 [details]
patch to make installall work
After running into this bug, but before I went searching in bugzilla, I came up
with this patch. It's trivial to manually apply if you don't like the
workaround already given.
Any ETA on getting an errata out on this? The version that shipped w/
RHEL3 (up2date-4.0.1-1) didn't have this problem.
u2 update pack will have a fix for this.
*** Bug 119071 has been marked as a duplicate of this bug. ***
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.