Version-Release number of selected component: yum-utils-1.1.31-4.fc17 Additional info: cmdline: /usr/bin/python -tt /bin/yum-config-manager --enable dso_list: yum-3.4.3-30.fc17.noarch executable: /bin/yum-config-manager kernel: 3.7.9-101.fc17.x86_64 uid: 0 Truncated backtrace: __init__.py:452:getReposFromConfigFile:ConfigError: File contains no section headers. file: file://///etc/yum.repos.d/dropbox.repo, line: 1 '[Dropbox] name=Dropbox Repository baseurl=http://linux.dropbox.com/fedora/17/ gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc\n' Traceback (most recent call last): File "/bin/yum-config-manager", line 166, in <module> repos = yb.repos.listEnabled() File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1009, in <lambda> repos = property(fget=lambda self: self._getRepos(), File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 677, in _getRepos self.getReposFromConfig() File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 557, in getReposFromConfig self.getReposFromConfigFile(repofn, repo_age=thisrepo_age) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 452, in getReposFromConfigFile raise Errors.ConfigError(exception2msg(e)) ConfigError: File contains no section headers. file: file://///etc/yum.repos.d/dropbox.repo, line: 1 '[Dropbox] name=Dropbox Repository baseurl=http://linux.dropbox.com/fedora/17/ gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc\n' Local variables in innermost frame: e: File contains no section headers. file: file://///etc/yum.repos.d/dropbox.repo, line: 1 '[Dropbox] name=Dropbox Repository baseurl=http://linux.dropbox.com/fedora/17/ gpgkey=http://linux.dropbox.com/fedora/rpm-public-key.asc\n' repofn: '///etc/yum.repos.d/dropbox.repo' confpp_obj: <yum.parser.ConfigPreProcessor instance at 0x177f518> parser: <iniparse.compat.RawConfigParser object at 0x1779750> repo_age: 1361893521 validate: None self: <utils.YumUtilBase object at 0x15ca390>
Created attachment 702987 [details] File: backtrace
Created attachment 702988 [details] File: core_backtrace
Created attachment 702989 [details] File: environ
Created attachment 702990 [details] File: smolt_data
File /etc/yum.repos.d/dropbox.repo has invalid contents. There should be a newline after the '[Dropbox]' section header. yum-config-manager is a straightforward utility script without a toplevel function, adding exception handling would be too intrusive.