On 2016-11-18 01:03 AM, Miroslav Suchý wrote:
Fedora N has:
xorg-drivers-7.5 which requires xorg-drivers-foo, xorg-drivers-bar
xorg-drivers-foo requires xorg-drivers = 7.5
xorg-drivers-bar requires xorg-drivers = 7.5
Fedora N+1 has:
xorg-drivers-7.7 which requires xorg-drivers-foo
xorg-drivers-foo requires xorg-drivers = 7.7
xorg-drivers-bar is not present as it was retired, no package provides it
Before upgrade you must manually remove xorg-drivers-bar otherwise you
will get broken dependencies.
(Sorry for taking xorg as example, this happened in past not just with
xorg but with many other packages too).
My recommendation - first solve this and only then think about N+2
upgrades.
This is entirely orthogonal, really. We already have a perfectly good
solution for the above case: xorg-drivers-7.7 should Obsoletes:
xorg-drivers-bar . Unfortunately, not all maintainers do this when
retiring packages, and we don't enforce that they should hard enough.
But *all* retired packages should be obsoleted by some other package
which we can expect to be installed on the system.
(Interestingly, there is actually a way to solve this *retroactively*:
the other week I was kicking around the idea of setting up a third-party
repo containing a single package named fedora-obsoletes which just
contains a bunch of obsoletes for known-retired-but-not-obsoleted
packages. It'd make upgrading EOL systems rather easier. I didn't have
time to do it, but if anyone else wants to take the idea and run with it...)
I think I've proposed at least once that we make Obsoletes: for retired
packages mandatory. My last proposal currently seems to be assigned to
tibbs.
https://fedorahosted.org/fpc/ticket/645
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org