fix(deploy): Manticore-Installer auf aktuelles Paketschema+Version aktualisieren

Manticore hat das Debian-Paketschema geändert: früher mehrere
manticoresearch_*-Pakete unter pool/main/m/manticoresearch/, seit ~v25 ein
einziges "manticore"-Paket unter dists/bookworm/main/binary-ARCH/. Beide
Skripte waren zudem hart auf die veraltete Version 6.3.6 gepinnt (aktuell:
27.1.5). GitHub-Release-Fallback entfernt, da GitHub-Releases inzwischen
keine .deb-Assets mehr anhängen (leeres assets[], per API verifiziert) —
repo.manticoresearch.com ist der einzige funktionierende Weg.

Neue Download-URL + Paket-Metadaten (Name/Version/Architektur) gegen den
echten Server verifiziert, beide Skripte mit bash -n auf Syntaxfehler
geprüft. Betrifft nur Neuinstallationen — bestehende Installationen mit
bereits laufendem Manticore überspringen den Installationsblock unverändert.
This commit is contained in:
sysops
2026-07-05 18:00:36 +02:00
parent 55131de81d
commit 3428537cd9
2 changed files with 26 additions and 10 deletions
+9 -5
View File
@@ -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