Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Running "dnf update", after seeing the list of packages to be updated and selecting "y" to continue (before download starts). Version-Release number of selected component: dnf-0.4.20-1.fc21 Additional info: reporter: libreport-2.2.1 cmdline: /usr/bin/python /bin/dnf update executable: /bin/dnf kernel: 3.14.0-0.rc8.git0.1.fc21.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: package.py:52:chksum:AttributeError: No such checksum. Traceback (most recent call last): File "/bin/dnf", line 35, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 242, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 75, in main return _main(base, args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 156, in _main return_code, resultmsgs = base.do_transaction() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 214, in do_transaction self.download_packages(downloadpkgs, self.output.progress, total_cb) File "/usr/lib/python2.7/site-packages/dnf/base.py", line 909, in download_packages errors = dnf.repo.download_payloads(payloads, drpm) File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 97, in download_payloads targets = [pload.librepo_target() for pload in payloads] File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 278, in librepo_target target_dct.update(self._target_params()) File "/usr/lib/python2.7/site-packages/dnf/repo.py", line 289, in _target_params ctype, csum = pkg.returnIdSum() File "/usr/lib/python2.7/site-packages/dnf/package.py", line 174, in returnIdSum (chksum_type, chksum) = self.chksum File "/usr/lib/python2.7/site-packages/dnf/package.py", line 52, in chksum return super(Package, self).chksum AttributeError: No such checksum. Local variables in innermost frame: self: <hawkey.Package object id 6223, cmake-3.0.0-0.7.rc3.fc21.x86_64, rawhide>
Created attachment 885678 [details] File: backtrace
Created attachment 885679 [details] File: environ
weird, we better look at this. thanks for the report.
Seems to have gone away after downloading today's metadata from the server. I guess it has something to do with the metadata retrieved specifically on Friday/Saturday.
Is there a way to make it force download new metadata? I'm still seeing this one.
I am seeing this today in F20 after updating libsolv to 0.6.0-0.git05baf54.fc20.x86_64 from updates-testing. "dnf clean all" did not fix it. Downgrading libsolv ("rpm -Uvh --oldpackage libsolv-0.4.1-1.gitbcedc98.fc20.x86_64.rpm") fixed it.
The new libsolv works if I also update hawkey to 0.4.13-1.fc20.x86_64 (From Koji, as it's not yet in updates-testing for F20).
Michal, thanks for the information. This is the same issue as bug 1086073 then. *** This bug has been marked as a duplicate of bug 1086073 ***