Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829309 - sys-apps/gawk removal leaves dangling /bin/awk symlink
Summary: sys-apps/gawk removal leaves dangling /bin/awk symlink
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-16 01:45 UTC by Luke McHale
Modified: 2023-03-05 08:07 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke McHale 2021-12-16 01:45:14 UTC
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?
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-02 22:35:04 UTC
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.