apt-check脚本搜索法
用这个apt-check脚本可以在Ubuntu 14.04上输出更为简洁的更新列表。
# /usr/lib/update-notifier/apt-check -p bind9-host python3-problem-report liblwres90 linux-headers-generic libdns100libisccfg90
...
# /usr/lib/update-notifier/apt-check --human-readable
33 packages can be updated.
30 updates are security updates.
yum命令
Yum是一个软件包管理器,一般可以用在基于RPM的系统上进行安装,更新和删除软件包。它的优势在于能够自动分别软件的依赖程度,并给出推荐安装升级的安装包。也会列出可用于已安装软件包的更新:
yum list updates
Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: centos.hyve.com * epel: mirrors.coreix.net * extras: centos.hyve.com * rpmforge: www.mirrorservice.org * updates: mirror.sov.uk.goscomb.net kernel.x86_64 2.6.32-504.3.3.el6 ...
up2date命令
up2date可以说是一个非常实用的程序了。up2date这个应用是从红帽网络RHN上下载安装的程序。它的优势在于可以自动解析依赖关系,并下载可能需要的任何其他软件包。 它具有-l选项,可以显示哪些软件包更新可用于下载和安装。
up2date -l
当然,除了上面这五种方法,还有很多其他途径,比如说apt-get命令,或者用Apticron工具将需要更新的列表推送到你的邮箱中。
另外需要注意的是在进行这些操作前要考量目前的系统环境,因为更新可能会导致系统重启。