You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

OCI: How To Restrict a Package to a Fixed Version Using yum

Applies To:

Oracle Cloud Infrastructure - Version N/A and later

Oracle Linux x86-64

Goal

This document describes how to lock a package to a fixed version so that it can be excluded from yum update to meet application requirement to keep the package to a particular version.

Solution

From the man page of yum-versionlock:

versionlock is a plugin that takes a set of names and versions for packages and excludes all other versions of those packages. This allows you to protect packages from being updated by newer versions. Alternately, it accepts a specific package version to exclude from updates

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!