[Spacewalk-list] Installation Issue

Wells, David J dwells at Elemica.com
Tue Sep 23 16:53:32 UTC 2008


Does the O/S need to be registered in order to install spacewalk? I am
looking to first proof this in DEV...

 

We need to use a proxy to get internet access, so I 

 

http_proxy=server:port

export http_proxy

 

Error:

 

# yum install spacewalk

Loading "installonlyn" plugin

Loading "security" plugin

Loading "rhnplugin" plugin

This system is not registered with RHN.

RHN support will be disabled.

Setting up Install Process

Setting up repositories

Traceback (most recent call last):

  File "/usr/bin/yum", line 29, in ?

    yummain.main(sys.argv[1:])

  File "/usr/share/yum-cli/yummain.py", line 102, in main

    result, resultmsgs = do()

  File "/usr/share/yum-cli/cli.py", line 359, in doCommands

    return self.yum_cli_commands[self.basecmd].doCommand(self,
self.basecmd, self.extcmds)

  File "/usr/share/yum-cli/yumcommands.py", line 134, in doCommand

    return base.installPkgs(extcmds)

  File "/usr/share/yum-cli/cli.py", line 509, in installPkgs

    self.doRepoSetup()

  File "/usr/share/yum-cli/cli.py", line 102, in doRepoSetup

    yum.YumBase.doRepoSetup(self, thisrepo=thisrepo)

  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 299, in
doRepoSetup

    repo.setup(self.conf.cache)

  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 503, in
setup

    self._loadRepoXML(text=self)

  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 530, in
_loadRepoXML

    cache=self.http_caching == 'all')

  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 430, in
__get

    http_headers=headers,

  File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line
411, in urlgrab

    return self._mirror_try(func, url, kw)

  File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line
397, in _mirror_try

    return func_ref( *(fullurl,), **kwargs )

  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
927, in urlgrab

    return self._retry(opts, retryfunc, url, filename)

  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
845, in _retry

    r = apply(func, (opts,) + args, {})

  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
913, in retryfunc

    fo = URLGrabberFileObject(url, filename, opts)

  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
1001, in __init__

    self._do_open()

  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
1072, in _do_open

    fo, hdr = self._make_request(req, opener)

  File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line
1168, in _make_request

    fo = opener.open(req)

  File "/usr/lib64/python2.4/urllib2.py", line 358, in open

    response = self._open(req, data)

  File "/usr/lib64/python2.4/urllib2.py", line 376, in _open

    '_open', req)

  File "/usr/lib64/python2.4/urllib2.py", line 337, in _call_chain

    result = func(*args)

  File "/usr/lib64/python2.4/urllib2.py", line 573, in <lambda>

    lambda r, proxy=url, type=type, meth=self.proxy_open: \

  File "/usr/lib64/python2.4/urllib2.py", line 580, in proxy_open

    if '@' in host:

TypeError: iterable argument required

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20080923/a047832c/attachment.htm>


More information about the Spacewalk-list mailing list