Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yay not found on PATH #210

Open
Durus-R opened this issue Apr 20, 2023 · 2 comments
Open

Yay not found on PATH #210

Durus-R opened this issue Apr 20, 2023 · 2 comments
Assignees
Labels
need evaluation This issue/pr need evaluation

Comments

@Durus-R
Copy link
Contributor

Durus-R commented Apr 20, 2023

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.

@paladhammika
Copy link

paladhammika commented Apr 25, 2023

I'm encountering the same on Linux Mint (Ubuntu).

@cehidalgo
Copy link

cehidalgo commented Apr 26, 2023

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:

  1. Before everything, clone the yay package outside the Arch container. (git clone https://aur.archlinux.org/yay.git)
  2. apx enter --aur.
  3. pacman -S --needed git base-devel.
  4. cd to the path where you cloned yay.
  5. makepkg -si.
  6. Exit the container and install software with the --aur flag!

@mirkobrombin mirkobrombin added the need evaluation This issue/pr need evaluation label Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need evaluation This issue/pr need evaluation
Projects
None yet
Development

No branches or pull requests

5 participants