You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There appears to have been a server error when rpi-update attempted to self-update which broke it.
pi@raspberrypi ~ $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 107 0 107 0 0 360 0 --:--:-- --:--:-- --:--:-- 471
*** Relaunching after update
/usr/bin/rpi-update: line 1: syntax error near unexpected token <' /usr/bin/rpi-update: line 1:
After a reboot:
pi@raspberrypi ~ $ sudo rpi-update
/usr/bin/rpi-update: 1: /usr/bin/rpi-update: Syntax error: redirection unexpected
pi@raspberrypi ~ $ cat /usr/bin/rpi-update
503 Service Unavailable
No server is available to handle this request.
It appears to me that the server returned a 503 error and for whatever reason rpi-update used this error response to overwrite itself. I'm quite surprised that there wasn't a sanity check to prevent this, and strongly recommend adding one.
The text was updated successfully, but these errors were encountered:
I believe the source has moved for the update. I recently installed the rpi-update and was greeted with not found and syntax errors executing "sudo rpi-update". I ran "cat /usr/bin/rpi-update" prior to a successful installation, and it details a 301 error- moved permanently. This is the new source:
There appears to have been a server error when rpi-update attempted to self-update which broke it.
pi@raspberrypi ~ $ sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 107 0 107 0 0 360 0 --:--:-- --:--:-- --:--:-- 471
*** Relaunching after update
/usr/bin/rpi-update: line 1: syntax error near unexpected token
<' /usr/bin/rpi-update: line 1:
503 Service Unavailable
'pi@raspberrypi ~ $ sudo rpi-update
/usr/bin/rpi-update: 1: /usr/bin/rpi-update: Syntax error: redirection unexpected
After a reboot:
pi@raspberrypi ~ $ sudo rpi-update
/usr/bin/rpi-update: 1: /usr/bin/rpi-update: Syntax error: redirection unexpected
pi@raspberrypi ~ $ cat /usr/bin/rpi-update
503 Service Unavailable
No server is available to handle this request.It appears to me that the server returned a 503 error and for whatever reason rpi-update used this error response to overwrite itself. I'm quite surprised that there wasn't a sanity check to prevent this, and strongly recommend adding one.
The text was updated successfully, but these errors were encountered: