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

No package libselinux-python available on RHEL8/CentOS8 #45

Closed
danie1k opened this issue Mar 15, 2020 · 2 comments
Closed

No package libselinux-python available on RHEL8/CentOS8 #45

danie1k opened this issue Mar 15, 2020 · 2 comments

Comments

@danie1k
Copy link

danie1k commented Mar 15, 2020

I got a following error when using role on RHEL8/CentOS8:

TASK [avanov.pyenv : Install development packages necessary for building Python] *************************************************************************************************************************************************
task path: (...)/.ansible/roles/avanov.pyenv/tasks/RedHat.yml:5
fatal: [...]: FAILED! => {"changed": false, "failures": ["No package libselinux-python available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

On RHEL8/Centos8 python3-libselinux should be installed instead of libselinux-python.
Ref.: kubernetes-sigs/kubespray#5046

@dubmarm
Copy link

dubmarm commented Jan 14, 2022

Was going to submit a ticket for this, found this one instead.

@avanov
Copy link
Owner

avanov commented Jan 14, 2022

merged

@avanov avanov closed this as completed Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants