Fix apt install in interactive mode