pelya / debian-noroot

Debian running on Android, without rooting your phone
https://play.google.com/store/apps/details?id=com.cuntubuntu
388 stars 70 forks source link

Weird problem on certain Android devices #27

Open tluyben opened 7 years ago

tluyben commented 7 years ago

I have an Android device with Android 5.1, one with 6.0 and one with 4.3; Debian-noroot runs well on 4.3 and 5.1, but on 6.0 (and by no means to I have any clue if it is the Android version or something else!) when running

sudo apt-get install i3

or

sudo dpgk --configure -a

it breaks with

error creating backup file /var/lib/dpkg/status-old

I am running as root, the directory is writable, I can create status-old like;

sudo touch /var/lib/dpkg/status-old

or

sudo mv /var/lib/dpkg/status-new /var/lib/dpkg/status-old

but after running

sudo dpkg --configure -a

it creates a new status-new, deletes status-old and then gives that same error message.

I have no clue why; I tried to remove/reinstall etc but it makes no difference. Google isn't very helpful either.

Normally I would install strace but I cannot do that (nor would it work I think if I could) .

Any idea?

pelya commented 7 years ago

The app currently does not work with Android 6.0, the problem is in proot.

I don't know when I'll have time to update it, also I don't have any device with Android 6.

On Nov 11, 2016 10:23 PM, "tluyben" notifications@github.com wrote:

I have an Android device with Android 5.1, one with 6.0 and one with 4.3; Debian-noroot runs well on 4.3 and 5.1, but on 6.0 (and by no means to I have any clue if it is the Android version or something else!) when running

sudo apt-get install i3

or

sudo dpgk --configure -a

it breaks with

error creating backup file /var/lib/dpkg/status-old

I am running as root, the directory is writable, I can create status-old like;

sudo touch /var/lib/dpkg/status-old

or

sudo mv /var/lib/dpkg/status-new /var/lib/dpkg/status-old

but after running

sudo dpkg --configure -a

it creates a new status-new, deletes status-old and then gives that same error message.

I have no clue why; I tried to remove/reinstall etc but it makes no difference. Google isn't very helpful either.

Normally I would install strace but I cannot do that (nor would it work I think if I could) .

Any idea?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pelya/debian-noroot/issues/27, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewMGHxtrJRNGcA7CVSFQbGOxZD_Qpks5q9M6lgaJpZM4KwG15 .

tluyben commented 7 years ago

Ah, what is the trouble, do you know, maybe I or someone else can try to fix it?

pelya commented 7 years ago

Yes, you can try using proot with link2symlink extension https://groups.google.com/forum/m/#!topic/proot_me/SBemgRlXg2Y

Or you can try to use GNURoot Debian app by Corbin, it includes PRoot with this extension.

On Nov 11, 2016 11:37 PM, "tluyben" notifications@github.com wrote:

Ah, what is the trouble, do you know, maybe I or someone else can try to fix it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pelya/debian-noroot/issues/27#issuecomment-260061231, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJewMis16fXJNGkTHoAEDzgqfLmFleCks5q9N_5gaJpZM4KwG15 .

lewisdonofrio commented 6 years ago

What can I do to help this great project, it's like WSl but for Android. I cannot update because of the permission issues on android 7, please advise workaround.