原始链接:http://serverfault.com/questions/270260/how-do-you-use-apt-get-to-only-install-critical-security-updates-on-ubuntu
只安装安全更新
grep 'security' /etc/apt/sources.list > /tmp/security.sources.list sudo apt-get upgrade -o Dir::Etc::SourceList=/tmp/security.sources.list