-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello,
One just noticed that `dnf autoremove` is trying to remove `fedora- repos-modular` and `fedora-repos-rawhide-modular`. tl;dr. fedora-repos-modular inherit installation reason from fedora- repos (DEPENDENCY) and nothing depends on fedora-repos-modular so it is not needed anymore (from the solver POV). The fedora-repos is being pulled in by fedora-release-common (that is brought by fedora-release-workstation or others). fedora-repos is not part of the @core group in comps so its reason recorded in DNF DB is 1. enum class TransactionItemReason : int { UNKNOWN = 0, DEPENDENCY = 1, USER = 2, CLEAN = 3, // hawkey compatibility WEAK_DEPENDENCY = 4, GROUP = 5 }; On my laptop: ❯ sqlite3 /var/lib/dnf/history.sqlite sqlite> select trans_id,name,epoch,version,release,reason from trans_item join rpm on rpm.item_id=trans_item.item_id where name like 'fedora-release%' or name like 'fedora-repos%'; 1|fedora-release-common|0|33|0.8|1 1|fedora-release-identity-workstation|0|33|0.8|1 1|fedora-release-workstation|0|33|0.8|5 1|fedora-repos|0|33|0.6|1 1|fedora-repos-rawhide|0|33|0.6|1 21|fedora-release-common|0|33|0.9|1 21|fedora-release-common|0|33|0.8|1 21|fedora-release-identity-workstation|0|33|0.9|1 21|fedora-release-identity-workstation|0|33|0.8|1 21|fedora-release-workstation|0|33|0.9|5 21|fedora-release-workstation|0|33|0.8|5 143|fedora-repos-modular|0|33|0.8|1 143|fedora-repos-rawhide-modular|0|33|0.8|1 143|fedora-repos|0|33|0.8|1 143|fedora-repos|0|33|0.6|1 143|fedora-repos-rawhide|0|33|0.8|1 143|fedora-repos-rawhide|0|33|0.6|1 The packages that have been brought by the obsoletes inherit reason (DEPENDENCY in this case) and since nothing depends on those they are automatically cleaned up on the autoremove. I don't know where / which the fix should be: DNF, comps or both. Simply putting the fedora-repos-modular in comps won't help since DNF is only using them when running `group install/update/remove`. So sending this email just in case somebody will see this interesting behavior. - -- Igor Raits <ignatenkobr...@fedoraproject.org> -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEcwgJ58gsbV5f5dMcEV1auJxcHh4FAl8G97AACgkQEV1auJxc Hh6SkBAAo4iTvTmSImNbSRAZe6VzKfUJ1gBPjgMITEueM7pxa8zlZ7g2bOpl1UiI TD+DKI953Qk2gZcN+WBvkQO13Cef/FD/lp6nGXvyo87mOs2ThSc+a6UgufEBceVY Z5kGCoCQnfA6JkBtRtFdMbsCvVKtSRSOFJXlW7DCybLGKizUlFPqHdug0qxGpoO2 XWldoX0Bw0F11Pr2FqujZXlcfXe5G51lkfPFnChc0a4O0+d0/AsWZJ0dM0l1ff6l GT43t+boiw9Dwp8KEBZTh7uTWQAeLAo9UxGIs2T2oZikHNwSSo13N6nwcS6x2XYd AaHVET5dn4tITH9WjiknS9IHy06D5MZ8pWBRs46aav52Ro6GxNYeALYdhjaM2heG mMGkjAWkXJ0qtaRR9qi68CfQiDfQjzYe0JXEHJTrLV+Pv42OrJJJoq7NWGOJbqV0 T9DYJoO63W74q/rttMNVMIBG8GtzbTBqoxuP9ooykpAzRv2LPn1Jc1L3eEBXSO0w QW0SH5i6v6OgajCrc813TytboOua9zDZ55ENP0dJNXjqAiznZJjqrYG3RWUJH4cA qx6xygK3OvZHm9vuL4VnXCp4wW/TDGf8MNGF0hoF75IbRN1+nrAAtGorx9BdV2g+ SvTV1Cs9CPyOKy0Q2brILtBZq6em6JNzkFAMg5h9xoce4brbyA8= =UXSc -----END PGP SIGNATURE----- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@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/devel@lists.fedoraproject.org