Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133848 - ebuild for yum-2.6.1 (new package)
Summary: ebuild for yum-2.6.1 (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 135854
Blocks:
  Show dependency tree
 
Reported: 2006-05-20 02:06 UTC by Mark
Modified: 2006-06-28 17:32 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
yum-2.6.1.ebuild (yum-2.6.1.ebuild,1.58 KB, text/plain)
2006-06-09 18:54 UTC, Andrew Ross (RETIRED)
Details
yum-2.6.1.ebuild (yum-2.6.1.ebuild,1.71 KB, text/plain)
2006-06-09 22:59 UTC, Andrew Ross (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2006-05-20 02:06:46 UTC
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
Comment 1 Andrew Ross (RETIRED) gentoo-dev 2006-06-09 18:54:51 UTC
Created attachment 88815 [details]
yum-2.6.1.ebuild

Please review and test.
Comment 2 Andrew Ross (RETIRED) gentoo-dev 2006-06-09 18:59:28 UTC
CC'ing maintainer of app-emulation/domi, in case he's interested in this :-)
Comment 3 Andrew Ross (RETIRED) gentoo-dev 2006-06-09 22:59:38 UTC
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
Comment 4 Chris Bainbridge (RETIRED) gentoo-dev 2006-06-10 01:01:53 UTC
Thanks for the ebuild! I've added it to portage.
Comment 5 Jeremy Teale 2006-06-28 17:32:31 UTC
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.