Just out of curiosity: if package B depends on A, shown by the that
removing A removes B, too, how come that after removing both, B can be
installed without installing A?
Here's what happened:
# dnf erase kernel-debug-*
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
kernel-debug-core x86_64 5.10.8-100.fc32 @updates 77 M
kernel-debug-core x86_64 5.10.17-100.fc32 @updates 77 M
kernel-debug-core x86_64 5.10.18-100.fc32 @updates 77 M
kernel-debug-modules x86_64 5.10.8-100.fc32 @updates 31 M
kernel-debug-modules x86_64 5.10.17-100.fc32 @updates 31 M
kernel-debug-modules x86_64 5.10.18-100.fc32 @updates 31 M
kernel-debug-modules-extra x86_64 5.10.8-100.fc32 @updates 2.0 M
kernel-debug-modules-extra x86_64 5.10.17-100.fc32 @updates 2.0 M
kernel-debug-modules-extra x86_64 5.10.18-100.fc32 @updates 2.0 M
Removing dependent packages:
NetworkManager-l2tp x86_64 1.8.2-1.fc32 @fedora 579 k
Removing unused dependencies:
ldns x86_64 1.7.0-29.fc32 @fedora 425 k
libreswan x86_64 4.2-1.fc32 @updates 4.3 M
nss-tools x86_64 3.60.1-1.fc32 @updates 2.3 M
xl2tpd x86_64 1.3.14-2.fc32 @fedora 205 k
Transaction Summary
================================================================================
Remove 14 Packages
Freed space: 335 M
Is this ok [y/N]: y
[...]
dnf install NetworkManager-l2tp
Last metadata expiration check: 1:08:42 ago on Mon 01 Mar 2021 12:48:36 PM CET.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
NetworkManager-l2tp x86_64 1.8.2-1.fc32 fedora 174 k
Installing dependencies:
kernel-modules-extra x86_64 5.10.18-100.fc32 updates 2.0 M
ldns x86_64 1.7.0-29.fc32 fedora 165 k
nss-tools x86_64 3.60.1-1.fc32 updates 529 k
xl2tpd x86_64 1.3.14-2.fc32 fedora 95 k
Installing weak dependencies:
libreswan x86_64 4.2-1.fc32 updates 1.2 M
Transaction Summary
================================================================================
Install 6 Packages
Total download size: 4.1 M
Installed size: 9.8 M
Is this ok [y/N]: y
Andras