Hi there, To be able to install suse, fedora on xen using the domi scripts requires yum to be installed. I tried to download and compile the source. All seemed to go well but when I ran yum I get erros about missing python packages. Could someone create a yum ebuild? thanks
Created attachment 88815 [details] yum-2.6.1.ebuild Please review and test.
CC'ing maintainer of app-emulation/domi, in case he's interested in this :-)
Created attachment 88821 [details] yum-2.6.1.ebuild Sorry, I attached a slightly older version originally. This version has complete error messages when deps haven't been built with USE=python
Thanks for the ebuild! I've added it to portage.
When running domi on a SUSE config yum exits with: Warning, could not load sqlite, falling back to pickle Setting up Install Process Setting up repositories suse [1/1] 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 474, in doCommands return self.installPkgs() File "/usr/share/yum-cli/cli.py", line 837, in installPkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 78, in doRepoSetup yum.YumBase.doRepoSetup(self, thisrepo=thisrepo) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 256, in doRepoSetup repo.getRepoXML(text=repo) File "/usr/lib/python2.4/site-packages/yum/repos.py", line 673, in getRepoXML cache=self.http_caching == 'all') File "/usr/lib/python2.4/site-packages/yum/repos.py", line 617, in get http_headers=headers, File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 414, in urlgrab return self._mirror_try(func, url, kw) File "/usr/lib/python2.4/site-packages/urlgrabber/mirror.py", line 400, in _mirror_try return func_ref( *(fullurl,), **kwargs ) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 572, in urlgrab return self._retry(opts, retryfunc, url, filename) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 504, in _retry return apply(func, (opts,) + args, {}) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 558, in retryfunc fo = URLGrabberFileObject(url, filename, opts) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 680, in __init__ self._do_open() File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 724, in _do_open fo, hdr = self._make_request(req, opener) File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 791, in _make_request fo = opener.open(req) File "/usr/lib/python2.4/urllib2.py", line 364, in open response = meth(req, response) File "/usr/lib/python2.4/urllib2.py", line 468, in http_response code, msg, hdrs = response.code, response.msg, response.info() AttributeError: HTTPResponse instance has no attribute 'code' This is after the domi script calls: yum -y -c "$config" install $SUSE_PACKAGES || exit 1 Installing the ~x86 version of dev-python/urlgrabber (2.9.6) fixes this.