Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'pkg install git' failed #36

Closed
timiil opened this issue Nov 24, 2020 · 9 comments
Closed

'pkg install git' failed #36

timiil opened this issue Nov 24, 2020 · 9 comments

Comments

@timiil
Copy link

timiil commented Nov 24, 2020

hello, i am running the APP on a Huawei MatePad Pro, the current server version is shown: 202006100100 , when i try to install the git into App, it is failed by some permission problem ?

Screenshot_20201124_124608_vn vhn vsc
Screenshot_20201124_124648_vn vhn vsc

@ghost
Copy link

ghost commented Nov 24, 2020

That's just a misuse of Termux repositories, #33 (comment).

@timiil
Copy link
Author

timiil commented Dec 1, 2020

so, how can i install git into VHEditor that let me pull and push code from my git repo ? please tell us the solution :)

@ghost
Copy link

ghost commented Dec 1, 2020

Author of VHEditor should stop use of repositories provided by Termux project. Please understand that Termux is not a hosting donor.

@ghost
Copy link

ghost commented Dec 22, 2020

dirty fix
sed -i 's/\x65\x72\x6D\x75\x78\x2F\x66\x69\x6C\x65\x73\x2F\x75\x73\x72\x00\x2F\x64\x61\x74\x61\x2F\x64\x61\x74\x61\x2F\x63\x6F\x6D\x2E\x74\x59\x6F\x75\x20/\x6E\x2E\x76\x73\x63\x2F\x66\x69\x6C\x65\x73\x2F\x75\x73\x72\x00\x2F\x64\x61\x74\x61\x2F\x64\x61\x74\x61\x2F\x76\x6E\x2E\x76\x68\x59\x6F\x75\x20/g' /data/data/vn.vhn.vsc/files/usr/bin/apt
until separate repo is ready.

@bithooked
Copy link

@kerokhin88 Any idea how you paste that into the VHE terminal? I can't seem to do it and if I have to type that by hand I'm going to cry.

@ghost
Copy link

ghost commented Dec 24, 2020

something like
curl -s https://pastebin.com/raw/wxA7LyDa | bash
But remember not all termuxpackages will work fine.
See install wrapper https://github.com/vhqtvn/VHEditor-Android/blob/master/app/src/main/res/raw/dpkg_wrapper.bin

@fawadahmad111
Copy link

dirty fix
sed -i 's/\x65\x72\x6D\x75\x78\x2F\x66\x69\x6C\x65\x73\x2F\x75\x73\x72\x00\x2F\x64\x61\x74\x61\x2F\x64\x61\x74\x61\x2F\x63\x6F\x6D\x2E\x74\x59\x6F\x75\x20/\x6E\x2E\x76\x73\x63\x2F\x66\x69\x6C\x65\x73\x2F\x75\x73\x72\x00\x2F\x64\x61\x74\x61\x2F\x64\x61\x74\x61\x2F\x76\x6E\x2E\x76\x68\x59\x6F\x75\x20/g' /data/data/vn.vhn.vsc/files/usr/bin/apt
until separate repo is ready.

I tried each piece of advices give here, I am still unable to install git and node.
pkg install git # this downloads the archive, but dpkg drops error while trying to access
/data/data/com.termux/files

@fawadahmad111
Copy link

It's frustrating

@vhqtvn
Copy link
Owner

vhqtvn commented May 24, 2021

Latest version should work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants