Neo-Oli/termux-ubuntu

Failed to setgroups

Opened this issue · 11 comments

I tried to install snapd (and a bunch of other apps), but I can't install anything.

…
0 upgraded, 100 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.1 MB of archives.
After this operation, 177 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
E: setgroups 65534 failed - setgroups (38: Function not implemented)
E: setegid 65534 failed - setegid (38: Function not implemented)
E: setegid 0 failed - setegid (38: Function not implemented)
E: setgroups 0 failed - setgroups (38: Function not implemented)
E: setgroups 65534 failed - setgroups (38: Function not implemented)
E: setegid 65534 failed - setegid (38: Function not implemented)
E: setegid 0 failed - setegid (38: Function not implemented)
E: setgroups 0 failed - setgroups (38: Function not implemented)
E: Method gave invalid 400 URI Failure message: Failed to setgroups - setgroups (38: Function not implemented)
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (112)

try this "usermod -a -G groupName userName"

Dmole commented
usermod -a -G root root

Did not help and I suspect it was a kernel change that caused this.

I got the same error msg when I upgraded my phone to Android 9.0 :(
But it does well on my phone of Android 8.0. And now I cant update ubuntu any more.

Same here, Pixel 3XL on Android 9:

./start-ubuntu.sh groups: cannot find name for group ID 3003 groups: cannot find name for group ID 9997 groups: cannot find name for group ID 20171 groups: cannot find name for group ID 50171 root@localhost:~# apt update E: setegid 65534 failed - setegid (38: Function not implemented) E: setegid 0 failed - setegid (38: Function not implemented) Reading package lists... Done E: setegid 65534 failed - setegid (38: Function not implemented) E: setegid 0 failed - setegid (38: Function not implemented) E: Method gave invalid 400 URI Failure message: Failed to set new group ids - setresgid (38: Function not implemented) E: Method http has died unexpectedly! E: Sub-process http returned an error code (112)

Have the save Problem in android 9

solutionz?

Help me

root@localhost:~# apt-get update
Reading package lists... Error!
E: Method gave invalid 400 URI Failure message: Failed to set new user ids - setresuid (1: Operation not permitted)
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (112)
E: Unable to determine file size for fd 4 - fstat (1: Operation not permitted)
E: The package lists or status file could not be parsed or opened.

apt update reading package lists... done e: method gave invalid 400 uri failure message: failed to set new user ids - setresuid (1: operation not permitted) e: method http has died unexpectedly! e: sub-process http returned an error code (112)

7apt update reading package lists... done e: method gave invalid 400 uri failure message: failed to set new user ids - setresuid (1: operation not permitted) e: method http has died unexpectedly! e: sub-process http returned an error code (112)

apt update reading package lists... done e: method gave invalid 400 uri failure message: failed to set new user ids - setresuid (1: operation not permitted) e: method http has died unexpectedly! e: sub-process http returned an error code (112)

I just installed this and it seems cool but i when i use apt package manager to update the packages list i get