diff --git a/install.sh b/install.sh index 6f03c9f..aa53614 100755 --- a/install.sh +++ b/install.sh @@ -425,14 +425,18 @@ install_native() { ln -sf /usr/local/go/bin/gofmt /usr/local/bin/gofmt # ── 1c. Manticore Search ────────────────────────────────────────────────── - info "Installiere Manticore Search..." + # Kein natives trixie-Repo (siehe update.sh für Details) — bookworm-Paket + # ist lauffähig. Seit ~v25 ein einziges "manticore"-Paket statt der + # früheren manticoresearch_*-Aufteilung; GitHub-Releases liefern keine + # .deb-Assets mehr, daher kein Fallback mehr dorthin. Version pinnen statt + # dynamisch "latest" ermitteln (vorhersagbar, kein Parsing-Risiko) — zum + # Aktualisieren: https://repo.manticoresearch.com/repository/manticoresearch_bookworm/dists/bookworm/main/binary-amd64/Packages + _MANTICORE_VERSION="27.1.5-26061911-5a1cf9399" + info "Installiere Manticore Search ${_MANTICORE_VERSION}..." if ! command -v searchd >/dev/null 2>&1 && ! systemctl is-active --quiet manticore 2>/dev/null; then - # Manticore hat kein natives trixie-Paket — bookworm-Paket ist kompatibel _mc_arch="$(dpkg --print-architecture)" wget -q -O /tmp/manticore.deb \ - "https://repo.manticoresearch.com/repository/manticoresearch_bookworm/pool/main/m/manticoresearch/manticoresearch_6.3.6_${_mc_arch}.deb" 2>/dev/null \ - || wget -q -O /tmp/manticore.deb \ - "https://github.com/manticoresoftware/manticoresearch/releases/download/6.3.6/manticoresearch_6.3.6.202408011246.4c39781ba-1+bookworm_${_mc_arch}.deb" 2>/dev/null \ + "https://repo.manticoresearch.com/repository/manticoresearch_bookworm/dists/bookworm/main/binary-${_mc_arch}/manticore_${_MANTICORE_VERSION}_${_mc_arch}.deb" \ || true if [[ -f /tmp/manticore.deb ]]; then dpkg -i /tmp/manticore.deb 2>/dev/null || apt-get install -f -y -qq 2>/dev/null || true diff --git a/update.sh b/update.sh index 3058925..db86979 100755 --- a/update.sh +++ b/update.sh @@ -78,16 +78,28 @@ command -v npm >/dev/null || die "npm nicht gefunden — apt-get install npm" # ── Manticore Search prüfen / installieren ──────────────────────────────── # Paket ist an bookworm gebunden — funktioniert auch auf trixie und Debian 14+, -# da Manticore kein OS-spezifisches ABI nutzt. +# da Manticore kein OS-spezifisches ABI nutzt (repo.manticoresearch.com hat +# kein eigenes trixie-Repo, siehe Release-Notes ab v13.6.7 "Added support for +# Debian 13 Trixie" — das bezieht sich auf Lauffähigkeit, nicht auf ein neues +# Repo). Seit ~v25 ist "manticoresearch" ein einziges "manticore"-Paket +# (vorher mehrere manticore-server/-tools/-dev-Pakete) — Paketname und +# Pfadstruktur im Repo haben sich entsprechend geändert. GitHub-Releases +# liefern seit einiger Zeit keine .deb-Assets mehr (leeres assets[]), daher +# kein Fallback mehr dorthin — repo.manticoresearch.com ist der einzige Weg. +# +# Version manuell pinnen (wie hier) statt "latest" dynamisch aus der +# Packages-Datei zu parsen: vorhersagbarer, kein Risiko durch Parsing-Format- +# Änderungen im Repo. Zum Aktualisieren: aktuelle Version+Filename unter +# https://repo.manticoresearch.com/repository/manticoresearch_bookworm/dists/bookworm/main/binary-amd64/Packages +# nachschlagen (letzter "Package: manticore"-Block). +_MANTICORE_VERSION="27.1.5-26061911-5a1cf9399" if ! command -v searchd >/dev/null 2>&1 && ! systemctl is-active --quiet manticore 2>/dev/null; then - info "Manticore Search nicht gefunden — installiere..." + info "Manticore Search nicht gefunden — installiere Version ${_MANTICORE_VERSION}..." _mc_arch="amd64" [[ "$(uname -m)" == "aarch64" ]] && _mc_arch="arm64" wget -q -O /tmp/manticore.deb \ - "https://repo.manticoresearch.com/repository/manticoresearch_bookworm/pool/main/m/manticoresearch/manticoresearch_6.3.6_${_mc_arch}.deb" 2>/dev/null \ - || wget -q -O /tmp/manticore.deb \ - "https://github.com/manticoresoftware/manticoresearch/releases/download/6.3.6/manticoresearch_6.3.6.202408011246.4c39781ba-1+bookworm_${_mc_arch}.deb" 2>/dev/null \ + "https://repo.manticoresearch.com/repository/manticoresearch_bookworm/dists/bookworm/main/binary-${_mc_arch}/manticore_${_MANTICORE_VERSION}_${_mc_arch}.deb" \ || true if [[ -f /tmp/manticore.deb ]]; then dpkg -i /tmp/manticore.deb 2>/dev/null || apt-get install -f -y -qq 2>/dev/null || true