Bug 1046076 - [abrt] yum-cron: yumRepo.py:890:_getMetalink:RepoError: Cannot retrieve metalink for repository: fedora/20/x86_64. Please verify its path and try again
Summary: [abrt] yum-cron: yumRepo.py:890:_getMetalink:RepoError: Cannot retrieve metal...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4fd773917e3e8790e92b00c800e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-23 14:04 UTC by caryptes
Modified: 2014-01-11 08:29 UTC (History)
5 users (show)

Fixed In Version: yum-3.4.3-129.fc20
Clone Of:
Environment:
Last Closed: 2014-01-11 08:29:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.53 KB, text/plain)
2013-12-23 14:04 UTC, caryptes
no flags Details
File: environ (213 bytes, text/plain)
2013-12-23 14:04 UTC, caryptes
no flags Details

Description caryptes 2013-12-23 14:04:44 UTC
Version-Release number of selected component:
yum-cron-3.4.3-127.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python -tt /usr/sbin/yum-cron /etc/yum/yum-cron-hourly.conf
dso_list:       yum-3.4.3-127.fc20.noarch
executable:     /usr/sbin/yum-cron
kernel:         3.12.5-302.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
yumRepo.py:890:_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/sbin/yum-cron", line 721, in <module>
    main()
  File "/usr/sbin/yum-cron", line 718, in main
    base.updatesCheck()
  File "/usr/sbin/yum-cron", line 606, in updatesCheck
    self.populateUpdateMetadata()
  File "/usr/sbin/yum-cron", line 418, in populateUpdateMetadata
    self.upinfo
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1113, in <lambda>
    upinfo = property(fget=lambda self: self._getUpdateinfo(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1023, in _getUpdateinfo
    if 'updateinfo' not in repo.repoXML.fileTypes():
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1670, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1666, in _getRepoXML
    self._loadRepoXML(text=self.ui_id)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1657, in _loadRepoXML
    return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1631, in _groupLoadRepoXML
    if self._commonLoadRepoXML(text):
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1456, in _commonLoadRepoXML
    result = self._getFileRepoXML(local, text)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1234, in _getFileRepoXML
    size=102400) # setting max size as 100K
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1014, in _getFile
    result = self.grab.urlgrab(misc.to_utf8(relative), local,
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 694, in <lambda>
    grab = property(lambda self: self._getgrab())
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 689, 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 871, in <lambda>
    urls = property(fget=lambda self: self._geturls(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 868, in _geturls
    self._baseurlSetup()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 814, in _baseurlSetup
    mirrorurls.extend(list(self.metalink_data.urls()))
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 911, in <lambda>
    metalink_data = property(fget=lambda self: self._getMetalink(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 890, 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: {'username': 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 0x206e150>
msg: 'Cannot retrieve metalink for repository: fedora/20/x86_64. Please verify its path and try again'
e: URLGrabError(14, 'curl#35 - "Network file descriptor is not connected"')
ug: <urlgrabber.grabber.URLGrabber object at 0x2156d90>
local: '/var/cache/yum/x86_64/20/fedora/metalink.xml.tmp'

Comment 1 caryptes 2013-12-23 14:04:50 UTC
Created attachment 840813 [details]
File: backtrace

Comment 2 caryptes 2013-12-23 14:04:52 UTC
Created attachment 840814 [details]
File: environ

Comment 3 Zdeněk Pavlas 2013-12-23 14:35:02 UTC
Thanks for the report! fixed in HEAD. Will be fixed in the next release.

Comment 4 Fedora Update System 2014-01-09 14:50:34 UTC
yum-3.4.3-129.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/yum-3.4.3-129.fc20

Comment 5 Fedora Update System 2014-01-10 07:42:37 UTC
Package yum-3.4.3-129.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-3.4.3-129.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0505/yum-3.4.3-129.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2014-01-11 08:29:56 UTC
yum-3.4.3-129.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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