Bug 1350243

Summary: [abrt] system-config-language: repo.py:847:load:dnf.exceptions.RepoError: Failed to synchronize cache for repo 'updates'
Product: [Fedora] Fedora Reporter: Yonatan <yonatan.el.amigo>
Component: system-config-languageAssignee: Parag Nemade <pnemade>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: glozmantal, i18n-bugs, nav007, pnemade, psatpute, smaitra
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/3dfdccf853171d9cf0d9325b70767d35a864bcd2
Whiteboard: abrt_hash:2788c86cf33cd055dbfe6977d3c103baa7873641;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-02 10:27: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:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Yonatan 2016-06-26 17:40:52 UTC
Version-Release number of selected component:
system-config-language-3.3.0-3.fc24

Additional info:
reporter:       libreport-2.7.1
cmdline:        /usr/bin/python3 /usr/share/system-config-language/system-config-language.py
executable:     /usr/share/system-config-language/system-config-language.py
kernel:         4.1.6-201.fc22.i686
pkg_fingerprint: 73BD E983 81B4 6521
pkg_vendor:     Fedora Project
reproducible:   Not sure how to reproduce the problem
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
repo.py:847:load:dnf.exceptions.RepoError: Failed to synchronize cache for repo 'updates'

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 226, in perform
    return super(_Handle, self).perform(result)
  File "/usr/lib/python3.5/site-packages/librepo/__init__.py", line 1506, in perform
    _librepo.Handle.perform(self, result)
librepo.LibrepoException: (8, "Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=updates-released-f24&arch=i386 [Could not resolve host: mirrors.fedoraproject.org]", 'An Curl handle error')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 825, in load
    if self._try_revive():
  File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 739, in _try_revive
    handle.perform()
  File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 230, in perform
    raise _DetailedLibrepoError(exc, source)
dnf.repo._DetailedLibrepoError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 308, in ok_btn
    installed = self.instpkg.install_packages3(dlang)
  File "/usr/share/system-config-language/install_packages3.py", line 231, in install_packages3
    self.base.fill_sack()
  File "/usr/lib/python3.5/site-packages/dnf/base.py", line 239, in fill_sack
    self._add_repo_to_sack(r)
  File "/usr/lib/python3.5/site-packages/dnf/base.py", line 111, in _add_repo_to_sack
    repo.load()
  File "/usr/lib/python3.5/site-packages/dnf/repo.py", line 847, in load
    raise dnf.exceptions.RepoError(msg)
dnf.exceptions.RepoError: Failed to synchronize cache for repo 'updates'

Local variables in innermost frame:
msg: "Failed to synchronize cache for repo 'updates'"
self: <Repo updates>
dmsg: "Cannot download '%s': %s."

Comment 1 Yonatan 2016-06-26 17:41:48 UTC
Created attachment 1172635 [details]
File: backtrace

Comment 2 Yonatan 2016-06-26 17:42:34 UTC
Created attachment 1172636 [details]
File: environ

Comment 3 Parag Nemade 2016-06-27 03:55:44 UTC
As can be seen in above traceback its updates repo sync issue.

Do "dnf clean all" and try again. If problem still remains then its the mirror issue from which your system is trying to download repository metadata.

Comment 4 glozmantal 2016-06-30 15:52:09 UTC
*** Bug 1351713 has been marked as a duplicate of this bug. ***

Comment 5 Parag Nemade 2016-07-02 10:27:02 UTC

*** This bug has been marked as a duplicate of bug 1262848 ***

Comment 6 Parag Nemade 2016-07-02 10:27:57 UTC
This is mostly a mirror issue and if not then dnf issue but certainly not issue in system-config-language.