I once installed nodejs
from Fedora modular to try, but removed it afterwards. As you can see, I have no modules installed now:
$ sudo dnf module list --installed
Last metadata expiration check: 2:38:42 ago on 2022-09-28T18:13:01 CEST.
But, somehow, it seems some packages stuck around:
$ sudo dnf repo-pkgs fedora-modular list installed
Installed Packages
c-ares.x86_64 1.17.2-2.module_f36+13930+82e25793 @fedora-modular
libnghttp2.x86_64 1.47.0-1.module_f36+13930+82e25793 @fedora-modular
libuv.x86_64 1:1.43.0-3.module_f36+13930+82e25793 @fedora-modular
I’d like to get rid of those packages. For example, libuv
is outdated and I need to use the latest version for other software to work as expected.
The problem is that I’m not even sure how to replace those packages with the versions available from the @updates repo. I have tried to reinstall forcing the updates
repo without luck:
$ sudo dnf reinstall libuv --repo updates
Last metadata expiration check: 2:41:30 ago on 2022-09-28T18:12:58 CEST.
Installed package libuv-1:1.43.0-3.module_f36+13930+82e25793.x86_64 (from fedora-modular) not available.
Error: No packages marked for reinstall.
I can remove libuv
and reinstall it again (it will just force me to uninstall some other dependencies that I can install afterwards), but it seems I cannot remove the other 2 packages:
$ sudo dnf remove libnghttp2 c-ares
Error:
Problem: The operation would result in removing the following protected packages: NetworkManager
(try to add '--skip-broken' to skip uninstallable packages)
How can I get rid of those modular packages and make sure to use the latest versions from updates
repository instead? (and without breaking my system)