tobas
Posts: 6
Joined: Wed Apr 18, 2018 7:04 pm

403 forbidden?

Wed Apr 18, 2018 7:06 pm

I feel really stupid. I'm trying to update my pi to add a shutdown script. I type in the script as directed, and it will not work

lgn http://dl.bintray.com ./ Translation-en_GB
Err http://dl.bintray.com ./ Translation-en
403 Forbidden

That repeats several times and then

W: Failed to fetch http://dl.bintray.com/plpplware/dists/j ... ain/binary ./Packages 403 Forbidden

can anyone please help me?

wh7qq
Posts: 1450
Joined: Thu Oct 09, 2014 2:50 am

Re: 403 forbidden?

Thu Apr 19, 2018 1:48 am

"403 Error" is a browser error code. You are inputting the url of the script and not the script itself which is probably a text script that should be called from the command line...not a browser. The error code is due either to a faulty url or your or the script author's ISP. I can't reach the url you posted either so it is probably a bad url or the wrong url.

You should not run scripts indiscriminately anyhow as they may contain malicious or defective code so unless you can read and understand the script or it came from an official source, stay away. In any case, either the main menu >Shutdown command or from the command line,

Code: Select all

sudo shutdown -h now
or

Code: Select all

sudo poweroff
will do the job and what could be simpler than that? No script needed.

Return to “Troubleshooting”