aptpkg: restore support for lenny...
closes #14566
closes #14564
closes #14565
closes #14556
closes #14558
closes #14557
closes #14560
closes #14561

  toggle [NUMBER [FLAG]] toggle the state of FLAG on partition
no third thing needed
closes #14568
closes #14577
closes #14576
closes #14571
closes #14573
closes #14563

need to escape the {} for the format dictionary
closes #14580
closes #14582
closes #14585
closes #14588
closes #14587