Red Hat Bugzilla – Bug 116723
up2date --channel updates-testing package-name should get package from designated channel
Last modified: 2007-11-30 17:10:37 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
Maybe its just me, but the --channel option doesn't seem to work as
expected for me. As far as I can tell from the docs, the only way to
use it is with the -install-all option. When I do
up2date --channel updates-testing package-name
up2date should get package-name.rpm from the specified channel for me.
Instead it downloads headers from ALL channels I have uncommented in
my /etc/sysconfig/rhn/sources files and then it sits there for way too
long doing nothing.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.up2date --channel updates-testing package-name
Actual Results: fetches all channels (and hangs?)
Expected Results: Should only fetch specified channel and package
If my interpretation of the docs is correct, I don't see why --channel
needs the --install-all option as well. If my interpretation is
wrong, then it still doesn't seem to work the way I would like it to.
FYI, I'm doing all of this in a terminal with the --nox option.
up2date --install-all --channel SOMECHANNEL will
install all packages from SOMECHANNEL, but, it
may need to pull more packages from other channels
to solve all deps. When using the yum sources, this
means downloading all the headers for all the channels
that are configured.
As best I can from reading, this is working correctly,
aside from stalling, which is probabaly a variation