* Skip custom mirror config when keyring sync fails Check the exit state of archlinux-keyring-wkd-sync.service after waiting for it to finish. If it failed, skip set_mirrors() and continue installation with default mirrors instead of crashing with "GPGME error: No data" during pacman -Syy. * Reinit keyring automatically when pacman sync fails with GPGME error Instead of skipping mirror configuration when wkd-sync fails, catch the GPGME error at the point where it actually occurs - during pacman -Syy. If the sync fails with a keyring-related error, reinit the keyring with pacman-key --init/--populate and retry the sync. * Simplify pacman sync() and guard gpg-agent kill on running state Collapse the duplicated self.ask() blocks in sync() into a single call via a msg variable, and drop the redundant default_cmd='pacman' (it is already the default). In _reinit_keyring(), check that gpg-agent is actually running (pgrep -x) before killing it, instead of catching the killall error and assuming it was not running. |
||
|---|---|---|
| .. | ||
| applications | ||
| default_profiles | ||
| lib | ||
| locales | ||
| scripts | ||
| tui | ||
| __init__.py | ||
| __main__.py | ||
| examples | ||
| main.py | ||