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

datashield-R-setup: libicu66 issue #26

Open
madprogramer opened this issue Nov 20, 2024 · 3 comments
Open

datashield-R-setup: libicu66 issue #26

madprogramer opened this issue Nov 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@madprogramer
Copy link
Owner

TASK [datashield-R-setup : Install libicu66 package] ***********************************************************************************************************************************
fatal: [145.38.192.166]: FAILED! => {"changed": false, "msg": "dpkg --force-confdef --force-confold -i /tmp/libicu66.deb failed", "stderr": "dpkg: error: requested operation requires superuser privilege\n", "stderr_lines": ["dpkg: error: requested operation requires superuser privilege"], "stdout": "", "stdout_lines": []}

I thought this was fixed but I guess it's still trigerring and error.

@madprogramer madprogramer added the bug Something isn't working label Nov 20, 2024
@madprogramer
Copy link
Owner Author

libicu66 is needed to install R 4.3.3 (I believe), but sometimes it just will not upgrade automatically.

  1. Go to the file datashield-ansible-deploy/playbooks/roles/datashield-R-setup/tasks/main.yml
  2. Uncomment lines 11-36. The three roles that have libicu66 in the name 

image
3. Run the commands manually as superuser, first with dpkg --print-architecture to find if you are amd64 or i386.
4. Install libicu66 following this stack overflow answer
5. Once libicu66 installs sucessfuly re-run the ansible notebook with the lines 11-36 in datashield-R-setup still commented.

@madprogramer
Copy link
Owner Author

Note to self: the fix should probably be adding

become: true
become_user:{{ Host_User_Name }}

to the below two steps.

If this succeeds I will probably push it as 0.0.3.1

@madprogramer
Copy link
Owner Author

There are also missing become statements from

Create symbolic link for Rand Create symbolic link for Rscript

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant