Context: The embedded profile allows busybox to provide awk through virtual/awk-1. Steps to Reproduce: Starting from the embedded profile, install and remove sys-apps/gawk. Notice the /bin/awk symlink is not corrected back to busybox or removed. Observations: sys-apps/gawk's pkg_postrm step depends on app-eselect/eselect-awk to correct symbolic links on removal. However, it seems eselect-awk is not installed in both embedded and systemd profiles (non-desktop) on both ppc and x86_64. I'm not sure how eselect-* modules are pulled in to @system, but wanted to ask if app-eselect/eselect-awk may be missing from base profiles?
commit 2e89118d084a68992d7ed042619cdc2c856daf1c Author: Michał Górny <mgorny@gentoo.org> Date: Fri Dec 2 04:46:18 2022 +0100 app-alternatives/awk: Define LICENSE and HOMEPAGE for the virtual Signed-off-by: Michał Górny <mgorny@gentoo.org> commit d3a446d11fd0061c5826f18c0dc5d5a4b49dc4c1 Author: Michał Górny <mgorny@gentoo.org> Date: Thu Dec 1 18:26:45 2022 +0100 app-alternatives/awk: New package to control awk symlinks Signed-off-by: Michał Górny <mgorny@gentoo.org> commit 1b39922b75edcd897083f7b0d91aded7ba0523e4 Author: Michał Górny <mgorny@gentoo.org> Date: Fri Dec 2 04:14:04 2022 +0100 Move {virtual → app-alternatives}/awk Signed-off-by: Michał Górny <mgorny@gentoo.org> I think this should sort things out.