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

Fails under Ubuntu 20.04 due to missing packages #11

Closed
mattj65817 opened this issue May 26, 2020 · 4 comments
Closed

Fails under Ubuntu 20.04 due to missing packages #11

mattj65817 opened this issue May 26, 2020 · 4 comments
Labels

Comments

@mattj65817
Copy link

I'm relatively new to Ansible, so bear with me if I'm missing some critical details that make my suggestion unworkable, BUT...

Attempting to use this role to manage Samba on an Ubuntu 20.04 server, I receive this error:

TASK [geerlingguy.samba : Ensure Samba-related packages are installed (Debian).] ***************************************
failed: [clus0-node0-apct11.local] (item=['samba', 'samba-common', 'python-glade2', 'system-config-samba']) => {"ansible_loop_var": "item", "changed": false, "item": ["samba", "samba-common", "python-glade2", "system-config-samba"], "msg": "No package matching 'python-glade2' is available"}

Further, if the reference to python-glade2 is removed from the task, a subsequent attempt also fails due to removal of the system-config-samba package. So, my educated guess is that these two packages have been removed from Ubuntu 20.04 completely.

The task works fine if I remove these packages and update the task to only install the samba package, allowing apt to resolve any other dependencies. I don't know whether the absence of python-glade2 will cause problems further down the line, however, so this may not be a workable solution to the problem?

@geerlingguy
Copy link
Owner

I haven't yet tested this role under 20.04, but my guess/hope is that samba doesn't require these packages anymore in 20.04. See related issue in Ubuntu's tracker: https://bugs.launchpad.net/ubuntu/+source/pygtk/+bug/1876276

@mattj65817
Copy link
Author

@geerlingguy yep, that's the issue. It sure seems to work fine if you remove them from the task, for what that's worth.

@stale
Copy link

stale bot commented Aug 24, 2020

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Aug 24, 2020
@stale
Copy link

stale bot commented Sep 23, 2020

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@stale stale bot closed this as completed Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants