New comment by br0qn on void-packages repository https://github.com/void-linux/void-packages/pull/23541#issuecomment-683352859 Comment: > > @br0qn next you will have to install it - > > > > 1. install usr/bin anywhere in your $PATH - for example `mv usr/bin/* /usr/local/bin/` > > 2. install var/db - for example `mkdir -p /var/db` and then `mv var/db/xbps /var/db` > > > > both steps should require sudo > > Now you should have xbps installed and you can use the guide described in the original post. > > Thank you. > > Trying to run ./xbps-src binary-bootstrap > yields ERROR: xbps-src cannot be used as root > > created a new user and gave them sudo privileges and then try to cd into the directory gives me sudo: cd: command not found so booted an ubuntu server image and started over. was able to get to ./xbps-src -a aarch64 pkg rpi-kernel and it yields => xbps-src: updating repositories for host (aarch64)... [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/aarch64/aarch64-repodata' ... [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/aarch64/nonfree/aarch64-repodata' ... [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/aarch64/debug/aarch64-repodata' ... => xbps-src: updating repositories for target (aarch64)... [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/aarch64/aarch64-repodata' ... aarch64-repodata: 1537KB [avg rate: 2856KB/s] [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/aarch64/nonfree/aarch64-repodata' ... aarch64-repodata: 4263B [avg rate: 34MB/s] [*] Updating repository `https://alpha.de.repo.voidlinux.org/current/aarch64/debug/aarch64-repodata' ... aarch64-repodata: 652KB [avg rate: 6105KB/s] => xbps-src: updating software in / masterdir... => xbps-src: cleaning up / masterdir... => rpi-kernel-4.19.127_3: removing autodeps, please wait... => rpi-kernel-4.19.127_3: removing autocrossdeps, please wait... => ERROR: cross-aarch64-linux-gnu-0.33_3: cannot be built, it's currently broken; see the build log: => ERROR: cross-aarch64-linux-gnu-0.33_3: Can't build crosstoolchain to itself