How to exclude a package from yum update


















To do this, run the following command. To exclude multiple repositories on one line, separate the repositories with a comma as shown below. To exclude the Kibana 5. This means that any packages from the Kibana repository will not be updated when the yum update command is run. Thank you for taking the time to read this tutorial.

We hope we have solved the problem of how to disable certain packages in Yum. Try it out and get in touch with us with your feedback. This website uses cookies so that we can provide you with the best user experience possible. Another way is to set up a Yum local repository on a client machine. I see few of the packages getting update automatically weekly twice.. I have daily cron job running with rpm --last command which helps me to trace the new packages installation.

I want to stop this automatic updation of packages. I googled and few suggested to disable yum-cron. Please help me. I want to disable the auto update for all packages. In that case what will be the solution. Please help. Wayne, Yes, you correct excludes option also prevent installation of defined packages…. Have a question or suggestion? 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. Does anyone have a suggestion on how to accomplish this with the subscription-manager? Your solution has subtle bug: it also prevents kernel-headers from updating which would ruin eventually installing packages having dependency on newer glibc which has dependency on newer kernel-headers.

My fix was to remove "star" from exclusion string so that only "kernel" package would match, and "kernel-headers" won't be excluded. Is other packeage like nscd,firefox, 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.



0コメント

  • 1000 / 1000