Re: Guiding co-dependent RPM packages to swap nicely

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 8, 2024 at 5:51 AM Miro Hrončok <mhroncok@xxxxxxxxxx> 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!
--
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux