Fix interactivity in aptpkg

another regression fixed in aptpkg (multiple sources of interactivity)
factorisation, i was writing the same code as in cmdmod.