Why a file or directory is declared as provided by 2 packages at the same time ?

Solution Verified - Updated -

Issue

  • When checking which RPM is providing a directory or file, the output given has multiple result:

  • For example, /etc/cron.daily directory is declared as provided by two package:

    $ rpm -qf /etc/cron.daily
    logrotate-3.14.0-4.el8.x86_64
    crontabs-1.11-17.20190603git.el8.noarch
    

So the directory is owned by two packages.

Environment

  • RHEL
  • rpm

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content