Update Constant Buffer的驅動實現
1175
2025-04-01
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小時內刪除侵權內容。
版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。