Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
StephaneGerardVUB opened this issue Aug 10, 2023 · 3 comments
Open

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

StephaneGerardVUB opened this issue Aug 10, 2023 · 3 comments

Comments

@StephaneGerardVUB
Copy link

StephaneGerardVUB commented Aug 10, 2023

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.

@wpoely86
Copy link
Member

@jrha
Copy link
Member

jrha commented Aug 10, 2023

i.e. #1507?

@stdweird
Copy link
Member

yes, you need #1507. there reasons why it's not easy to merge are in the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants