1 <!-- -*- mode: sgml; mode: fold -*- -->
2 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
4 <!ENTITY % dakent SYSTEM "dak.ent">
13 <refentrytitle>dak_clean-suites</>
17 <!-- Man page title -->
19 <refname>dak clean-suites</>
20 <refpurpose>Utility to clean out old packages</>
26 <command>dak clean-suites</>
27 <arg><option><replaceable>options</replaceable></></arg>
31 <RefSect1><Title>Description</>
33 <command>dak clean-suites</command> is a utility clean out old packages. It will clean out any binary packages not referenced by a suite and any source packages not referenced by a suite and not referenced by any binary packages. Cleaning is not actual deletion, but rather, removal of packages from the pool to a 'morgue' directory. The 'morgue' directory is split into dated sub-directories to keep things sane in big archives.
37 <RefSect1><Title>Options</>
40 <VarListEntry><term><option>-n/--no-action</option></>
42 <Para>Don't actually clean any packages.</PARA>
46 <VarListEntry><term><option>-h/--help</option></>
48 <Para>Show help and then exit.</PARA>
56 <title>Configuration</title>
57 <para><command>dak clean-suites</command> uses dak's configuration file. It follows the typical ISC configuration format as seen in ISC tools like bind 8 and dhcpd. Apart from being able to alter the defaults for command line options, the following configuration items are used:</para>
60 <term>Clean-Suites::StayOfExecution</term>
62 <para>This is the number of seconds unreferenced packages are left before being cleaned.</para>
66 <term>Clean-Suites::MorgueSubDir</term>
68 <para>If not blank, this is the subdirectory in the morgue used to hold removed packages.</para>
74 <RefSect1><Title>Diagnostics</>
76 <command>dak clean-suites</command> returns zero on normal operation, non-zero on error.