brent I got it working. Didn't need to program the entire alpm library. Just needed a mirrorlist, and a config. Now, it says something like (96/96) checking keys in keyring [######################] 100%
warning: Public keyring not found; have you run 'pacman-key --init'?
downloading required keys...
error: keyring is not writable
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Here are instructions for anyone else to replicate up to this point:
- Get the binary image of pacman-static
- Create a pacman config with
sudo touch /etc/pacman.conf
then copy an example config off the internet
- Create a pacman.d folder at /etc/ with
sudo mkdir /etc/pacman.d
then touch mirrorlist
and copy a mirrorlist from some manjaro repo page or something