Extra packages: Difference between revisions

From techdocs
Jump to navigation Jump to search
(Created page with "<code>/usr/local/extrapackages</code> is a directory on New World, user login-able hosts which contains two types of Debian package lists: # Lists of packages to be installed (*.pkglist), and # Lists of packages to be removed (*.purge). * Each file is a list of package names, one per line, * The package names cannot contain the version - any that do will be ignored, * The packages will only be sourced from Debian's own repositories. No other repositories will b...")
 
m (Plinich moved page /usr/local/extrapackages to Extra packages)
(No difference)

Revision as of 17:16, 18 July 2022

/usr/local/extrapackages is a directory on New World, user login-able hosts which contains two types of Debian package lists:

  1. Lists of packages to be installed (*.pkglist), and
  2. Lists of packages to be removed (*.purge).
  • Each file is a list of package names, one per line,
  • The package names cannot contain the version - any that do will be ignored,
  • The packages will only be sourced from Debian's own repositories. No other repositories will be searched,

These lists are maintained by teaching staff who have rsync access to the same-named directory on the cfengine hub and from whence the cf-agent on each client copies the lists.

On the clients, when any of the lists change the agent firstly attempts to install all the listed packages (but, of course, those already installed will be skipped), and then attempts to remove/purge the correspondingly listed packages (and, of course, those not present will be skipped).

You can see what's happening in the package department by looking at the /var/log/apt/history.log file on a client host.

See cfengine hub, masterfiles extrapackages.inc.