Bug 1032713 - [abrt] system-config-language-1.4.0-2.fc20: yumRepo.py:889:_getMetalink:RepoError: Cannot retrieve metalink for repository: fedora/20/x86_64. Please verify its path and try again
[abrt] system-config-language-1.4.0-2.fc20: yumRepo.py:889:_getMetalink:RepoE...
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: system-config-language (Show other bugs)
20
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Parag Nemade
Fedora Extras Quality Assurance
https://retrace.fedoraproject.org/faf...
abrt_hash:bf8d0aa9dd697122e9481fd91fc...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-20 11:09 EST by Raphos
Modified: 2013-12-16 11:43 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-12-16 11:43:59 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: backtrace (3.61 KB, text/plain)
2013-11-20 11:09 EST, Raphos
no flags Details
File: environ (364 bytes, text/plain)
2013-11-20 11:09 EST, Raphos
no flags Details

  None (edit)
Description Raphos 2013-11-20 11:09:36 EST
Description of problem:
Change system language (English => French)

Version-Release number of selected component:
system-config-language-1.4.0-2.fc20

Additional info:
reporter:       libreport-2.1.9
cmdline:        /usr/bin/python /usr/share/system-config-language/system-config-language.py
dso_list:       yum-3.4.3-106.fc20.noarch
executable:     /usr/share/system-config-language/system-config-language.py
kernel:         3.11.6-301.fc20.x86_64
runlevel:       unknown
type:           Python
uid:            0

Truncated backtrace:
yumRepo.py:889:_getMetalink:RepoError: Cannot retrieve metalink for repository: fedora/20/x86_64. Please verify its path and try again

Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 179, in okClicked
    self.apply()
  File "/usr/share/system-config-language/language_gui.py", line 269, in apply
    if not install.is_group_installed(grpid, self.mainWindow):
  File "/usr/share/system-config-language/gui_install.py", line 81, in is_group_installed
    if not self.comps.has_group(grpid):
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1073, in <lambda>
    comps = property(fget=lambda self: self._getGroups(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 904, in _getGroups
    self.pkgSack
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1050, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 770, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in populateSack
    self.doSetup()
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 157, in doSetup
    self.retrieveAllMD()
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 88, in retrieveAllMD
    dl = repo._async and repo._commonLoadRepoXML(repo)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1452, in _commonLoadRepoXML
    result = self._getFileRepoXML(local, text)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1230, in _getFileRepoXML
    size=102400) # setting max size as 100K
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1012, in _getFile
    result = self.grab.urlgrab(misc.to_utf8(relative), local,
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 693, in <lambda>
    grab = property(lambda self: self._getgrab())
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 688, in _getgrab
    self._setupGrab()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 627, in _setupGrab
    urls = self.urls
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 870, in <lambda>
    urls = property(fget=lambda self: self._geturls(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 867, in _geturls
    self._baseurlSetup()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 813, in _baseurlSetup
    mirrorurls.extend(list(self.metalink_data.urls()))
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 910, in <lambda>
    metalink_data = property(fget=lambda self: self._getMetalink(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 889, in _getMetalink
    raise Errors.RepoError, msg
RepoError: Cannot retrieve metalink for repository: fedora/20/x86_64. Please verify its path and try again

Local variables in innermost frame:
ugopts: {'': None, 'ssl_ca_cert': None, 'retry': 10, 'throttle': 0, 'ssl_verify_peer': True, 'http_headers': (), 'ssl_verify_host': True, 'ssl_key': None, 'minrate': 0, 'proxies': None, 'bandwidth': 0, 'ssl_cert': None, 'user_agent': 'urlgrabber/3.9.1 yum/3.4.3', 'timeout': 30.0, 'ip_resolve': None, 'password': None, 'keepalive': True}
url: 'https://mirrors.fedoraproject.org/metalink?repo=fedora-20&arch=x86_64'
self: <yum.yumRepo.YumRepository object at 0x2a01dd0>
msg: 'Cannot retrieve metalink for repository: fedora/20/x86_64. Please verify its path and try again'
e: URLGrabError(14, 'curl#6 - "Could not resolve host: mirrors.fedoraproject.org"')
ug: <urlgrabber.grabber.URLGrabber object at 0x27ca510>
local: '/var/cache/yum/x86_64/20/fedora/metalink.xml.tmp'
Comment 1 Raphos 2013-11-20 11:09:49 EST
Created attachment 826730 [details]
File: backtrace
Comment 2 Raphos 2013-11-20 11:09:53 EST
Created attachment 826731 [details]
File: environ
Comment 3 Parag Nemade 2013-11-20 11:46:12 EST
This is not a system-config-language problem yet but yum repo file issue. Note that if you want to use fedora.repo then you need to have correct baseURL set for fedora20 as its not yet released and hosted under development directory.

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