Repository navigation
Conversation
ab70fe4 to
b3a01ff
Compare
When switching channels (such as rolling back from edge to stable or rc), omarchy-channel-set invokes omarchy-refresh-pacman to update mirror configurations and perform an initial sync transaction. Because omarchy and omarchy-dev are distinct conflicting packages that share identical filesystem paths under /usr/share/omarchy, running pacman -Syyuu non-interactively without --ask 4 causes pacman to abort with unresolvable package conflicts before omarchy-channel-set can install the channel's target packages. Pass --ask 4 and --overwrite '/usr/share/omarchy/*' to the pacman transaction in omarchy-refresh-pacman, aligning it with the conflict-handling and file-overwrite patterns established in omarchy-update-system-pkgs.
b3a01ff to
85f1974
Compare
Automated AI review
Outcome: The new flags go on the refresh
|
|
I ran this on a worker VM built from the Omarchy ISO: switched it to edge with What actually fails. The Why the flags are on the wrong transaction. No package in the stable, rc or edge repository declares What the change would add. The second opinion, Codex at medium effort, reached the same conclusion, though its independence from my review isn't guaranteed. On its own it pointed out that pacman's sync code selects replacements only through Next step is yours. If you hit |
Problem
Switching from
edgeordev(which installsomarchy-dev) back tostableorrc(which installsomarchy) fails duringomarchy-refresh-pacman:Pacman runs non-interactively without
--ask 4, so it aborts instead of accepting the package replacement and overwriting files under/usr/share/omarchy/.Fix
When switching to
stableorrcandomarchy-devis installed, pass--ask 4 --overwrite '/usr/share/omarchy/*'to the-Syyuutransaction.Tests
test/shell.d/channel-sudo-boundary-test.shtest/shell.d/channel-test.shtest/shell.d/update-hook-security-test.sh