[test] use apt instead of aptitude to install packages. (see e24f22c0)