Run omarchy update on a non-English locale when it aborts with 'unsafe Omarchy update inhibitor state path'
Rechecked on 2026-10-05: PR #13352 and #14023 are both still OPEN, quattro bin/omarchy-update-stay-awake still has /usr/bin/stat -Lc '%u %a %F' at line 71 with $type == "directory" at line 72, and the stable 4.0.4-1 helper here (/usr/bin/omarchy-update-stay-awake, symlinked from /usr/share/omarchy/bin) has no such check. The bar widget (SystemUpdate.qml line 20) and the menu entry update.omarchy in default/omarchy/omarchy-menu.jsonc both run omarchy-launch-floating-terminal-with-presentation omarchy-update, which execs bash -c, and envs.lua puts /usr/share/omarchy/bin first on the session PATH, so the fix holds. omarchy-update-system-pkgs does pass --overwrite '/usr/share/omarchy/*'. The cause's version range is fabricated precision: the cited issues report omarchy-dev 4.0.0.r6646, r6688, r6689 and r6691 (and pending r6693) plus a dev checkout at e1614f2b. No source here mentions r2304 or r6694, and none reports an edge-channel build. #13376 labels itself 4.0.4-1 but the stable helper here cannot produce the message, so that label is likely a mislabelled dev build. Cause rewritten to the versions the sources support. The update itself was not run.
Symptom
omarchy update stops right after the snapshot step and never upgrades anything:
Create system snapshot
Snapshots can be selected during boot.
Refusing to use an unsafe Omarchy update inhibitor state path.
Something went wrong during the update!
...
Refusing to use an unsafe Omarchy update inhibitor state path.
The desktop language is French, German, Spanish, Portuguese, Hungarian, Chinese or similar. The bar's update icon and the menu entry fail the same way every time.
Cause
Dev-channel builds (omarchy-dev 4.0.0.rNNNN, reported on r6646, r6688, r6689 and r6691, and on a dev checkout at e1614f2b) ship a hardened omarchy-update-stay-awake. Its root_owned_parent_chain() walks $XDG_RUNTIME_DIR up to / and runs stat -Lc '%u %a %F', then requires $type == "directory". coreutils translates %F, so it prints répertoire, directorio, diretório, könyvtár or 目录, the comparison always fails, the helper calls fail_state_boundary, and omarchy-update (under set -e) aborts before pacman runs. The stable 4.0.4-1 helper on this workstation has no %F check and is not affected, and no cited report confirms an edge-channel build. The same check is still on quattro as of 2026-10-05. Fixes are open upstream (PR #13352 forces LC_ALL=C on that stat, #14023 drops the redundant check) and neither was merged as of 2026-10-05.
Fix
Run the update from a terminal with the C locale for that one command. It only changes the language of command output for this run:
LC_ALL=C omarchy update
The bar's update icon and the Omarchy menu cannot take that prefix. Both run omarchy-launch-floating-terminal-with-presentation omarchy-update, which starts a non-interactive bash -c that reads no rc file, inside the Hyprland session environment, and /usr/share/omarchy/default/hypr/envs.lua puts /usr/share/omarchy/bin first on that PATH. A PATH shim in ~/.bashrc or in the uwsm environment never reaches them. Use the terminal until a package carrying PR #13352 or #14023 lands. Check whether the installed helper still has the localized check:
pacman -Q omarchy-dev omarchy 2>/dev/null
grep -c "%u %a %F" /usr/share/omarchy/bin/omarchy-update-stay-awake # 0 means fixed
Do not patch /usr/share/omarchy/bin in place: omarchy-update-system-pkgs reinstalls that tree with --overwrite '/usr/share/omarchy/*'.
Verify
stat -Lc '%F' /run/user prints a translated word (confirms you are affected) while LC_ALL=C omarchy update runs past Create system snapshot into Update system packages and finishes without the red banner.
Sources
- https://github.com/omacom/omarchy/issues/13320
- https://github.com/omacom/omarchy/issues/13385
- https://github.com/omacom/omarchy/issues/13892
- https://github.com/omacom/omarchy/issues/14087
- https://github.com/omacom/omarchy/pull/13352
- https://github.com/omacom/omarchy/issues/13376
- https://github.com/omacom/omarchy/pull/14023