Apt

Apt is the pacakge handling system of debian and its derivatives, like ubuntu.

TODO: add ref

Adding and removing packages

In the config file, instruct metaconfig to install certain pacakages, and to remove certain packages (if they are installed).

1
2
3
4
5
6
[apt]
install += "somepackage"
install += ["a", "list", "of", "packages"]

remove += "Someotherpackage"
remove += ["a", "list", "of", "packages", "no", "to", "be", "on", "the", "system"]

If bad package names are used, metaconfig will return with an error.

Note that, before installing, metaconfig will update the repositories (as in run “apt-get update”)

Adding apt keys

Apt repositories has signing keys, and metaconfig will normalæy fail if packages cannot be validated.

1
2
3
4
5
[apt.source.debian_mozilla]
url = "http://mozilla.debian.net/"
dist = "wheezy-backports"
components = ["iceweasel-esr"]
keys += "A6AA8C72"

(from Metaconfig_mozrepo/service/iceweasel_latest_esr/config)

TODO: how to find these keys? or a link to some debian documentation related to this.