Update outdated deb installer to deb822

Aperta
#3,975 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bash, linux, shell, ubuntu
Ambito
cli, devops

Direzione di ricerca

The issue does not name the installer script, so first locate the Jamulus Debian repository setup script and read how it currently writes the APT source and installs the signing key. Check the linked Syncthing discussion for the key storage choice before making a change. Done when the installer uses a deb822 .sources file with a matching Signed-By key path and apt update no longer reports the missing-key warning.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

good first issue needs documentation tooling

Describe the bug

apt update/upgrade warns
To Reproduce

Expected behavior
clean

Comply with not-so-new apt deb822 format
Screenshots

sudo apt update
...
Tous les paquets sont à jour.
N: Il manque « Signed-By » dans l'entrée sources.list(5) pour « https://github.com/jamulussoftware/jamulus/releases/latest/download »

Operating system

Ubuntu 24.04
Version of Jamulus

3.12.5
Additional context
New value for $REPO_FILE
Decision should be made where to store the key ($KEY_FILE), /etc/apt/trusted.gpg.d/ or /usr/share/keyrings/
Discussion here : https://github.com/syncthing/syncthing/issues/10495

The script should be updated to something like that:

...
REPO_FILE=/etc/apt/sources.list.d/jamulus.sources
KEY_FILE=/etc/apt/trusted.gpg.d/jamulus.asc
GITHUB_REPOSITORY="jamulussoftware/jamulus"

echo "Setting up Jamulus repo at ${REPO_FILE}..."
echo "Types: deb" > ${REPO_FILE}
echo "URIs: https://github.com/${GITHUB_REPOSITORY}/releases/latest/download/" >> ${REPO_FILE}
echo "Suites: ./" >> ${REPO_FILE}
echo "Components: " >> ${REPO_FILE}
echo "Signed-By: " ${KEY_FILE}" >> ${REPO_FILE}
echo "Installing Jamulus GPG key at ${KEY_FILE}..."
curl --fail --show-error -sLo "${KEY_FILE}" https://github.com/${GITHUB_REPOSITORY}/releases/latest/download/key.asc
...
Lingua principale
C
Stelle
1.1k
Fork
251
Merge medio
5g 1h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jamulussoftware/jamulus

Tutte le issue di jamulussoftware/jamulus

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.