From a9796bb0362870c2d9d361c084cd6b62670c6330 Mon Sep 17 00:00:00 2001 From: The_miro Date: Sat, 27 Jun 2026 03:05:11 +0200 Subject: [PATCH] fix(modules): remove invalid wprs from core packages; DEs use curl not wget MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Live VM test revealed the HyprLua DE install aborted at the cursor-download step ("wget: command not found", exit 127), leaving ~/.config/hypr undeployed. Two root causes: 1. core-packages.sh listed `wprs` in the pacman array, but wprs is AUR-only (wprs-git). pacman aborts the ENTIRE transaction on an unknown target, so the whole core-packages install failed with "target not found: wprs" — and NONE of the core packages installed, including wget. Removed wprs (it has its own optional wprs.sh AUR module) and documented why it must never be re-added. 2. hyprlua/hyprland/niri downloaded the cursor theme and wallpaper with wget, which is not part of the base system. Switched them to curl (always present), so the DE install no longer depends on an earlier module having installed wget. Without these, HyprLua silently half-installed (packages yes, config no) and the booted system had no Hyprland configuration. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01R5kHioUMK3mtf2eiLEozCM --- setup/modules/Desktop-Environments/hyprland.sh | 6 +++--- setup/modules/Desktop-Environments/hyprlua.sh | 6 +++--- setup/modules/Desktop-Environments/niri.sh | 4 ++-- setup/modules/core-packages.sh | 5 ++++- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/setup/modules/Desktop-Environments/hyprland.sh b/setup/modules/Desktop-Environments/hyprland.sh index e3accb0..27df8c3 100755 --- a/setup/modules/Desktop-Environments/hyprland.sh +++ b/setup/modules/Desktop-Environments/hyprland.sh @@ -31,7 +31,7 @@ # 12. Udiskie tray-icon symlink fix # 13. config-updater symlinks + apply-theme.sh # -# Prerequisites: internet access, yay (AUR helper), rustup, git, wget, cargo. +# Prerequisites: internet access, yay (AUR helper), rustup, git, curl, cargo. # ============================================================================= # Exit immediately if any command fails — partial DE installs can leave the @@ -280,7 +280,7 @@ sudo ln -sf /usr/bin/ksshaskpass /usr/lib/ssh/ssh-askpass # may lag behind the upstream release schedule. log "Installing cursor theme..." mkdir -p ~/.icons -wget -O ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \ +curl -fL -o ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \ https://github.com/guillaumeboehm/Nordzy-cursors/releases/download/v2.3.0/Nordzy-cursors-lefthand.tar.gz # Extract directly into ~/.icons/ so the theme is immediately discoverable by # Hyprland (via hyprcursor) and by GTK applications. @@ -340,7 +340,7 @@ cp ~/Dotfiles/resources/fflogo.svg ~/Pictures/fflogo.svg # Download the personalised wallpaper from the owner's Nextcloud instance. # ?v=15 is a cache-buster version parameter on the Nextcloud theming API. -wget "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -O ~/Pictures/background.jpg +curl -fL "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -o ~/Pictures/background.jpg # --------------------------------------------------------------------------- # 12. Python venv for scripts diff --git a/setup/modules/Desktop-Environments/hyprlua.sh b/setup/modules/Desktop-Environments/hyprlua.sh index 63e01d6..2814498 100755 --- a/setup/modules/Desktop-Environments/hyprlua.sh +++ b/setup/modules/Desktop-Environments/hyprlua.sh @@ -34,7 +34,7 @@ # 12. Udiskie tray-icon symlink fix # 13. config-updater symlinks + apply-theme.sh # -# Prerequisites: internet access, yay (AUR helper), rustup, git, wget, cargo. +# Prerequisites: internet access, yay (AUR helper), rustup, git, curl, cargo. # ============================================================================= # Exit immediately on any error — partial DE installs leave a broken system. @@ -302,7 +302,7 @@ fi # build can lag behind upstream. log "Installing cursor theme..." mkdir -p ~/.icons -wget -O ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \ +curl -fL -o ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \ https://github.com/guillaumeboehm/Nordzy-cursors/releases/download/v2.3.0/Nordzy-cursors-lefthand.tar.gz # Extract into ~/.icons/ so both Hyprland (hyprcursor) and GTK apps can find it. tar -zxf ~/install-tmp/Nordzy-cursors-lefthand.tar.gz -C ~/.icons/ @@ -361,7 +361,7 @@ cp ~/Dotfiles/resources/fflogo.svg ~/Pictures/fflogo.svg # Download the personalised wallpaper from the owner's Nextcloud instance. # ?v=15 is a cache-buster on the Nextcloud theming background API endpoint. -wget "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -O ~/Pictures/background.jpg +curl -fL "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -o ~/Pictures/background.jpg # --------------------------------------------------------------------------- # 12. Python venv for scripts diff --git a/setup/modules/Desktop-Environments/niri.sh b/setup/modules/Desktop-Environments/niri.sh index 263541f..2e9d52a 100755 --- a/setup/modules/Desktop-Environments/niri.sh +++ b/setup/modules/Desktop-Environments/niri.sh @@ -89,7 +89,7 @@ fi # 7. Cursor setup log "Installing cursor theme..." mkdir -p ~/.icons -wget -O ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \ +curl -fL -o ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \ https://github.com/guillaumeboehm/Nordzy-cursors/releases/download/v2.3.0/Nordzy-cursors-lefthand.tar.gz tar -zxf ~/install-tmp/Nordzy-cursors-lefthand.tar.gz -C ~/.icons/ @@ -119,7 +119,7 @@ enable_service greetd.service log "Copying wallpaper and resources..." mkdir -p ~/Pictures ~/Pictures/Screenshots cp ~/Dotfiles/resources/fflogo.svg ~/Pictures/fflogo.svg -wget "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -O ~/Pictures/background.jpg +curl -fL "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -o ~/Pictures/background.jpg # 12. Python venv for scripts log "Setting up Python venv for scripts..." diff --git a/setup/modules/core-packages.sh b/setup/modules/core-packages.sh index d99c04d..9879c86 100644 --- a/setup/modules/core-packages.sh +++ b/setup/modules/core-packages.sh @@ -154,7 +154,10 @@ CORE_PACKAGES=( wireplumber # Session/policy manager for PipeWire (required for audio) wireless_tools # Legacy iwconfig, iwlist — sometimes needed for troubleshooting wpa_supplicant # WPA2/WPA3 supplicant for WiFi authentication - wprs # Wayland proxy for running X11 apps in Wayland sessions + # NOTE: wprs is NOT in the official repos (AUR: wprs-git). It must never be + # listed here — pacman aborts the ENTIRE transaction on an unknown target, so + # one AUR entry would prevent every core package (wget, etc.) from installing. + # Install it via the optional wprs.sh module (which uses yay) instead. # ── File manager & archive ──────────────────────────────────────────────── yazi # Terminal file manager with image preview and fuzzy search