Guiding co-dependent RPM packages to swap nicely
Miro Hrončok
mhroncok at redhat.com
Fri Mar 8 10:51:05 UTC 2024
On 08. 03. 24 11:43, Florian Weimer wrote:
> * 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/
I am actually looking for a metadata solution that would guide the package
manager to do it for me, not for a way to swap them manually.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
More information about the Rpm-list
mailing list