Add appropriate flags to apt commands