How to update system packages using COPR on Silveblue

Is there a way to use COPR repositories to update system packages (e.g. gnome-shell) on Silverblue? On Workstation one can easily use e.g.:

$ sudo dnf copr enable fmuellner/ci-stuff
$ sudo dnf upgrade

The analogical approach on Silveblue doesn’t work as rpm-ostree obviously ignores the newer packages:

$ sudo wget -P /etc/yum.repos.d/
https://copr.fedorainfracloud.org/coprs/fmuellner/ci-stuff/repo/fedora-33/fmuellner-ci-stuff-fedora-33.repo
$ sudo rpm-ostree upgrade

I have found that it is possible to download the rpm files manually and update them over:

$ rpm-ostree override replace *.rpm

But such packages won’t be obviously automatically upgraded. Is there a better way to achieve that?

Not yet. This is tracked at Support non-local (repo) overrides · Issue #1265 · coreos/rpm-ostree · GitHub.

3 Likes