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

[Error] yay not working in init_hooks distrobox assemble #1408

Closed
RashiqAzhan opened this issue May 22, 2024 · 1 comment
Closed

[Error] yay not working in init_hooks distrobox assemble #1408

RashiqAzhan opened this issue May 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@RashiqAzhan
Copy link

Describe the bug
yay not found and not working in init_hooks with distrobox assemble. Works as expected if container is start and the init_hooks are input manually in their order.

To Reproduce
Run distrobox assemble create.

distrobox.ini

[arch]
image=quay.io/toolbx/arch-toolbox:latest
pull=true
replace=true
start_now=true
additional_packages="git base-devel"
init_hooks=pacman -S --needed git base-devel;
init_hooks=cd yay-bin && makepkg -si;
init_hooks=yay -Sy --noconfirm keepassxc;
init_hooks=ln -s /usr/bin/distrobox-host-exec /usr/local/bin/docker

Expected behavior
Container building finishes without error and starts.

Logs
Run the commands with --verbose and post the log here as a file upload
distrobox_assemble_create_--verbose.txt

Attach also the output of podman logs or docker logs, possibly with --latest flag
podman_logs_--latest.txt

Desktop (please complete the following information):

  • Are you using podman, docker or lilipod? Podman
  • Which version or podman, docker or lilipod? 4.9.4
  • Which version of distrobox? 1.7.1.0
  • Which host distribution? Fedora Ublue - AuroraDX
  • How did you install distrobox? Built-in
@RashiqAzhan RashiqAzhan added the bug Something isn't working label May 22, 2024
@89luca89
Copy link
Owner

Duplicate of #1407

And it has the same solution

@89luca89 89luca89 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants