Skip to content

dotnet 9 rpm leaves behind cli script in system etc dir during uninstall #20479

@atiq-cs

Description

@atiq-cs

Uninstall via dnf remove like following,

sudo dnf remove dotnet-sdk-9.0 dotnet-runtime-deps-9.0 --quiet --assumeyes

leaves behind intialization cli script dotnet-cli-tools-bin-path.sh in /etc/profile.d

check after uninstallation,

$ ls /etc/profile.d/*dotnet*
/etc/profile.d/dotnet-cli-tools-bin-path.sh

$ cat /etc/profile.d/dotnet-cli-tools-bin-path.sh
export PATH="$PATH:$HOME/.dotnet/tools"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions