Wednesday, April 27, 2016

[fedora-arm] armhf dnf is not working on aarch64 kernel

Hi all,

I want to use the armhf fedora rootfs on the aarch64 bit kernel.
When I ran the dnf command on the armhf image with aarch64 kernel, the
dnf command was failed with below error.

dnf -v install mesa
cachedir: /var/cache/dnf
DNF version: 1.1.6
Failed to synchronize cache for repo 'rpmfusion-free-updates' from
Cannot prepare internal mirrorlist: No URLs in mirrorlist, disabling.
repo: using cache for: fedora
not found updateinfo for: Fedora 22 - aarch64
repo: using cache for: updates
not found deltainfo for: Fedora 22 - aarch64 - Updates
not found updateinfo for: Fedora 22 - aarch64 - Updates

Actually, armhf binaries/rootfs can be executed even aarch64
kernel(fully compatible with armhf).
Maybe the dnf command tries to find its repo from uname call.
$ uname -m

The rpm install was also failed because fedora doesn't have any rpm
platform file
So, I added below file. It is able to install armhf rpm file even
aarch64 kernel.

cat /etc/rpm/platform

The question is 'how can I run 'dnf' command on armhf fedora with
aarch64 kernel?'

Best Regards,
Chanho Park
arm mailing list

No comments:

Post a Comment