Skip to content

ncm-spma: userpkgs set to 'no' has no effect #1615

@StephaneGerardVUB

Description

@StephaneGerardVUB

Hi! We are using ncm-spma version 21.12.1. Our machines are configured with userpkgs set to 'no', the expected behaviour being that packages installed manually on machines with yum or dnf install commands should be removed by spma. However, it is not the case on EL8 machines. Tracing back the problem in the spma.pm code, it looks like the problem comes from the method packages_to_remove that relies on the command package-cleanup --leaves --all. This command returns an empty list on all EL8 machines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions