Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
$ repoquery -c /tmp/nosuchfile --installed -a
Traceback (most recent call last):
File "/usr/bin/repoquery", line 1242, in <module>
main(sys.argv)
File "/usr/bin/repoquery", line 1150, in main
repoq.conf
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 908, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 299, in _getConfig
startupconf = config.readStartupConfig(fn, root)
File "/usr/lib/python2.6/site-packages/yum/config.py", line 871, in readStartupConfig
confpp_obj = ConfigPreProcessor(configfile)
File "/usr/lib/python2.6/site-packages/yum/parser.py", line 87, in __init__
fo = self._pushfile( url )
File "/usr/lib/python2.6/site-packages/yum/parser.py", line 196, in _pushfile
'Error accessing file for config %s' % (absurl)
yum.Errors.ConfigError: Error accessing file for config file:///tmp/nosuchfile
on RHEL7:
Error accessing file for config file:///tmp/nosuchfile
Version-Release number of selected component (if applicable):
yum-utils-1.1.30-17.el6_5
How reproducible:
always
Comment 1Valentina Mukhamedzhanova
2014-05-14 08:24:42 UTC
The patch proposed for bug 1097560 fixes this traceback for me.
*** This bug has been marked as a duplicate of bug 1097560 ***
Description of problem: $ repoquery -c /tmp/nosuchfile --installed -a Traceback (most recent call last): File "/usr/bin/repoquery", line 1242, in <module> main(sys.argv) File "/usr/bin/repoquery", line 1150, in main repoq.conf File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 908, in <lambda> conf = property(fget=lambda self: self._getConfig(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 299, in _getConfig startupconf = config.readStartupConfig(fn, root) File "/usr/lib/python2.6/site-packages/yum/config.py", line 871, in readStartupConfig confpp_obj = ConfigPreProcessor(configfile) File "/usr/lib/python2.6/site-packages/yum/parser.py", line 87, in __init__ fo = self._pushfile( url ) File "/usr/lib/python2.6/site-packages/yum/parser.py", line 196, in _pushfile 'Error accessing file for config %s' % (absurl) yum.Errors.ConfigError: Error accessing file for config file:///tmp/nosuchfile on RHEL7: Error accessing file for config file:///tmp/nosuchfile Version-Release number of selected component (if applicable): yum-utils-1.1.30-17.el6_5 How reproducible: always