Skip to content
This repository

Error when running the command "rpi-update" #13

Closed
teken opened this Issue · 2 comments

2 participants

Duncan Haig Andy Sayler
Duncan Haig
teken commented

: command not found: line 1:
/usr/bin/rpi-update: line 2: !DOCTYPE: No such file or directory
: command not found: line 3:
: command not found: line 4:
/usr/bin/rpi-update: line 5: html: No such file or directory
/usr/bin/rpi-update: line 6: head: No such file or directory
: command not found: line 7:
/usr/bin/rpi-update: line 8: syntax error near unexpected token newline'
/usr/bin/rpi-update: line 8:

‫×נצ×× ©‬
Andy Sayler

It looks like you did not properly download the pure text version of the rpi-update script, instead getting an html page. Try re-downloading via the command in the README:

wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && chmod +x /usr/bin/rpi-update

Make sure you get the short-URL correct.

If you still have issues, try obtaining the script via a git pull, or try downloading the .tar archive of the full git repo and extracting the script from there. If you download/obtain the script manually, you'll still need to set the permissions as shown above.

Duncan Haig
teken commented

i worked this time, for some reason

Duncan Haig teken closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.