EXALAB/AnLinux-App

git clone not work when the cloning into /sdcard/*somewhere* in ubuntu, android 11

woshilaiba opened this issue · 0 comments

The git from ubuntu on termux not fully working .
It seems git receiving objects 100% but with the following error :
error: unable to write file /sdcard/somewhere/.git/objects/pack/pack-2c83828duuruwasdf.pack: No such file or directory
fatal: unable to rename termpoary '*.pack' file to /sdcard/somewhere/.git/objects/pack/pack-2c83828duuruwasdf.pack
fatal: fetch-pack: invalid index-pack output
and the /sdcard/somewhere/ has nothing in it.

The git is working in /root directory.
the difference is just /root directory is mounted from /data/data/com.termux/files/home/ubuntu, and the other is /sdcard/somewhere

BTW, git from termux do all this ok.

phone: one plus 8T
android: 11