termux-ubuntu icon indicating copy to clipboard operation
termux-ubuntu copied to clipboard

Failed to setgroups

Open NatoBoram opened this issue 6 years ago • 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)

NatoBoram avatar Jun 01 '18 02:06 NatoBoram

try this "usermod -a -G groupName userName"

okiedokie78 avatar Jun 21 '18 21:06 okiedokie78

usermod -a -G root root

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

Dmole avatar Sep 16 '18 13:09 Dmole

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.

yfsmth avatar Nov 19 '18 12:11 yfsmth

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)

msiniscalchi avatar Feb 09 '19 00:02 msiniscalchi

Have the save Problem in android 9

luxueyan avatar Mar 11 '19 07:03 luxueyan

solutionz?

diehard88 avatar May 23 '19 03:05 diehard88

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.

gutclone avatar Jul 29 '19 18:07 gutclone

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)

gutclone avatar Aug 12 '19 20:08 gutclone

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)

gutclone avatar Aug 12 '19 20:08 gutclone

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)

gutclone avatar Aug 12 '19 20:08 gutclone

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

gutclone avatar Aug 12 '19 20:08 gutclone