Manual pages › Character sets, environment, package files (5)
admin(5)
installation defaults for pkgadd and pkgrm; apkg's /var/apkg/admin
Package: APKG, added for amigaux.
Also by this name: admin(1), General commands · admin(4), File formats and configuration files
NAME
admin - installation defaults for pkgadd and pkgrm; apkg's /var/apkg/admin
SYNOPSIS
/var/apkg/admin
DESCRIPTION
An admin file answers in advance the questions pkgadd(1M) and pkgrm(1M) would otherwise ask, so they can run without a terminal. It is passed with -a file. Each line is keyword=value.
apkg(1) runs every pkgadd and pkgrm with /var/apkg/admin (the admin key of apkg.conf(5)), because the engine's input is not a terminal. The file is a conffile(5) of the APKG package: an upgrade keeps your edited file and puts the new default beside it as /var/apkg/admin.new. apkg re-creates the file with the default contents if it is missing, and never rewrites an existing one.
KEYWORDS
Each keyword takes nocheck (do not check), quit (stop the installation) or ask (ask; with no terminal this is a failure), except where noted.
- users to mail when an installation finishes (empty: nobody)
- instance
- what to do when the package is already installed: quit (stop), overwrite (install over it), or unique (install a second instance)
- partial
- an earlier installation of the package was not completed
- runlevel
- the system is not at the run level the package asks for
- idepend
- a package this one depends on is not installed
- rdepend
- removing the package would break a package that depends on it
- space
- the file systems lack the space the package needs
- setuid
- the package installs setuid or setgid files
- conflict
- the package installs files another package owns
- action
- the package runs install scripts
- basedir
- the installation base directory (default: the package's own BASEDIR)
APKG'S DEFAULT
mail= instance=quit partial=nocheck runlevel=nocheck idepend=nocheck rdepend=nocheck space=quit setuid=nocheck conflict=nocheck action=nocheck basedir=default
Dependencies are checked by apkg itself before the engine runs, so the engine's own checks are off. For an upgrade, apkg derives /var/apkg/admin.overwrite from this file: every keyword you set is carried across and only instance becomes overwrite.
FILES
- /var/apkg/admin
- apkg's admin file
- /var/apkg/admin.new
- the new default after an upgrade that kept your file
- /var/apkg/admin.overwrite
- derived for upgrades; rewritten on every use
SEE ALSO
| October 2026 | apkg 0.3.4 |