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?
On 5 Oct 2021, at 19:41, Ian Pilcher arequipeno@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.
Barry
--
In Soviet Russia, Google searches you!
======================================================================== _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On 10/5/21 3:36 PM, Barry wrote:
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.
Just to be safe, add -n to the dnf command so that it will automatically respond to any questions with no.
On 10/5/21 16:36, Barry wrote:
On 5 Oct 2021, at 19:41, Ian Pilcher arequipeno@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?
On 7 Oct 2021, at 18:38, Ian Pilcher arequipeno@gmail.com wrote:
On 10/5/21 16:36, Barry wrote:
On 5 Oct 2021, at 19:41, Ian Pilcher arequipeno@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?
I removed grub2-tools-extra and did an update. And its back as you said. But I noticed that other grub files updated at the same time.
I repeated the remove and then the dnf update --refresh did not put it back.
Indeed odd that it sometimes comes back. I ran the rpm -q --what* commands and grub2-tools-extra is not listed for anything.
Clearly is not a protected package as they cannot be removed at all.
Barry
--
In Soviet Russia, Google searches you!
======================================================================== _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
On Tue, 5 Oct 2021 13:40:51 -0500 Ian Pilcher arequipeno@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?
For some reason, grub2-tools-efi and grub2-tools-extra obsolete grub2-tools, and they get pulled in on every update. This is arguably a packaging bug, and I suggest that you file a bug report.
Jim