Split package installation to handle failures gracefully#151
Closed
apiguy wants to merge 7 commits into
Closed
Conversation
When archinstall is run using an ethernet connection, iwd will not be installed. Explicitly install and enable the service
install: explicitly install iwd
Omarchy v1.3.1
Omarchy v1.3.2
Add override to only require one network interface online
…xtras scripts now install packages individually rather than in bulk. This prevents a single package failure (often due to PGP key issues) from blocking the installation of all other packages. Failed packages are collected and reported at the end of the installation.
dhh
added a commit
that referenced
this pull request
Jul 15, 2025
Member
|
I've made xtras.sh more resilient towards those known issues, but done so in a less invasive way. Thanks for finding all these spots! If you notice any other packages that are potentially flaky in similar ways, we can follow this pattern again. |
iharsuvorau
pushed a commit
to iharsuvorau/omarchy
that referenced
this pull request
Jul 16, 2025
chriopter
pushed a commit
to chriopter/omarchy
that referenced
this pull request
Nov 18, 2025
maralcbr
pushed a commit
to maralcbr/omarchy-mac
that referenced
this pull request
Mar 22, 2026
v3.4.1 update
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.
Desktop and xtras scripts now install packages individually rather than in bulk. This prevents a single package failure (often due to PGP key issues) from blocking the installation of all other packages. Failed packages are collected and reported at the end of the installation.
Some non-critical packages may fail to install during installation, resulting in Omarchy installation failing in a partially installed state. Now installation will complete, keeping track of failed packages, allowing a user to choose to manually install those packages which Omarchy reports have failed to install.
Why only these 2 scripts? It seems only these 2 scripts contain proprietary software which has the installation failure likelyhood. Now that 1Password has moved to xtras it could be that only xtras would need this, but I'm not certain.
Testing shows this has minimal impact on performance. The only downside is that dependency resolution happens incrementally instead of all at once, but the end result seems to be the same.
One additional upside to this approach, it's much easier to see which packages are being installed, and simpler to add another to the list.
Some examples of packages which fail to install from time to time:
Spotify - Usually due to GPG Keys
1Password - GPG key needs to be installed sometimes
Typora - Good maintainer but sometimes the package breaks
Dropbox - Since 2019 still breaks in the same way occasionally
Maybe we should do this automatically?