apx
apx copied to clipboard
Yay not found on PATH
apx --aur search and apx --aur install both don't work.
» apx install --aur nvim
Error: executable file `yay` not found in $PATH: No such file or directory: OCI runtime attempted to invoke a command that was not found
Error: exit status 127
Usage:
apx.use install [flags]
Examples:
apx install htop git
Flags:
-y, --assume-yes install.assumeYes
-f, --fix-broken install.fixBroken
--no-export install.noExport
--sideload install.sideload
--allow-unfree nixinstall.allowUnfree
--apt flags.apt
--aur flags.aur
--dnf flags.dnf
--apk flags.apk
--zypper flags.zypper
--xbps flags.xbps
--nix flags.nix
-n, --name string flags.name
-h, --help help for install
Global Flags:
-v, --verbose apx.verboseFlag
ERROR exit status 127
The container creation fails not.
I'm encountering the same on Linux Mint (Ubuntu).
I'm currently encountering the same problem in Fedora 38. Tried a lot of interactions with apx, but nothing really worked.
UPDATE:
I did manage to install the yay
package inside the Arch container. It's a little stubborn process, but installing AUR packages with apx was back in order after it.
To do it, follow this steps:
- Before everything, clone the
yay
package outside the Arch container. (git clone https://aur.archlinux.org/yay.git
) -
apx enter --aur
. -
pacman -S --needed git base-devel
. - cd to the path where you cloned
yay
. -
makepkg -si
. - Exit the container and install software with the
--aur
flag!