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

Fixes to the install scripts for bullseye & 64bit Raspberry Pi OS installs. #1428

Closed
wants to merge 3 commits into from

Conversation

dcacklam
Copy link
Contributor

@dcacklam dcacklam commented Feb 25, 2022

Fixes the following issues:
openaps-setup trying to install python-pip, which does not exist under bullseye

openaps-packages trying to install python, python-pip, and python-numpy expecting Python2, when Bullseye is python3-based and does not include the python-pip package (just python3-pip).

oref0-setup not having an 'elif' for aarch64/not installing go because of this. Note that armv61l go will not work on an aarch64 OS - you need the arm64 version.

closes #1422

Pip is installed twice - by openaps-install.sh and openaps-packages.sh
Handle it (and bullseye issues) in openaps-packages.sh
Check for bullseye
If bullseye:
- Make python2 the default python
- Install pip manually to /usr/local/bin
- Use pip to install numpy instead of apt
There is no if/then/elseif condition for aarch64 systems when installing go
This means the setup will fail on bullseye 64bit.
Add a check for aarch64 & dl/install the correct go version.
No impact on 32bit OS installs.
@cluckj
Copy link
Contributor

cluckj commented Feb 28, 2022

Do we also need python3 installed?

@dcacklam
Copy link
Contributor Author

dcacklam commented Feb 28, 2022 via email

@danamlewis danamlewis changed the base branch from master to dev June 19, 2022 02:32
@danamlewis
Copy link
Contributor

@dcacklam is this repeat of #1428 or something separate?

@dcacklam
Copy link
Contributor Author

dcacklam commented Jun 19, 2022 via email

@danamlewis
Copy link
Contributor

Ok, thanks for confirming! I merged the other one to dev after we released 0.7.1; we can include this in the next release once someone else tests. Closing this since #1429 achieves the same thing. Thanks again!

@danamlewis danamlewis closed this Jun 19, 2022
@dcacklam
Copy link
Contributor Author

dcacklam commented Jun 19, 2022 via email

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

Successfully merging this pull request may close these issues.

Install on Debian Bullseye fails due to python2 requirements
3 participants