View Single Post
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#3
peterleinchen:

I have just tested on my absolutely-stock N900, and no errors about bad file magic as well. I went to the github repo link, clicked on the file, clicked the 'Raw', and saved the page, which saved as fkdep.html, but was just the plaintext copy of fkdep, so I moved that into /tmp, chmod +x 'ed it, renamed it to just 'fkdep' (for aesthetic purposes) and ran it. Both dpkg -x and dpkg -e worked perfectly without issues.

I'm going to go ahead and bill this as a problem on your end. Can you open the file and view it [Edit 1: by it, I mean the fkdep script itself] to make sure that however you downloaded it, it saved correctly? If you manually selected and copy-pasted from the 'user friendly' default view github provides of code files, then there might be meta characters or maybe line numbers and stuff that got inside the resultant script in the process.
__________________
If you want to donate in support of anything that I do, you can do so with either of these options:
PayPal | Bitcoin: 1J4XG2z97iFEKNZXThHdFHq6AeyWEHs8BJ | [Will add other donation options eventually]

Last edited by Mentalist Traceur; 2014-02-10 at 04:28.
 

The Following User Says Thank You to Mentalist Traceur For This Useful Post: