From 417fa280c3f82e2b115a2258ad40ac1f95d6d8b3 Mon Sep 17 00:00:00 2001 From: Smittix Date: Mon, 5 Jan 2026 13:39:05 +0000 Subject: [PATCH] Handle missing dump1090 and rtl-433 packages gracefully MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Check apt-cache for package availability before installing - Try dump1090-fa, dump1090-mutability, then dump1090 variants - Try rtl-433 and rtl433 package names - Show helpful message with FlightAware install link if dump1090 unavailable - Update manual instructions with correct package info 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- setup.sh | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index fd310e6..9d915e5 100755 --- a/setup.sh +++ b/setup.sh @@ -241,7 +241,30 @@ install_debian_tools() { if $MISSING_CORE; then echo "" echo -e "${BLUE}Installing Core SDR tools...${NC}" - $SUDO apt install -y rtl-sdr multimon-ng rtl-433 dump1090-mutability + + # Install packages that are reliably available + $SUDO apt install -y rtl-sdr multimon-ng + + # rtl-433 may be named differently or unavailable + if apt-cache show rtl-433 &>/dev/null; then + $SUDO apt install -y rtl-433 + elif apt-cache show rtl433 &>/dev/null; then + $SUDO apt install -y rtl433 + else + echo -e "${YELLOW}Note: rtl-433 not found in repositories. Install manually or from source.${NC}" + fi + + # dump1090 has multiple package variants + if apt-cache show dump1090-fa &>/dev/null; then + $SUDO apt install -y dump1090-fa + elif apt-cache show dump1090-mutability &>/dev/null; then + $SUDO apt install -y dump1090-mutability + elif apt-cache show dump1090 &>/dev/null; then + $SUDO apt install -y dump1090 + else + echo -e "${YELLOW}Note: dump1090 not found in repositories.${NC}" + echo " Install FlightAware's version from: https://flightaware.com/adsb/piaware/install" + fi fi # WiFi tools @@ -328,7 +351,11 @@ show_manual_instructions() { echo "" echo "# Core SDR tools" echo "sudo apt update" - echo "sudo apt install rtl-sdr multimon-ng rtl-433 dump1090-mutability" + echo "sudo apt install rtl-sdr multimon-ng rtl-433" + echo "" + echo "# dump1090 (try one of these - package name varies):" + echo "sudo apt install dump1090-fa # FlightAware version" + echo "# Or install from: https://flightaware.com/adsb/piaware/install" echo "" echo "# LimeSDR support (optional)" echo "sudo apt install soapysdr-tools limesuite soapysdr-module-lms7"