Bug 1242078 - [abrt] python-dnf: repo.py:782:load:RepoError: Cache-only enabled but no cache for 'fedora'
Summary: [abrt] python-dnf: repo.py:782:load:RepoError: Cache-only enabled but no cach...
Keywords:
Status: CLOSED DUPLICATE of bug 1225225
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
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:7b8adefa7510de9a82e472d6a5b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-10 20:28 UTC by Neal Gompa
Modified: 2015-07-13 11:30 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-13 11:30:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.02 KB, text/plain)
2015-07-10 20:28 UTC, Neal Gompa
no flags Details
File: environ (3.03 KB, text/plain)
2015-07-10 20:28 UTC, Neal Gompa
no flags Details

Description Neal Gompa 2015-07-10 20:28:16 UTC
Version-Release number of selected component:
python-dnf-1.0.1-2.fc22

Additional info:
reporter:       libreport-2.6.0
cmdline:        python2 /usr/lib/python2.7/site-packages/dnf/cli/completion_helper.py install google-chrome -d 0 -q -C
executable:     /usr/lib/python2.7/site-packages/dnf/cli/completion_helper.py
kernel:         4.0.6-300.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
repo.py:782:load:RepoError: Cache-only enabled but no cache for 'fedora'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dnf/cli/completion_helper.py", line 189, in <module>
    main(sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/dnf/cli/completion_helper.py", line 185, in main
    cli.run()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1076, in run
    self._process_demands()
  File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 788, in _process_demands
    load_available_repos=lar)
  File "/usr/lib/python2.7/site-packages/dnf/base.py", line 239, in fill_sack
    self._add_repo_to_sack(r.id)
  File "/usr/lib/python2.7/site-packages/dnf/base.py", line 101, in _add_repo_to_sack
    repo.load()
  File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 782, in load
    raise dnf.exceptions.RepoError(msg)
RepoError: Cache-only enabled but no cache for 'fedora'

Local variables in innermost frame:
msg: u"Cache-only enabled but no cache for 'fedora'"
self: <Repo fedora>

Comment 1 Neal Gompa 2015-07-10 20:28:18 UTC
Created attachment 1050786 [details]
File: backtrace

Comment 2 Neal Gompa 2015-07-10 20:28:19 UTC
Created attachment 1050787 [details]
File: environ

Comment 3 Honza Silhan 2015-07-13 11:30:56 UTC

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


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