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

remove apt-get update from install script #7

Open
hunterakins opened this issue May 8, 2018 · 0 comments
Open

remove apt-get update from install script #7

hunterakins opened this issue May 8, 2018 · 0 comments

Comments

@hunterakins
Copy link

Describe the problem

In my opinion apt-get update shouldn't be written into the bash install script for two reasons. The instructions on the hologram site to install the sdk use the command

curl -L hologram.io/python-install | bash
There's an issue on the raspbian where apt uses IPv6 and the raspbian mirrors don't like IPv6 so you have to add the option Acquire::forceIPv4=true to successfully grab updates. Therefore, this command will fail, and an inexperienced Linux user won't understand why the curl command fails. A more experienced user will use a command like
curl -L hologram.io/python-install > holo_install.sh
and then edit the file to include the option in the apt-get update and install commands.
Furthermore, if the install fails for some reason (for example, the pip that comes with Raspbian is pip 1.5.6, which is incompatible with python requests (a pip upgrade is necessary for a successful build)), then another call to the install bash script will update again, which is mildly irritating.

Expected behavior

A system update should be done separately from the installation of the SDK (typical protocol for package install on Linux distro is to first update, then install).

Actual behavior

As you've gathered, it's not really a bug I'm describing as much as feature request.

Steps to reproduce the behavior

System information

  • Linux on raspberry pi
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

1 participant