Re: subtle issue with systemd, dnf 'greedy' obsoletes behaviour, and multiple repos

2020-06-05 Thread Kevin Kofler
Daniel Mach wrote: > This is nothing that can be fixed in DNF directly. > DNF passes packages to libsolv to resolve the transaction and it can > only cherry-pick packages for the transaction or set transaction flags. Yes, I also think that this needs to be fixed at the libsolv level. > If you wan

Re: subtle issue with systemd, dnf 'greedy' obsoletes behaviour, and multiple repos

2020-06-05 Thread Kevin Kofler
Igor Raits wrote: > On Fri, 2020-06-05 at 08:38 +0200, Kevin Kofler wrote: >> The correct solution is to actually fix DNF. It MUST NOT take >> Obsoletes from >> outdated versions of packages (i.e., when there is a newer version in >> the >> repository which removes the Obsoletes) into account. > >

Re: subtle issue with systemd, dnf 'greedy' obsoletes behaviour, and multiple repos

2020-06-05 Thread Daniel Mach
Dne 05. 06. 20 v 8:41 Kevin Kofler napsal(a): The fact that Obsoletes from outdated packages are being considered is the bug: https://bugzilla.redhat.com/show_bug.cgi?id=1748187 but the DNF developers refused to acknowledge this and just closed the bug when the issue was worked around in the fo

Re: subtle issue with systemd, dnf 'greedy' obsoletes behaviour, and multiple repos

2020-06-04 Thread Igor Raits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Fri, 2020-06-05 at 08:38 +0200, Kevin Kofler wrote: > Miro Hrončok wrote: > > > On 01. 06. 20 23:10, Adam Williamson wrote: > > > It was actually a bit tricky to come up with a solution for this. > > > I > > > hacked up a minimal reproducer with

Re: subtle issue with systemd, dnf 'greedy' obsoletes behaviour, and multiple repos

2020-06-04 Thread Kevin Kofler
Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Jun 01, 2020 at 02:10:12PM -0700, Adam Williamson wrote: >> Another factor here is that DNF's behaviour when multiple different >> available packages obsolete an installed package on update is 'greedy'. >> If 'bar', 'moo' and 'meep' all obsolete 'foo' an

Re: subtle issue with systemd, dnf 'greedy' obsoletes behaviour, and multiple repos

2020-06-04 Thread Kevin Kofler
Miro Hrončok wrote: > On 01. 06. 20 23:10, Adam Williamson wrote: >> It was actually a bit tricky to come up with a solution for this. I >> hacked up a minimal reproducer with empty packages, and experimented a >> bit, and the solution I was able to find that works is to have systemd- >> udev Obso

Re: subtle issue with systemd, dnf 'greedy' obsoletes behaviour, and multiple repos

2020-06-02 Thread Adam Williamson
On Tue, 2020-06-02 at 06:37 +, Zbigniew Jędrzejewski-Szmek wrote: > On Mon, Jun 01, 2020 at 02:10:12PM -0700, Adam Williamson wrote: > > Hi folks! openQA caught a subtle issue in a systemd update over the > > weekend, and I thought it would be worth flagging up here both to let > > people know

Re: subtle issue with systemd, dnf 'greedy' obsoletes behaviour, and multiple repos

2020-06-01 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jun 01, 2020 at 02:10:12PM -0700, Adam Williamson wrote: > Hi folks! openQA caught a subtle issue in a systemd update over the > weekend, and I thought it would be worth flagging up here both to let > people know about it and also to see if anyone has a better solution > than the one I came

Re: subtle issue with systemd, dnf 'greedy' obsoletes behaviour, and multiple repos

2020-06-01 Thread Miro Hrončok
On 01. 06. 20 23:10, Adam Williamson wrote: It was actually a bit tricky to come up with a solution for this. I hacked up a minimal reproducer with empty packages, and experimented a bit, and the solution I was able to find that works is to have systemd- udev Obsoletes: systemd < 245.6-1. This se

subtle issue with systemd, dnf 'greedy' obsoletes behaviour, and multiple repos

2020-06-01 Thread Adam Williamson
Hi folks! openQA caught a subtle issue in a systemd update over the weekend, and I thought it would be worth flagging up here both to let people know about it and also to see if anyone has a better solution than the one I came up with. The issue affects this systemd update for F32: https://bodhi.f