Support aptitude on Debian and secure updates on CentOS