Fixed syntax error in flags since there were slight differences between apt-get and aptitude.