Kualid / AnBox86

33 stars 13 forks source link

Termux's proot-distro package has updated to Ubuntu hirsute (instead of Ubuntu 20.01) #7

Closed WheezyE closed 2 years ago

WheezyE commented 3 years ago

Hey man :)

Just wanted to let you know that proot-distro seems to have removed Ubuntu 20.01 and moved to a newer distro just as of last week. This would be an easy fix except that proot-static seems to conflict with the new update somehow.

The main issue is that I can log into proot with proot-distro login --isolated ubuntu just fine and run things if I don't have proot-static downloaded, but if I do download proot-static then I can't do apt update anymore inside ubuntu.

I'm trying to see if I can find a workaround but I'm stuck at the moment

I suspect that the main issue might be the apt repo's not having armhf packages or something

WheezyE commented 3 years ago

Very small update:

ZhymabekRoman commented 3 years ago

Closed in: https://github.com/ZhymabekRoman/proot-static/commit/f65dc6d469cb08028a1ce303eb5e749fe48756e8

WheezyE commented 3 years ago

Thank you again to ZhymabekRoman!

Just updating this thread to say I've gotten farther now with the new proot-distro (now incorporated into new proot-static), but there's a new proot-distro error now with creating user accounts. I've opened a ticket here to try to resolve it with proot-distro.

WheezyE commented 3 years ago

there's a new proot-distro error now with creating user accounts

Xeffyr from proot-distro suggested this might be a bug in proot, so I opened another issue there: https://github.com/termux/proot/issues/191

WheezyE commented 3 years ago

I forgot to mention that the user account problem has been solved in proot now, though I’m getting a few more snags now (https://github.com/termux/proot/issues/193). I’ll update this thread when I know more or hear back from the proot guys

WheezyE commented 3 years ago

This sudo error was fixed https://github.com/termux/proot/issues/193 although I'm still getting PTRACE errors with box86 now. I'll keep testing

WheezyE commented 2 years ago

Sorry this took so long to fix. We got some regressions in Termux fixed though. And in the process we figured out how to run box86 on a multiarch PRoot that also runs box64. This means that we don't need a 32-bit proot anymore to run box86, which is pretty cool - though it also means that we won't be needing proot-static anymore. I think we wouldn't have gotten to this stage at all if not for ZhymabekRoman's contributions and efforts with the 32-bit proot-static though.

I'm going to close this issue now and also make a pull request for an AnBox86_64.sh that can install box86/box64 & wine/wine64 side-by-side.