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

Ubuntu script failing due to invalid link #33

Closed
chaudhryaziz opened this issue Oct 14, 2015 · 2 comments
Closed

Ubuntu script failing due to invalid link #33

chaudhryaziz opened this issue Oct 14, 2015 · 2 comments

Comments

@chaudhryaziz
Copy link

When executing the Ubuntu script in Ubuntu Mate 15.04 the script fails due to the fact that the following line:

sudo add-apt-repository ppa:chris-lea/node.js

will add an invalid entry under Ubuntu 15.04 and thus running sudo apt-get update will fail.

Furthermore, for new users this may cause confusion as now there is an invalid entry whenever sudo apt-get update is performed that the user may not know how to remove.

As a result, maybe we can add a check to ensure the repository is valid before adding it?

@craysiii
Copy link

Just ran into this issue when creating a new 15.04 VM. Interesting because I had used this method in two other instances on 15.04 and did not have any problems then.

All I need is an up-to-date version of node.js, correct? I will try to find a different PPA or source, and remove the offending line when I run it again.

@craysiii
Copy link

I got it to work, which can be seen in my latest commit b843ed5. I noticed that the script wanted to use curl before installing it, so I fixed that as well.

Not sure if I should make a pull-request or not.

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

3 participants