| Summary: | RepoMDError: requested datatype primary not available | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | He Rui <rhe> | ||||||
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | rawhide | CC: | anaconda-maint-list, awilliam, jonathan, rhe, theinric, vanmeeuwen+fedora | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | anaconda_trace_hash:652786a2b3bf5c451a07bb649f5ffc381e2899af2dc87992f057f1c961d79fde | ||||||||
| Fixed In Version: | anaconda-18.3 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-08-03 19:29:02 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 488717 [details]
Attached traceback automatically from anaconda.
Encountered this issue by accidently adding a i386 repo on x86_64 installer. Created attachment 488728 [details]
Attached traceback automatically from anaconda.
Correction. It happened when I missed checking 'URL is a mirror list' when graphically adding a mirror url at package repository step. Seth - is this a yum exn that anaconda should be catching, or is the problem more on your end? heh, I just hit this doing the same thing hurry did. =) 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. 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. |
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