Problem updating true git - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: Pypilot (https://forum.openmarine.net/forumdisplay.php?fid=17) +--- Forum: General discussion (https://forum.openmarine.net/forumdisplay.php?fid=18) +--- Thread: Problem updating true git (/showthread.php?tid=2014) |
Problem updating true git - Jlsail - 2019-09-29 Hi When following the instructions I get stuck here...I dont know why? tc@box:~/delete$ git clone git://github.com/pypilot/pypilot Cloning into 'pypilot'... fatal: Unable to look up github.com (port 9418) (Temporary failure in name resolution) Has been the same for a few days so it doesnt feel temporary. Regards Johan RE: Problem updating true git - seandepagnier - 2019-09-30 Could you try this url? https://github.com/pypilot/pypilot.git RE: Problem updating true git - Jlsail - 2019-09-30 (2019-09-30, 01:16 AM)seandepagnier Wrote: Could you try this url? I get this output tc@box:~/delete$ git clone https://github.com/pypilot/pypilot.git Cloning into 'pypilot'... fatal: Unable to find remote helper for 'https' and if using git clone git://github.com/pypilot/pypilot.git I get the same fault as before I have a raspberrypi 4 that I ssh from and that one is connected to internet true a lte router if that matters? I did build the pypilot opencpn pluggin on the raspberry pi 4. Johan Johan RE: Problem updating true git - seandepagnier - 2019-10-01 unfortunately you would have to git clone the https address on a different machine, say openplotter. From tc you could then pull from the pypilot repository on openplotter. I will try to install the https helper in future tinypilot versions... RE: Problem updating true git - Jlsail - 2019-10-01 (2019-10-01, 02:40 AM)seandepagnier Wrote: unfortunately you would have to git clone the https address on a different machine, say openplotter. From tc you could then pull from the pypilot repository on openplotter. Will see if I can manage.... Am I understanding right that I run the git clone command on a raspberry pi. But what command do I use on when I have ssh in to the tc? Maybe I will wait for the tc image........ Johan RE: Problem updating true git - seandepagnier - 2019-10-01 git clone user@hostname:pypilot This works if user can ssh to hostname and pypilot repo is in home directory RE: Problem updating true git - ironman - 2019-11-01 (2019-10-01, 06:44 PM)seandepagnier Wrote: git clone user@hostname:pypilot For what it's worth the script below can be used to run on any linux machine (e.g. openplotter or your ubuntu laptop) to update pypilot on tinypilot remotely, provided you know its IP address: Code: git clone https://github.com/pypilot/pypilot Of course, replace the IP address given with that of your tinypilot. The tc password is pypilot by default. It leaves no mess, after a reboot the temporary files are gone. If you want to revert back to the original version, run this: Code: ssh tc@192.168.178.38 "cd pypilot; . pypilot.build; sudo reboot" If your machine does not have git you have to install it yourself. In my experience when https:// does not work you can replace it with git:// but I'm too lazy to figure out why. |