Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


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

teken opened this Issue · 2 comments

2 participants


: 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:

‫×נצ×× ©‬

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 -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.


i worked this time, for some reason

@teken 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.