coreos/rpm-ostree

[RFE] Add a --exclude option for rpm-ostree install

Opened this issue · 2 comments

DNF can install a package or packages and exclude some from the group.

For instance, the command to install multimedia codecs on Fedora is:

sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-plugin-libav  --exclude=gstreamer1-plugins-bad-free-devel 

However it doesn't understand the exclude option: error: Unknown option --exclude=gstreamer1-plugins-bad-free-devel

The same option would be useful for rpm-ostree update.

I imagine override-remove-ing the package, and then layering an older one. Maybe extracting the currently used local package and layering it locally?

The use case is continuing updates while some packages are broken. For example to fix SecAdvisories.

In general, any UX-related RFEs solved by dnf are unlikely to be resolved. See the Important box in https://github.com/coreos/rpm-ostree?tab=readme-ov-file#rpm-ostree-a-true-hybrid-imagepackage-system.