Skip to content

feat(pm): halt and ask instead of aborting when a strap fails - #302

Merged
h8d13 merged 2 commits into
masterfrom
pacstrap-error-recovery-dev
Nov 10, 2026
Merged

h8d13 merged 2 commits into
masterfrom
pacstrap-error-recovery-dev

Conversation

@h8d13

@h8d13 h8d13 commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Ideas from @sernik77 in #301

h8d13 and others added 2 commits November 10, 2026 01:15
The blind "re-try download? (Y/n)" either retried once or raised, and
blocked on input() under --silent.

- after the keyring/pacman.conf auto-reset, ask: retry, chroot into the
  target (then retry), or exit
- --silent or no terminal fails straight away instead of waiting
- flush keys typed while pacstrap ran, so a stray Enter cannot answer

Idea from the recovery prompt in a PR by serainox420.

Co-authored-by: serainox420 <serainox@gmail.com>
Signed-off-by: h8d13 <hadean-eon-dev@proton.me>
…very-dev

# Conflicts:
#	installer/archinstoo/lib/pm/pacman.py
@h8d13 h8d13 changed the title Pacstrap error recovery dev feat(pm): halt and ask instead of aborting when a strap fails Nov 10, 2026
@h8d13
h8d13 merged commit cb8b688 into master Nov 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant