fix(installer): carapace not in pacman repos on Arch - #178
Open
AdrianLinares wants to merge 1 commit into
Open
Conversation
The Gentlemen.Dots installer declares `carapace` as a pacman package for Arch Linux in the Fish/Zsh/Nushell shell-install steps, but `carapace` is not available in the official Arch repositories. It only exists in the AUR as `carapace` (source build) or `carapace-bin` (prebuilt), and `carapace-bin` Provides: carapace. As a result `pacman -S --needed --noconfirm fish carapace zoxide atuin starship` fails with `target not found: carapace`, aborting the whole shell install step before starship.toml or the fish config are copied. Removing `carapace` from the Arch field makes pacman proceed. The carapace binary can still be provided via the AUR (carapace-bin) or Homebrew fallback. Brew/Fedora/Debian fields keep carapace where it is actually installable.
|
same problem here (CachyOS) |
|
I have the same problem (CachyOs) |
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.
Problem
The Arch (pacman) shell-install step in the TUI installer fails with
target not found: carapace, aborting the whole shell-install step on a fresh Arch Linux box beforestarship.tomlor the fish config are copied.Root cause
The installer declares
carapaceas a pacman package in theArchfield of the Fish, Zsh and Nushell steps (installer/internal/tui/installer.go):But
carapaceis not in the official Arch repositories. It only exists in the AUR ascarapace(source build) orcarapace-bin(prebuilt;Provides: carapace).pacman -S --needed --noconfirm fish carapace zoxide atuin starshiptherefore errors out oncarapaceand the entire shell step is marked failed.This is unrelated to the Brew/Fedora/Debian fields —
carapaceIS installable via Homebrew and is in the Fedora repos, so those paths work fine; only the pacman path is broken.Fix
Remove
carapacefrom the threeArchfields only (Fish, Zsh, Nushell). The Brew/Fedora/Debian fields are left untouched — carapace remains installable there.installer/internal/tui/installer.gocarapacefrom theArch:field of the Fish, Zsh and NushellinstallPlatformPackagescallsArch users who actually want carapace can install it from the AUR (
carapace-bin) or via the Homebrew fallback path.Verification
The single failing test (
internal/tui) is an environmental golden-file mismatch — the golden expectsDetected: macOSbut this machine runs Arch Linux. It fails identically on pristinemain(without this patch) and is unrelated to the change in this PR.