Disallow an unwanted dependeny on Silverblue

I want for example install sway as an layered package in Silverblue. If I run rpm-ostree install sway it installs a bunch of dependencies which aren’t necessary needed for the system.

On a regular Fedora system you can parse the --setopt=install_weak_deps=False - flag to exclude at least the unneeded dependencies.

Is it possible to do the same on a Silverblue-based system?

3 Likes

Not currently. See handling recommends 🗣 · Issue #718 · coreos/rpm-ostree · GitHub.

2 Likes