First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 133848
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for New Packages <maintainer-wanted@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mark <Mark@JumpingBean.co.za>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
yum-2.6.1.ebuild yum-2.6.1.ebuild text/plain Andrew Ross (RETIRED) 2006-06-09 18:54 0000 1.58 KB Details
yum-2.6.1.ebuild yum-2.6.1.ebuild text/plain Andrew Ross (RETIRED) 2006-06-09 22:59 0000 1.71 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 133848 depends on: 135854 Show dependency tree
Bug 133848 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-20 02:06 0000
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 From Andrew Ross (RETIRED) 2006-06-09 18:54:51 0000 -------
Created an attachment (id=88815) [details]
yum-2.6.1.ebuild

Please review and test.

------- Comment #2 From Andrew Ross (RETIRED) 2006-06-09 18:59:28 0000 -------
CC'ing maintainer of app-emulation/domi, in case he's interested in this :-)

------- Comment #3 From Andrew Ross (RETIRED) 2006-06-09 22:59:38 0000 -------
Created an attachment (id=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 From Chris Bainbridge (RETIRED) 2006-06-10 01:01:53 0000 -------
Thanks for the ebuild! I've added it to portage.

------- Comment #5 From Jeremy Teale 2006-06-28 17:32:31 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug