I tried passing the following option, but it still installs weak dependencies when upgrading:
–setopt=install_weak_deps=False
Any suggestions?
I tried passing the following option, but it still installs weak dependencies when upgrading:
–setopt=install_weak_deps=False
Any suggestions?
Is this f40 with dnf4 or f41 with dnf5 or something else?
f41 with dnf5
I set these such that both with anaconda during kickstart and afterwords they are in effect.
cat /etc/dnf/libdnf5.conf.d/20-site-defaults.conf
[main]
group_package_types=mandatory
install_weak_deps=False
excludepkgs=*.i686
for dnf5 on F41:
sudo dnf config-manager setopt install_weak_deps=0
to unset:
sudo dnf config-manager unsetopt install_weak_deps
I do those commands just once and then they’re set for every time I update/install?
Yes, you can double check with cat /etc/dnf/dnf.conf
you may want to read through:
https://dnf5.readthedocs.io/en/latest/dnf5.conf.5.html#dnf5-conf-label
https://dnf5.readthedocs.io/en/latest/dnf5_plugins/config-manager.8.html
A question for those in the know:
When looking to discuss the weak (or strong) dependencies for a package, what would be the preferred venue for that? Would it be on Bugzilla or elsewhere?