Bug 692047 - RepoMDError: requested datatype primary not available
Summary: RepoMDError: requested datatype primary not available
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:652786a2b3bf5c451...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-30 09:46 UTC by He Rui
Modified: 2014-01-21 23:04 UTC (History)
6 users (show)

Fixed In Version: anaconda-18.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-03 19:29:02 UTC
Type: ---


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (365.84 KB, text/plain)
2011-03-30 09:46 UTC, He Rui
no flags Details
Attached traceback automatically from anaconda. (374.31 KB, text/plain)
2011-03-30 10:09 UTC, He Rui
no flags Details

Description He Rui 2011-03-30 09:46:27 UTC
The following was filed automatically by anaconda:
anaconda 15.25 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/yum/repoMDObject.py", line 180, in getData
    raise RepoMDError, "requested datatype %s not available" % type
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1559, in _retrieveMD
    thisdata = self.repoXML.getData(mdtype)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1551, in retrieveMD
    return self._retrieveMD(mdtype)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1626, in getPrimaryXML
    return self.retrieveMD('primary')
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 183, in populate
    xml = repo_get_function()
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 289, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 645, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 608, in doSackSetup
    return self._getSacks(archlist=archlist, thisrepo=thisrepo)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/yuminstall.py", line 1285, in <lambda>
    self.__withFuncDo(anaconda, lambda r: self.ayum.doSackSetup(thisrepo=r.id),
  File "/usr/lib64/python2.7/site-packages/pyanaconda/yuminstall.py", line 1310, in __withFuncDo
    fn(repo)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/yuminstall.py", line 1287, in doSackSetup
    callback=SackSetupProgress(anaconda.intf))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/task_gui.py", line 49, in setupRepo
    anaconda.backend.doSackSetup(anaconda, thisrepo=repo.id, fatalerrors=False)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/task_gui.py", line 370, in run
    if not setupRepo(self.anaconda, newRepoObj):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iw/task_gui.py", line 550, in _addRepo
    if dialog.run() in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]:
RepoMDError: requested datatype primary not available

Comment 1 He Rui 2011-03-30 09:46:34 UTC
Created attachment 488717 [details]
Attached traceback automatically from anaconda.

Comment 2 He Rui 2011-03-30 09:48:48 UTC
Encountered this issue by accidently adding a i386 repo on x86_64 installer.

Comment 3 He Rui 2011-03-30 10:09:24 UTC
Created attachment 488728 [details]
Attached traceback automatically from anaconda.

Comment 4 He Rui 2011-03-30 10:23:51 UTC
Correction. It happened when I missed checking 'URL is a mirror list' when graphically adding a mirror url at package repository step.

Comment 5 Chris Lumens 2011-03-31 21:04:52 UTC
Seth - is this a yum exn that anaconda should be catching, or is the problem more on your end?

Comment 6 Adam Williamson 2011-09-29 06:28:18 UTC
heh, I just hit this doing the same thing hurry did. =)

Comment 7 seth vidal 2011-09-30 14:05:03 UTC
Can anyone get me the repomd.xml from this repo? B/c if a repo is lacking a primary then it is not possible to install from it.

Comment 8 Chris Lumens 2012-08-03 19:29:02 UTC
The code this bug resulted from is no longer present as of anaconda-18.3.  Please test with F18 and if you see similar problems, open a new bug.  Thanks.


Note You need to log in before you can comment on or make changes to this bug.