Qlustar Package Management

hn-1:/apps/chroots/*

schroot-root jammy-???
apt-get update
apt-get install YOUR_PACKAGE
debfoster

Some external repos come with outdated instructions on how to set up trust. The following stategy avoids warnings due to deprecation warnings of the respective apt tools (and placing it into Makefile makes this understandable for the future):

Add to hn-1:/apps/chroots/*/Makefile

KEYSDIR=/usr/share/keyrings
REPODIR=/etc/apt/sources.list.d

wget -O $(KEYSDIR)/NEWREPO-keyring.gpg https://NEWREPO.tld/.../keyring.gpg
echo "deb [signed-by=$(KEYSDIR)/NEWREPO-keyring.gpg] https://NEWREPO.tld/.../deb/ stable main" > $(REPODIR)/NEWREPO.list

Then apt-get update && apt-get install NEWPACKAGE && debfoster as usual.

  • compflu/backstage/apt.txt
  • Last modified: 2023-12-05 15:53
  • by j.hielscher