Re: dnf5 can't remove some qemu packages on rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 6, 2024 at 10:32 AM Richard W.M. Jones <rjones@xxxxxxxxxx> wrote:
>
> On Tue, Aug 06, 2024 at 12:40:33AM -0700, Gordon Messmer wrote:
> > root@localhost:~# dnf install kiwi-cli
> > ...
> >
> > root@localhost:~# dnf5 remove kiwi-cli
> > Failed to resolve the transaction:
> > Problem: The operation would result in removing the following
> > protected packages: grub2-efi-ia32, grub2-efi-x64
>
> Does it work if you add --noautoremove ?
>
> > root@localhost:~# rpm -q dnf5 rpm
> > dnf5-5.2.5.0-2.fc41.x86_64
> > rpm-4.19.92-6.fc41.x86_64
> >
> > I get the error that removing a package would remove grub2 when I
> > try to remove qemu-user-static-x86-9.0.0-2.fc41.x86_64,
> > qemu-user-static-arm-9.0.0-2.fc41.x86_64,
> > qemu-user-static-aarch64-9.0.0-2.fc41.x86_64, but not any of the
> > other qemu-user-static packages that kiwi pulls in.
>
> I am able to remove qemu-user-static-arm (even without
> --noautoremove), so I suspect the dependency path could be something
> else starting from kiwi.
>
> I have the same versions of qemu & dnf5 here.
>

I'm not sure why removing kiwi-cli is triggering this, but I can
answer what's going on.

This is the dependency relationship: kiwi-cli -> python3-kiwi ->
kiwi-systemdeps -> kiwi-systemdeps-disk-images ->
kiwi-systemdeps-bootloaders -> grub2-efi-x64 and grub2-efi-ia32

However, uninstalling kiwi-cli should not trigger this error. It
should just uninstall all parts of the set that are not protected,
since not autoremoving something should not be a critical failure.



-- 
真実はいつも一つ!/ Always, there's only one truth!
-- 
_______________________________________________
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
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux