Repository navigation
Conversation
Omarchy on ARM installs hyprland, hyprtoolkit and hyprland-guiutils from its [omarchy] repository on purpose: 'omarchy update' passes them to pacman as omarchy/<name> targets (omarchy_arm_package_targets in /usr/share/omarchy/install/helpers/arm-package-sources.sh). When [extra] has a newer build, pacman -Qu keeps listing it, no update clears it, and the pending-upgrade check refuses every install and uninstall with "Run 'omarchy update'". Read the targets from Omarchy's own helper and skip a pending row only while the installed build is that repository's current one (pacman -Sl shows it as [installed]). A newer build in Omarchy's repository, any other package, a missing helper, a failing helper and an unconfigured repository all keep the current refusal. Fixes chriskearney#81. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Thanks @n0mahd, this is a good fix. I've carried it onto the current Your commit has no
If you'd rather use a different name or email, use that one. I'll add it to the carried commit and merge #110. |
Member
|
This PR is already superseeded. Thanks a lot for your contribution! 🤘 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #81.
Problem
On Omarchy Mac, the installer's pending-upgrade check never passes. Omarchy installs
hyprland,hyprtoolkitandhyprland-guiutilsfrom its own[omarchy]repository on purpose:omarchy updatepasses them asomarchy/<name>targets (omarchy_arm_package_targetsin/usr/share/omarchy/install/helpers/arm-package-sources.sh). Current omarchy-mac also passes them as--ignore. When[extra]has a newer build,pacman -Qukeeps listing it, without[ignored]:No update clears these, so
installand--uninstallboth stop with "Run 'omarchy update', reboot, then retry". I hit this on a J313 (MacBook Air M1) installingaurora-2026.10.10.12.Change
omarchy_arm_repo_pinsgets the list from Omarchy's own helper rather than hardcoding it, so the list stays right when Omarchy changes it. The check then skips a row without[ignored]only while the installed build is that repository's current one (pacman -Sl <repo>shows it as[installed]). The check still refuses in every other case:omarchy updatewould install.pacman -Slfails there, and the guard keeps that failure from ending the installer underset -euo pipefail.The
[ignored]handling is unchanged, soIgnorePkgholds still require an update, astest_ignored_non_candidate_upgrade_still_requires_full_updateexpects. This PR leaves out the second case in #81: a package marked[ignored]without being inIgnorePkg(claude-desktopthere,brave-binhere). Both come only from[omarchy], which Omarchy adds withUsage = Sync, so that is probably the cause. It deserves its own decision.Tests
pacman -Sl(it fails for an unconfigured repository, as pacman does) and four tests totest_m3_flow.py:|| trueguard.python3 -m unittest test_m3_flow test_m3_airon this branch: 119 tests, 1 skipped, 1 failure. The failure,test_limine_uninstall_removes_the_retained_gpu_off_entry, also happens without this change on this Mac. It isn't caused by this PR: with Aurora installed, that test reaches the real/etc/systemd/system/aurora-sep-fallback-modules.serviceand stops atsudo. Running the suite as root on an installed Mac would remove that unit.omarchy_arm_repo_pinsreturnshyprland hyprtoolkit hyprland-guiutils. The current omarchy-mac helper defines only functions and still hasomarchy_arm_package_targets.🤖 Generated with Claude Code