openaps / docs

Documentation for setting up OpenAPS
http://OpenAPS.org
MIT License
229 stars 728 forks source link

This is still broken - running curl -s https://raw.githubusercontent.com/openaps/docs/master/scripts/quick-packages.sh | bash - #1552

Closed formlinksystemslimited closed 3 years ago

formlinksystemslimited commented 4 years ago

This is still broken - running curl -s https://raw.githubusercontent.com/openaps/docs/master/scripts/quick-packages.sh | bash - from https://openaps.readthedocs.io/en/stable/docs/walkthrough/phase-0/openaps.html

initially results in: E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

then the script outputs: Package nodejs-legacy is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: nodejs libnode64

E: Package 'nodejs-legacy' has no installation candidate pi@raspberrypi:~ $_

when processing the line: sudo apt-get -o Acquire::ForceIPv4=true install -y git python python-dev software-properties-common python-numpy python-pip nodejs-legacy npm watchdog strace tcpdump screen acpid vim locate jq lm-sensors bc && \ in the script being executed.

this was on a brand new setup today - with the following OS details: PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Running on a Raspberry PI Zero WH

nodejs-legacy is nolonger available, according to https://nodejs.org/en/download/ jodejs is no longer supported on ARMv6 (Pi Zero)

Originally posted by @formlinksystemslimited in https://github.com/openaps/docs/issues/201#issuecomment-656872096

danamlewis commented 3 years ago

That is from a very deprecated version of the docs. Please use the latest docs https://openaps.readthedocs.io/en/latest/index.html