InactiveRequest packages in ostree

I just noticed this message when I was installing a new package with rpm-ostree.

Inactive requests:
  kanshi (already provided by kanshi-1.7.0-2.fc41.x86_64)
  swayidle (already provided by swayidle-1.8.0-5.fc41.x86_64)
  adobe-source-code-pro-fonts (already provided by adobe-source-code-pro-fonts-2.042.1.062.1.026-5.fc41.noarch)
  grimshot (already provided by grimshot-1.9~rc2-2.fc41.noarch)

This is happening because I’m using the Fedora Atomic Sway image which already includes the packages listed in its base layer, but I have these packages listed in my Ansible setup for Fedora Workstations, so I tried to install them twice.

Solution

This may seem weird to someone used to conventional Linux distros but you have to do rpm-ostree uninstall kanshi for each of the packages, this does not remove the package from the base layer.