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

Android 10 fix #68

Open
ghost opened this issue Jul 9, 2020 · 3 comments
Open

Android 10 fix #68

ghost opened this issue Jul 9, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 9, 2020

Hello, I wanted to point out that the newest script for android 10 isn't working properly. Ex. apt cannot create sandbox user _apt:
W: No sandbox user '_apt' on the system, can not drop privileges and adduser doesn't work: adduser test

Adding user 'test' ...
Adding new group 'test' (1000) ...
Adding new user 'test' (1000) with group  'test' ...
Creating home directory '/home/test' ...
Copying files from'/etc/skel' ...
passwd: user 'test' does not exist
Permission denied
Try again? [y/N] 

I was tinkering with the old script and I have created a simple fix. The script now works on android 10 (for me atleast), but probably it needs more testing and I don't have android device < version 10 to test it. Fix is available on my fork of this repo.

termux-info:

Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.org/packages/ stable main
# unstable-repo (sources.list.d/unstable.list)
deb https://dl.bintray.com/xeffyr/unstable-packages unstable main
Updatable packages:
All packages up to date
Android version:
10
Kernel build information:
Linux localhost 4.14.141-gc9d6863 #1 SMP PREEMPT Mon May 18 18:23:18 WIB 2020 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
Redmi Note 8 Pro
@Dmole
Copy link
Collaborator

Dmole commented Jul 24, 2020

@daviddickerson
Copy link

daviddickerson commented Nov 14, 2021

Greetings, @Megaeloelo and @Dmole!

I realize that this issue is hardly recent, buy am I safe in assuming that the Android 10 fix is resolved, but open for other versions?

I am running Android 10 but am happy to try Megaeloelo's "tinkering" (a modest term, IMHO) on my Samsung Galaxy A20 -- for altruistic reasons and personal benefit (because Debian has been my platform of choice for almost a decade) 😉

Background: IIRC, my GitHub profile includes relevant background experience. Relevant ones include writing documentation -- that I wish more users read 😁 -- and over two decades of using Linux.

Plus, I started using Unix in 1989 -- SunOS (with an 'admin' account from day one, appreciating the trust, but terrified of accidental damage) volunteering for the nonprofits, IGC.org and iEARN.org].

Thankfully, a local college with huge DEC VAX/VMS systems (eventually replaced by two Linux towers for the campus) kindly gave me free terminal access that provided no-cost Internet access for nonprofits, who otherwise paid Sprint.net for my volunteer work.

Back when a dial-up modem was the norm, using a Unix (pre-Linux) shell with those essential 'man' pages on a system with bandwidth and speed offered quick file transfers between even international systems. 🌏

Seriously, and with apologies for my digression, I am interested in helping. I candidly admit I have no love or skill (despite years) for the tiny, virtual keyboard input of smartphones, although I appreciate the Hacker's Keyboard, especially with Termux. 😄

Cordially,

David

@Dmole
Copy link
Collaborator

Dmole commented Nov 14, 2021

@daviddickerson PRs on any FOSS project are evaluated on quality of work (not the story of the person who wrote it)

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

No branches or pull requests

2 participants