example for APT debug python