ubuntu 20 (focal). if i try to run sudo apt update && sudo apt upgrade -y
i get following error
Errors were encountered while processing:
udev
xserver-xorg-core
xserver-xorg-video-nvidia-460
nvidia-driver-460
E: Sub-process /usr/bin/dpkg returned an error code (1)
To fix this, i tried re-installing udev (after cleaning /var/cache/apt/archives/udev*.*
by command sudo apt update && sudo apt install udev this errors out
Reading package lists... Done
Building dependency tree
Reading state information... Done
udev is already the newest version (245.4-4ubuntu3.6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up udev (245.4-4ubuntu3.6) ...
The group `render' already exists and is not a system group. Exiting.
dpkg: error processing package udev (--configure):
I see, at some point in past, i had tried installed afanasy (cgru) network rendering system. This also created a user & group 'render' this might be conflicting with what udev required.
Q. what is best way to solve this.? The group `render' already exists and is not a system group. Exiting.
Any ideas will be of huge help. thanks in advance for your time.
I managed to solved above problem by steps below
1- remove cgru (afanasy). nothing was copied specially, except two files.
2- remove render user and group
3- re-install udev