when the bundle tries to install
The bundle should never try to install anything. You shouldn't manually start the bundle if you want to install VMware from this AUR package, and the PKGBUILD only extracts the files from the bundle to install them using its own script (it doesn't start the bundle installation).
Unfortunately, IDK how to force the aur helper (trizen) to write on the root partition. AFAIK trizen can not be run as sudo.
After re-reading your first comment, I think you don't understand how AUR works. To install this package, you should only start the command trizen -S vmware-workstation
(or something similar, I don't know trizen syntax). Then trizen downloads the PKGBUILD in a directory, starts makepkg
in this direcory and when the package is built, trizen uses pacman to install the package. Only pacman needs root privileges and is able to write files anywhere on the filesystem (I guess trizen uses sudo pacman -U
, makepkg -i
or something like that to run pacman with root privileges).
If you are sure to use trizen correctly, then maybe this is a trizen bug, so try with the manual method: https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages
Pinned Comments
jihem commented on 2020-02-10 17:29 (UTC) (edited on 2021-06-19 13:19 (UTC) by jihem)
After the first installation, please:
1) install the appropriate headers package(s) for your installed kernel(s): linux-headers for default kernel, linux-lts-headers for LTS kernel...
2) reboot or load vmw_vmci and vmmon kernel modules (modprobe -a vmw_vmci vmmon)
3) Enable the services you need (using .service units to activate them during boot or .path units to activate them when a VM is started) :
vmware-networks: to have network access inside VMs
vmware-usbarbitrator: to connect USB devices inside VMs