Koozali.org: home of the SME Server

Problems installing Sarg

Offline f21970

  • ***
  • 53
  • +0/-0
Problems installing Sarg
« on: September 02, 2009, 12:47:46 PM »
Hi there, please help.  I'm having a problem installing Sarg, but I think it might be a problem with Yum.  I'm a bit of a linux numptie, so please be patient!
If I run the command: yum --enablerepo smecontribs I get the error that the repo cannot be found.
If I run the command: yum install smeserver-sarg I get the following output:
[root@proxy /]# yum install smeserver-sarg
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
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 97, in main
    result, resultmsgs = do()
  File "/usr/share/yum-cli/cli.py", line 470, in doCommands
    return self.installPkgs()
  File "/usr/share/yum-cli/cli.py", line 836, in installPkgs
    self.doRepoSetup()
  File "/usr/share/yum-cli/cli.py", line 71, in doRepoSetup
    yum.YumBase.doRepoSetup(self, thisrepo=thisrepo)
  File "__init__.py", line 233, in doRepoSetup
  File "repos.py", line 681, in getRepoXML
  File "repos.py", line 624, in get
  File "/usr/lib/python2.3/site-packages/urlgrabber/mirror.py", line 411, in urlgrab
    return self._mirror_try(func, url, kw)
  File "/usr/lib/python2.3/site-packages/urlgrabber/mirror.py", line 397, in _mirror_try
    return func_ref( *(fullurl,), **kwargs )
  File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 784, in urlgrab
    return self._retry(opts, retryfunc, url, filename)
  File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 702, in _retry
    r = apply(func, (opts,) + args, {})
  File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 770, in retryfunc
    fo = URLGrabberFileObject(url, filename, opts)
  File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 893, in __init__
    self._do_open()
  File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 960, in _do_open
    fo, hdr = self._make_request(req, opener)
  File "/usr/lib/python2.3/site-packages/urlgrabber/grabber.py", line 1055, in _make_request
    fo = opener.open(req)
  File "/usr/lib/python2.3/urllib2.py", line 326, in open
    '_open', req)
  File "/usr/lib/python2.3/urllib2.py", line 306, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.3/urllib2.py", line 491, in <lambda>
    lambda r, proxy=url, type=type, meth=self.proxy_open: \
  File "/usr/lib/python2.3/urllib2.py", line 498, in proxy_open
    if '@' in host:
TypeError: iterable argument required
================================================================
No new rpms were installed. No additional commands are required.
================================================================

I've checked proxy settings in yum.conf, etc. and all seems OK, but I haven't a clue what the errors I'm getting mean!
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problems installing Sarg
« Reply #1 on: September 02, 2009, 12:53:19 PM »
I will raise a bug in bugzilla (after checking if something similar doesn't exist)

btw, what version is your SME?

Stefano

Offline f21970

  • ***
  • 53
  • +0/-0
Re: Problems installing Sarg
« Reply #2 on: September 02, 2009, 01:52:08 PM »
It's version 7.1
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problems installing Sarg
« Reply #3 on: September 02, 2009, 02:23:58 PM »
smecontribs repo doesn't exist in 7.1

please upgrade asap as you using an old, possibly unsure and, for sure, unsupported version.

Ciao
Stefano