fixes aptitude installation with -y option