Red Hat Bugzilla – Bug 1258257
dnf does not work on Raspberry Pi 2 - ends with traceback
Last modified: 2015-09-01 08:39:06 EDT
Description of problem:
After trying to install binutils and tar on Raspberry Pi 2 on image based on F22 armhfp minimal image  without any system tweaks (except booting) DNF does not work. The F22-3 image contained dnf version 1.0.0. That version froze after invocation. I updated it using YUM to version 1.1.0 and this version ends with traceback.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. just running 'dnf install binutils tar'
[root@localhost pi]# dnf -v install binutils tar
Loaded plugins: copr, playground, kickstart, debuginfo-install, migrate, generate_completion_cache, builddep, reposync, protected_packages, needs-restarting, Query, config-manager, noroot, download
DNF version: 1.1.0
Fedora 22 - armhfp 4.0 MB/s | 37 MB 00:09
not found deltainfo for: Fedora 22 - armhfp
not found updateinfo for: Fedora 22 - armhfp
Traceback (most recent call last):
File "/bin/dnf", line 36, in <module>
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 193, in user_main
errcode = main(args)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 84, in main
return _main(base, args)
File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 139, in _main
File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 1082, in run
File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 804, in _process_demands
File "/usr/lib/python2.7/site-packages/dnf/base.py", line 244, in fill_sack
File "/usr/lib/python2.7/site-packages/dnf/base.py", line 126, in _add_repo_to_sack
AssertionError: Can not load repo.
binutils and tar being installed just fine.
Note that YUM works just fine. DNF claimed there are no delta RPMs for armhf, but YUM was able to find those and use them.
Currently DNF does not work at all in the situation I described.
I created the image for RPi2 from F22 minimal arm image  and followed  to tweak the booting.
attach the metadata to dup bug, if you can, please
*** This bug has been marked as a duplicate of bug 1250700 ***