Whenever I run sudo apt upgrade and there are packages being upgraded I get this message setpriv: setresgid failed: Operation not permitted as part of the output.
How can I find which package is causing it and how can I fix this.
BTW, What is apt trying to set here with setpriv and what is
setresgid?
Edit
I'm running Ubuntu 23.04 as proot on termux (terminal) on an Android device.
I have seen the answers at getting setgid:Operation not permitted error while running 'su' command - Ubuntu 12.04 It didn't;t help me since I am not trying tto become root. i'n only running apt upgrade with sudo. At keast as much as I understand there is a difference.