yum syntax to update all except Kernel

Posted sdyiheng

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了yum syntax to update all except Kernel相关的知识,希望对你有一定的参考价值。

yum syntax to update all except Kernel

The syntax is:

yum --exclude=packgeName* update
yum --exclude=packgeName1* --exclude=packgeName2* update
yum -x ‘packageName*‘ update
yum -x ‘packageName1*‘ -x ‘packageName2*‘ update

Examples

To prevent yum command from updating the Kernel type:

yum -y --exclude=kernel* update

OR

yum -y -x ‘kernel*‘ update

以上是关于yum syntax to update all except Kernel的主要内容,如果未能解决你的问题,请参考以下文章

centos7运行yum报如下提示:Run “yum repolist all“ to see the repos you have

yum update 报错

yum 软件管理

ubuntu16.04 yum报错:There are no enabled repos. Run “yum repolist all“ to see the repos you have.(代码片段

YUM常用命令

sql [UPDATE]修改表#Syntax中的现有记录