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

Error when issuing `apt update` in my Pixel 1st Gen

Open omata opened this issue 6 years ago • 4 comments

Hello,

I just installed Ubuntu in termux, so the first thing that I did was apt update to get my repo databases populated. but it is returning the following:

$ apt update
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)
Reading package lists... Done
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)

Best regards,

omata avatar Sep 03 '18 22:09 omata

did the installation (ubuntu.sh) yield any errors? my setup is OK for the most part and I'm able to 'apt update', though I do get these group warnings upon startup.

$
$ cd termux-ubuntu/
$ ./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 20321
groups: cannot find name for group ID 50321
root@localhost:~#
root@localhost:~#
root@localhost:~# apt update
Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [83.2 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [266 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [116 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [168 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [80.5 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [123 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [61.3 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [55.9 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [33.6 kB]
Fetched 1151 kB in 10s (118 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@localhost:~#
root@localhost:~#
root@localhost:~# cat /etc/resolv.conf
nameserver 1.1.1.1
root@localhost:~#

diehard88 avatar Sep 04 '18 01:09 diehard88

suggestion: try this variant called ubuntu-in-termux.

https://github.com/MFDGaming/ubuntu-in-termux

diehard88 avatar Sep 04 '18 01:09 diehard88

Same issue on pixel 2 ... maybe it was that security patch that was pushed out a few days ago... likely this will be an issue on all phones whenever their updates are ready

Dmole avatar Sep 15 '18 00:09 Dmole

This is a duplicate of https://github.com/Neo-Oli/termux-ubuntu/issues/44

Dmole avatar Sep 16 '18 13:09 Dmole