On 10/5/21 16:36, Barry wrote:
> On 5 Oct 2021, at 19:41, Ian Pilcher <arequipeno(a)gmail.com> wrote:
>
> I use systemd-boot, so I try to avoid having unneeded GRUB packages
> installed. When I run dnf update, grub2-tools-efi and grub2-tools-extra
> get installed, even though they aren't required by any of my other
> installed packages.
>
> I already have install_weak_deps=False set in dnf.conf.
>
> Anyone have any idea why DNF is installing these packages?
Try dnf remove package and see what dnf wants to remove.
Just answer no so that dns does no damage.
That’s the trick I used to find out why a package is needed.
You can also do rpm queries, but I do recall the incantation.
That's the mystery. 'dnf remove' happily removes them (which is what I
want), so it appears that *nothing* requires these packages, so why is
'dnf update' installing them?
--
========================================================================
In Soviet Russia, Google searches you!
========================================================================