Amiga Unix — 68040 · 68060

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

admin - installation defaults for pkgadd and pkgrm; apkg's /var/apkg/admin

/var/apkg/admin

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.

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)
what to do when the package is already installed: quit (stop), overwrite (install over it), or unique (install a second instance)
an earlier installation of the package was not completed
the system is not at the run level the package asks for
a package this one depends on is not installed
removing the package would break a package that depends on it
the file systems lack the space the package needs
the package installs setuid or setgid files
the package installs files another package owns
the package runs install scripts
the installation base directory (default: the package's own BASEDIR)

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.

/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

apkg(1), apkg.conf(5), conffile(5), pkgadd(1M), pkgrm(1M)

October 2026 apkg 0.3.4