Debian package templates
mouse 133 · person cloud · link
Last update
2023-11-17
2023
11-17
«package variables»

inspect package available templates items with descriptions

1
2
3
4
5
# use `mc` to explore .deb content and locate `templates` file
# or use apt-extracttemplates
# or do it manually:
ar x file.deb control.tar.xz
tar -xOf control.tar.xz ./templates | less -p Template

set items value (pre-seed)

1
2
3
4
5
6
7
8
# list items
debconf-get-selections | grep ttf-mscorefonts-installer

# set item
echo "ttf-mscorefonts-installer  msttcorefonts/dlurl  string  xyz" | debconf-set-selections

# install package
apt-get install ttf-mscorefonts-installer

Source: serverfault, stackoverflow