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

Oracle Linux - How to Find what Package Provides a Given File

Applies To:

Linux OS–Version Oracle Linux 7.0 to Oracle Linux 9.0 [Release OL7 to OL9]

Linux x86_64 on Oracle Public Cloud


Goal:

This document outlines the steps to find what package provides a given system file.


Solution:

If an instance is missing a package because it was accidentally removed for example:

Missing file for package cryptsetup-libs.x86_64: /usr/share/licenses/cryptsetup-libs-2.0.3/COPYING
Missing file for package cryptsetup-libs.x86_64: /usr/share/licenses/cryptsetup-libs-2.0.3/COPYING.LGPL
Missing file for package cryptsetup-reencrypt.x86_64: /usr/lib/dracut/modules.d/90reencrypt
Missing file for package cryptsetup-reencrypt.x86_64: /usr/lib/dracut/modules.d/90reencrypt/module-setup.sh
Missing file for package cryptsetup-reencrypt.x86_64: /usr/lib/dracut/modules.d/90reencrypt/parse-reencrypt.sh

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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