On Fri, Mar 8, 2024 at 5:51 AM Miro Hrončok <mhroncok(a)redhat.com> wrote:
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.
There isn't one right now. It's something that could be added, but we
don't have any in DNF currently. It might also require plumbing in
libsolv, I'm not sure.
--
真実はいつも一つ!/ Always, there's only one truth!