# Revision history [back]

### Changing YUM/DNF basearch on Raspberry Pi image?

I've followed the installation instructions for Fedora on a Raspberry Pi 2. I downloaded the MATE Desktop image here and verified it with its signature available here, and then copied it over onto my SD card.

I then setup a chroot environment using a static build of QEMU ARM, and was able to successfully chroot into the image. I can execute any ARM binary and connect to the network.

However, I cannot install any packages inside the chroot due to this strange error from dnf:

# dnf update


If I look at the metalink returned from that URL, there is only an armhfp repository.

As I'm assuming that this is a misconfiguration, is there a way for me to change the basearch variable defined by YUM to be armhfp rather than arm? Is there something else I need to do, something I'm missing?

uname -m reports the architecture:

# uname -m
armv7l


and file tells me about the compiled files:

# file /bin/bash
/bin/bash: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=04f0998ecd3bfaea23bab0223f7ce1f602296085, stripped


I originally posted this at unix.stackexchange.com before discovering that there was a dedicated place to ask this.