Description of problem: Tried to install package sos from non existing channel. The error message might be more informative, like: "Provided channel is not valid." or "Package sos was not found in channel 'sdsd'. List of channels can be received via up2date -l" [root@xen65 ~]# up2date --channel=sdsd sos An error has occurred: This system may not be updated until it is associated with a channel. See /var/log/up2date for more information Please omit using backtrace in log when not necessary, simpler debug info with more verbose information, would fit better. [Wed Jun 25 14:00:15 2008] up2date This system may not be updated until it is associated with a channel. [Wed Jun 25 14:00:15 2008] up2date File "/usr/sbin/up2date", line 1312, in ? sys.exit(main() or 0) File "/usr/sbin/up2date", line 592, in main rhnChannel.setChannels(tempchannels) File "/usr/share/rhn/up2date_client/rhnChannel.py", line 286, in setChannels return getChannels(label_whitelist=whitelist) File "/usr/share/rhn/up2date_client/rhnChannel.py", line 184, in getChannels raise up2dateErrors.NoChannelsError(_("This system may not be updated until it is associated with a channel.")) Version-Release number of selected component (if applicable): 4.7.1-17.el4 How reproducible: always
Hello, not sure if we want to omit the back-trace in the log (good for debugging), but definitely nicer error message would be useful. # up2date --channel=sdsd sos An error has occurred: This system can not access this channel(s). Is it correctly registered in it? See /var/log/up2date for more information
Hello, please could you comment on comment #1?
An advisory 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 therefore 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-2009-0972.html