When you do yum update as shown below, it will upgrade all the packages that are already installed on your system to the latest version available from all of the above repositories. mongodb-org-3.0 is a 3rd party repository that contains MongoDB related packages.dockerrepo is a 3rd party repository that contains Docker container related packages. ![]() The first three repositories listed above are the main CentOS repositories: base, extras and updates.In the above example, we have the following: ![]() To view all the available repositories on your system, execute yum repolist as shown below. How can I exclude a specific repository during yum update?Ī: During yum update, to exclude packages that belongs to a specific repository, use any one of the two methods explained in this tutorial.Īlso, keep in mind that instead of excluding a whole repository, you can also exclude a specific package: 10 Yum Exclude Examples to Skip Packages for Linux Yum Update (How to Yum Exclude Kernel Updates) 1. When I execute yum update command, installed packages from all the repositories are updated. ![]() For example, centos, epel, docker, mongo, etc. Q: I have multiple yum repositories on my system.
0 Comments
Leave a Reply. |