Update Constant Buffer的驱动实现
977
2022-05-30
yum Update 和 upgrade在欧拉2.8中的区别
yum对这两个的文档说明
yum update:If run without any packages, update will update every currently installed package. If one or more packages or package globs are specified, Yum will only update the listed
packages. While updating packages, yum will ensure that all dependencies are satisfied. (See Specifying package names for more information) If the packages or globs speci-fied match to packages which are not currently installed then update will not install them. update operates on groups, files, provides and filelists just like the "install"command.
If the main obsoletes configure option is true (default) or the --obsoletes flag is present yum will include package obsoletes in its calculations - this makes it betterfor distro-version changes, for example: upgrading from somelinux 8.0 to somelinux 9.
Note that "update" works on installed packages first, and only if there are no matches does it look for available packages. The difference is most noticeable when you do"update foo-1-2" which will act exactly as "update foo" if foo-1-2 is installed. You can use the "update-to" if you’d prefer that nothing happen in the above case
yum upgrade:Is the same as the update command with the — obsoletes flag set. See update for more details.
yum update 和 upgrade在欧拉2.8中不同之处
yum update 升级所有包,会保留旧版本的 package,更新系统内核根据 obsoletes 配置而定
yum upgrade 升级所有包,会删除旧版本的 package,更新系统内核
yum 的 upgrade 是等价于打开 obsoletes 配置的 yum update。
而默认中/etc/yum.conf配置文件obsoletes是打开的,因此这两个指令针对系统内核来说是等价的
yum
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。