Guiding co-dependent RPM packages to swap nicely

Florian Weimer fweimer at redhat.com
Fri Mar 8 10:43:37 UTC 2024


* Miro Hrončok:

> On my system, I have postgresql16 and postgresql16-plugin installed
> and I want to "upgrade" to postgresql20*.
>
> Using my distribution package manager, I would want to run something like:
>   dnf swap postgresql16 postgresql20
>
> However that will fail, as the package manager does not know I want to
> also swap postgresql16-plugin with postgresql20-plugin.
>
> Is there something I can do as a package maintainer to "guide" the
> co-dependent swap case?

Have you tried using “dnf shell” and entering both swap commands there/

Thanks,
Florian



More information about the Rpm-list mailing list