Description of problem: dnf update --disablerepo=* --enablerepo=localrepo Version-Release number of selected component: dnf-0.5.4-1.fc20 Additional info: reporter: libreport-2.2.2 cmdline: /usr/bin/python -OO /bin/dnf update --disablerepo=* --enablerepo=localrepo executable: /bin/dnf kernel: 3.15.4-200.fc20.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: package.py:73:header:RuntimeError: (u"Rpm file does not exist: '%s'", u'/dev/shm/repo/libipa_hbac-1.12.1-0.20140723.1323.gitcd61aff.mit.fc20.x86_64.rpm') Traceback (most recent call last): File "/bin/dnf", line 36, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 200, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 83, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 140, in _main ret = resolving(cli, base) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 165, in resolving return_code, resultmsgs = base.do_transaction() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 233, in do_transaction return_code, resultmsgs = super(BaseCli, self).do_transaction(display) File "/usr/lib/python2.7/site-packages/dnf/base.py", line 566, in do_transaction self.transaction.populate_rpm_ts(self.ts) File "/usr/lib/python2.7/site-packages/dnf/transaction.py", line 189, in populate_rpm_ts hdr = tsi.installed.header File "/usr/lib/python2.7/site-packages/dnf/package.py", line 73, in header raise RuntimeError("Rpm file does not exist: '%s'", rpmfile) RuntimeError: (u"Rpm file does not exist: '%s'", u'/dev/shm/repo/libipa_hbac-1.12.1-0.20140723.1323.gitcd61aff.mit.fc20.x86_64.rpm') Local variables in innermost frame: self: <hawkey.Package object id 2164, libipa_hbac-1.12.1-0.20140723.1323.gitcd61aff.mit.fc20.x86_64, localrepo> rpmfile: u'/dev/shm/repo/libipa_hbac-1.12.1-0.20140723.1323.gitcd61aff.mit.fc20.x86_64.rpm'
Created attachment 920499 [details] File: backtrace
Created attachment 920500 [details] File: environ
Looking.
After rebooting machine, packages were not available in localrepo (/deve/shm/repo) Expiring cache fixed this problem. dnf clean expire-cache --disablerepo=* --enablerepo=localrepo I would expect reasonable error message instead of stack trace from unhandled exception.
Fixed on master by 224e924, thanks for the report.