Fix bug about APT interface