Revert "TODO - slave_cleanup-sort mounts so that subdirs are umounted first."

This reverts commit e0086ee785920c8e62f8873224f52f2eaea8a550.

this is already done:

  for MOUNTPOINT in $(tac /proc/mounts | ...) ...
p-s: drop undocumented internal use of slave-directory config key

this [global] setting will be used soon for a different purpose
(and with a different value)

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p: call dpkg-deb with --nocheck to allow bad version numbers

dpkg-deb refuses to create packages with bad version numbers,
e.g. starting with non-digits. Add the --nocheck option to allow
this as we might need to build a "bad" metapackage.

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p: pass unqualified package names to apt-cache show

apt/lenny does not support qualified package names

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
pre_install_exceptions: handle bootcd-ia64/squeeze

\#622690: bootcd-ia64 has a Pre-Depends/Depends cycle that apt cannot resolve

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
pre_remove_50_find_missing_copyright: add some exceptions

ignore missing copyright on some old packages with many rdepends

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
pre_remove_50_find_bad_permissions: exceptions for lenny and squeeze

/etc/citadel/netconfigs/7 and friends are the big offenders

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
pre_install_exceptions: prepare for adding more lenny exceptions

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
pre_install_exceptions: lenny: preseed dash for deterministic upgrade

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
pre_install_exceptions: lenny: install undeclared dependencies

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
pre_install_exceptions: lenny: prefer inn over cnews

cnews has a bad version number: cr.g7-40.4 and dpkg 1.16 does not like this

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
pre_distupgrade_exceptions: purge cnews before upgrading to wheezy

dpkg 1.16 does not like the version number cr.g7-40.4

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
pre_distupgrade_exceptions: lenny: preseed crm114 for clean upgrades

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
post_distupgrade_squeeze-fake-essential: work around #601961

#601961: apt: wrongly thinks install-info is essential

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
post_setup_squeeze-fake-essential: using wwwconfig-common during purge

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
post_setup_squeeze-fake-essential: using octave3.0 during purge

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
post_setup_squeeze-fake-essential: using defoma during purge

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
pre_remove_50_find_missing_copyright: exceptions for lenny

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p-a: add support for magic "$DISTRO/None" versions

for distupgrades of disappearing packages

pass the target distribution of distupgrade tests as a command
line argument to piuparts-analyze

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>
p.conf: new global config setting: slave-directory

to be used for the scripts controlling the slave,
not from within piuparts-slave (which uses PWD)

Signed-off-by: Andreas Beckmann <debian@abeckmann.de>