首页 > yum update 到底做了什么工作

yum update 到底做了什么工作

yum update后,会得到类下面列表

freetype x86_64 2.3.11-17.el6 base 361 k
gawk x86_64 3.1.7-10.el6_7.3 base 780 k
gcc x86_64 4.4.7-17.el6 base 10 M
gcc-c++ x86_64 4.4.7-17.el6 base 4.7 M

最后

Total size: 292 M
Total download size: 291 M

yum update不是更新文件列表吗,为什么会下载这么多东西?


不能直接输yum update后面的加上你要升级的服务名,你这就是全部升级包括系统内核,容易导致系统奔溃。


yum update会更新系统,有可能会更新kernel导致系统崩溃


man yum


yum makecache ≈ apt-get update
yum update ≈ apt-get upgrade
是不是记混了?

【热门文章】
【热门文章】