Yum ignore kernel updates




















For example, to exclude all the php, httpd and kernel packages to be excluded from the yum update, add the following line:. You can also exclude more than one package by specifying the list of wildcard packages separated by comma. To be consistent with the way how we showed the other examples using the -x option above, you can also use comma instead of just space to separate the multiple packages as shown below:.

Instead of specifying the exclude parameter in the main yum. You can specify the exclude package list for the mongodb repository inside this mongodb. You can specify the -x option along with check-update also. If you like to disable the excludes mentioned in the yum. But, if you want yum to ignore that exclude list i. If you want to disable the excludes only for a specific custom repository, you can specify the repo id which is the 1st column in the yum repolist command as shown below.

The following will disable ignore the exclude list specified in the mongodb. Save my name, email, and website in this browser for the next time I comment. Notify me of followup comments via e-mail. My particular problem was VirtualBox Guest Additions kernel modules ruined after unintended kernel upgrade. Simple solution: rhelserver-rhceph Is there any problem of installing New kernel every month? How do I use the exclude option with yum?

How to prevent a package from updating while updating system from Satellite Server? How to exclude only 32 bit or 64 bit packages? Log in to comment. YG Newbie 5 points. Pro points. Amel Hodzic. AS Newbie 10 points. Anton Smyk. TD Newbie 12 points. Please leave a comment to start the discussion.

Please keep in mind that all comments are moderated and your email address will NOT be published. Save my name, email, and website in this browser for the next time I comment. Notify me of followup comments via e-mail. You can also subscribe without commenting. This site uses Akismet to reduce spam. Learn how your comment data is processed. If you liked this article, then do subscribe to email alerts for Linux tutorials.

If you have any questions or doubts? Related Posts. Got something to say? Join the discussion. Cancel reply Have a question or suggestion?



0コメント

  • 1000 / 1000