Bug 113973 - up2date --channel=foo --installall does nothing
Summary: up2date --channel=foo --installall does nothing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: up2date
Version: 3.0
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Fanny Augustin
URL:
Whiteboard:
: 119071 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-20 20:53 UTC by Kevin Otte
Modified: 2007-11-30 22:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-12 03:47:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch to make installall work (372 bytes, patch)
2004-03-04 14:40 UTC, Geoffrey D. Bennett
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2004:138 0 normal SHIPPED_LIVE Updated up2date packages resolves proxy, --install issues 2004-05-11 04:00:00 UTC

Description Kevin Otte 2004-01-20 20:53:00 UTC
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):
up2date-4.2.5-1

How reproducible:
Always

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
requested channel.

Additional info:

Comment 1 Kevin Otte 2004-01-20 20:56:52 UTC
up2date --showall --channel=foo is also broken.

At this point we have no way of installing all packages in a requested
channel.

Comment 2 Adrian Likins 2004-01-20 21:48:04 UTC
fix is in up2date-4.2.7, whenever it becomes available.

Comment 3 Chip Turner 2004-01-20 22:01:13 UTC
There are a few workarounds.  The easiest for most users is:

up2date --showall --show-channel | grep CHANNEL-LABEL | perl -lane
'print $F[0]' | xargs up2date


Comment 4 Kevin Otte 2004-01-20 22:34:40 UTC
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[0]'|sed -e 's/-[^-]*-[^-]*$//' | uniq)


Comment 6 Geoffrey D. Bennett 2004-03-04 14:40:12 UTC
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.

Comment 7 Michael J. Carter 2004-03-10 18:16:18 UTC
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.



Comment 8 Adrian Likins 2004-03-22 21:34:09 UTC
u2 update pack will have a fix for this. 

Comment 9 Adrian Likins 2004-03-30 23:14:34 UTC
*** Bug 119071 has been marked as a duplicate of this bug. ***

Comment 10 John Flanagan 2004-05-12 03:47:37 UTC
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.

http://rhn.redhat.com/errata/RHBA-2004-138.html



Note You need to log in before you can comment on or make changes to this bug.