On Mon, Aug 24, 2020 at 10:17 AM Zbigniew Jędrzejewski-Szmek
<zbyszek(a)in.waw.pl> wrote:
We use fedora-obsolete-packages to remove packages from end-user systems.
Users can opt-out of installation of fedora-obsolete-packages and retain
packages that would be obsoleted [*].
The same mechanism could be used RHEL, for example by having
'rhel-is-up-to-date.rpm'
installed by default, with newer versions doing the obsoletes for packages
that have been dropped. Users *may* stop the upgrade of rhel-is-up-to-date,
but then they know their system is using outdated packages. DNF will even
nicely tell them which ones.
This is: a) simple, b) well-understood, c) already implemented.
Zbyszek
[*] Right now fedora-obsolete-packages has Provides:libsolv-self-destruct-pkg(),
so this muddies the situation a bit. Let's assume that the packages in RHEL
would not have that set.
Note that exclusion should also work even with the self-destruct
property, since exclusion means it no longer gets computed in solver
transactions at all.
--
真実はいつも一つ!/ Always, there's only one truth!