Saturday, April 16, 2016

[fedora-arm] dnf is not working on qemu-arm-static chroot environment

Hi,

I want to execute dnf command on fedora-arm version 22 with
qemu-arm-static chroot environment.
Unfortunately, dnf command was failed with below errors:

cachedir: /var/cache/dnf
DNF version: 1.1.6
qemu: Unsupported syscall: 374
Failed to synchronize cache for repo 'rpmfusion-free-updates' from
'http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-22&arch=arm':
Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve
host name for http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-22&arch=arm
[Could not resolve host: mirrors.rpmfusion.org], disabling.
Error: Failed to synchronize cache for repo 'fedora' from
'https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=arm':
Cannot prepare internal mirrorlist: Curl error (6): Couldn't resolve
host name for https://mirrors.fedoraproject.org/metalink?repo=fedora-22&arch=arm
[Could not resolve host: mirrors.fedoraproject.org]

It seems the qemu-arm-static could be recognized on 'arm' not 'armhfp'.
Is there any ways to run dnf command on the qemu chroot environment?

Full work history:
sudo cp /usr/bin/qemu-arm-static arm_root/usr/bin
sudo mount -o rbind /proc arm_root/proc
sudo mount -o rbind /sys arm_root/sys
sudo mount -o rbind /dev arm_root/dev
sudo mount -o rbind /dev/pts arm_root/dev/pts

sudo chroot arm_root

dnf update

--
Best Regards,
Chanho Park
_______________________________________________
arm mailing list
arm@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/arm@lists.fedoraproject.org

No comments:

Post a Comment