Jump to content

git clone


Rinilyn

Recommended Posts

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?

Link to comment
Share on other sites

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'

Link to comment
Share on other sites

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

 

11.JPG

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...