Rinilyn Posted January 7, 2018 Share Posted January 7, 2018 um this is embarassing but i cant find out how to install git on my nano( can't git clone). i tried: opkg install git -d sd opkg install git-http -d sd even https. (im getting unknown package) what's the command? Quote Link to comment Share on other sites More sharing options...
Forkish Posted January 7, 2018 Share Posted January 7, 2018 OpenWrt: Install git with HTTPS support opk update && opk install git git-http Quote Link to comment Share on other sites More sharing options...
Rinilyn Posted January 8, 2018 Author Share Posted January 8, 2018 opk not found Quote Link to comment Share on other sites More sharing options...
Rinilyn Posted January 8, 2018 Author Share Posted January 8, 2018 Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted January 8, 2018 Share Posted January 8, 2018 1 hour ago, Rinilyn said: opk not found just add the 'g' :) - 'opkg update && opkg install git git-http' In your screen shot you show your issue. - you must update the package lists before installing anything by running 'opkg update' Quote Link to comment Share on other sites More sharing options...
Rinilyn Posted January 9, 2018 Author Share Posted January 9, 2018 okay. theres this issue when its installing and using cat or grep, its not looking at the sd directory. its going to root and is giving something like: grep '/usr/lib/opkg/info/git.control or cat: can't open '/usr/lib/opkg/info/git-http.list': No such file or directory. Its looking at the wrong path and when i manually try to type grep /sd/usr/lib/opkg/info/git.control it gets stuck. can i somehow fix this path issue? still cant get git or anything to install Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted January 9, 2018 Share Posted January 9, 2018 (edited) 29 minutes ago, Rinilyn said: can i somehow fix this path issue? still cant get git or anything to install It just needs linking. ln -s /sd/usr/bin/git /usr/bin/git ln -s /sd/usr/bin/git-shell /usr/bin/git-shell ln -s /sd/usr/bin/git-upload-pack /usr/bin/git-upload-pack ln -s /sd/usr/bin/git-upload-archive /usr/bin/git-upload-archive ln -s /sd/usr/bin/git-receive-pack /usr/bin/git-receive-pack Edited January 9, 2018 by Just_a_User Quote Link to comment Share on other sites More sharing options...
Rinilyn Posted January 9, 2018 Author Share Posted January 9, 2018 (edited) Cloning into EvilPortalNano'... warning: templates not found /usr/share/git-core/templates fatal: Unable to find remote helper for 'https' @Just_a_User help here please,sorry for the trouble Edited January 9, 2018 by Rinilyn Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted January 9, 2018 Share Posted January 9, 2018 (edited) 9 hours ago, Rinilyn said: help here please,sorry for the trouble It used to work without issue, I suspect something with ssl - to bypass the issue for now replace your link "https://" with "git://". I will have a further look when I get a moment. - maybe someone else has already looked at it or solved it. Think it works OK on my tetra so im thinking its just files in wrong folders or similar. Edited January 10, 2018 by Just_a_User Quote Link to comment Share on other sites More sharing options...
Rinilyn Posted January 10, 2018 Author Share Posted January 10, 2018 yea i googled and already tried that. it is some kind of fix yes,but not i the case when i need to use git checkout That's why i asked. i am trying to clone this: EvilPortalNano ill post the fix if i find anything. Quote Link to comment Share on other sites More sharing options...
Just_a_User Posted January 10, 2018 Share Posted January 10, 2018 20 minutes ago, Rinilyn said: That's why i asked. i am trying to clone this: EvilPortalNano You can also git clone/checkout it to your PC and transfer it to the pineapple after - I do this often. I use filezilla as im a GUI junkie but you can also SCP over ssh. 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.