Hi Josef,
As far as I know, it's not possible to do that right now in a generic way. Right now it's best to avoid doing so in already released Fedora versions (F30, F31) and only keep the changes for the next release (F32 rawhide).
The reason for this is that dnf (and libdnf that's used by PackageKit) does not have a mechanism for migrating from modules to regular packages. We did a hack to get a few modules correctly migrated back to regular packages for distro upgrades to F31 (the hack is in F29 and F30 dnf and PackageKit). It's possible that we need to repeat the hack for distro upgrades to F32; but if this is so it's only for known module streams that are migrating in F32.
There's a dnf ticket open where fesco is requesting a generic mechanism for migrating modules to regular packages, but I don't know if this is going to materialize in F32 timeframe.
So in short: don't do this in F30 and F31. It's fine to remove the module in rawhide; dnf is going to do something during the distro upgrade to F32 to get users correctly migrated.
Hope this helps,
Kalev
On Tue, Jan 14, 2020 at 11:22 AM Josef Ridky <jridky@xxxxxxxxxx> wrote:
Hi folks,
Does anyone know, how can I obsolete modular version of package?
TL;DR
I have one package (gimp) that is now available as RPM and Module at the same time in Fedora.
Due of modular version makes issues to users during system upgrade, I've decided to remove (obsolete) modular version of gimp and keep the RPM version only.
Question is, How can I set new RPM build to be the replacement for the modular one?
Especially, is it possible, when someone with modular gimp installed types `dnf upgrade gimp`, that command will remove modular gimp and installs new RPM instead?
Regards
Josef Ridky
Software Engineer
Core Services Team
Red Hat Czech, s.r.o.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx