Gk1 Posted November 28, 2014 Share Posted November 28, 2014 I have stored an .apk file on my sd card. I would like to know how I can execute and install it on my device. In addition, I would like to know how I can automatically set my device to start doing my infusion application after starting the machine and how I can also export the results (a .log file) each time.GK Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted November 28, 2014 Share Posted November 28, 2014 *.apk are Android application package and cannot be installed on the pineapple. Quote Link to comment Share on other sites More sharing options...
Gk1 Posted November 28, 2014 Author Share Posted November 28, 2014 I am sorry. It s an .ipk file Quote Link to comment Share on other sites More sharing options...
Whistle Master Posted November 28, 2014 Share Posted November 28, 2014 In that case: opkg install name.ipk Quote Link to comment Share on other sites More sharing options...
Gk1 Posted November 28, 2014 Author Share Posted November 28, 2014 I am trying to do it but I receive an error code of *wfopen: myfile.ipk: no such directory or file *pkg_init_from_file: failed to extract control file form myfile.ipk What I am doing wrong? Quote Link to comment Share on other sites More sharing options...
DataHead Posted November 28, 2014 Share Posted November 28, 2014 You must put the ipk on the internal memory, more specifically in the /tmp/ directory of the internal memory. So either scp it over or sftp it to the internal memory /tmp/ directory. Then follow the instructions posted above Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted November 28, 2014 Share Posted November 28, 2014 You must put the ipk on the internal memory, more specifically in the /tmp/ directory of the internal memory. So either scp it over or sftp it to the internal memory /tmp/ directory. Then follow the instructions posted above This is not correct. What it looks like is a malformed .ipk file. Best Regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
DataHead Posted November 28, 2014 Share Posted November 28, 2014 (edited) I swear I had to install an ipk that way? Hmm. Whether it be in the tmp folder or where it is that opkg store the temporary downloaded ipk for install, that's where I had to install from. Thought it was /tmp/ Edited November 28, 2014 by datahead Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted November 29, 2014 Share Posted November 29, 2014 I swear I had to install an ipk that way? Hmm. Whether it be in the tmp folder or where it is that opkg store the temporary downloaded ipk for install, that's where I had to install from. Thought it was /tmp/ Nope, the .ipkg can be located anywhere - the sdcard too. Usually, you'll use /tmp/, but if you have it on the sdcard, then there shouldn't be an issue. Best Regards, Sebkinne Quote Link to comment Share on other sites More sharing options...
DataHead Posted November 29, 2014 Share Posted November 29, 2014 Awesome! Thanks for the good to know info, seb :-) seems I was doing it the hard way lol Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted November 29, 2014 Share Posted November 29, 2014 Gk1 - The error implies that you aren't in the working directory of the ipk file when issuing the opkg command. Move to the directory from which the ipk file resides and reissue the command. Alternatively specify the complete path in your "opkg install" command. e.g. opkg install /sd/file.ipk Regards, Darren 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.