Oracle Linux - How to Find what Package Provides a Given File
in Linux
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
Tagged:
0