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

Archinstall hangs on "custom-commands" when it needs a user input #2217

Open
ghost opened this issue Nov 17, 2023 · 0 comments
Open

Archinstall hangs on "custom-commands" when it needs a user input #2217

ghost opened this issue Nov 17, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 17, 2023

I have set the custom-commands part in the config file as this:

"custom-commands": [
        "pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com",
        "pacman-key --lsign-key 3056513887B78AEB",
        "pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst'",
        "pacman -U 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'"
        ...
]

Archinstall hangs on the third command (pacman -U) without showing any output. Obviously, it was waiting under the hood for a confirmation (Y/n) to proceed to install but that text was not shown. And even when pressing Y then Enter, it does nothing.

In this case, adding --noconfirm to pacman -U can make it install without waiting for user input. But in other cases,
Archinstall should shows the output of the customs commands and accepts the input if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant