Upgrade 7 to 8 failed due to polkit

hosted

New Member
Apr 26, 2023
3
3
3
hosted.one
I have no idea how this polkit error came about. When you see this error: DON'T REBOOT.

This is what I did to fix it, and then ran dist-upgrade again after applying this fix

I have no idea where polkit even came from, but before moving on you can simply create the user:

addgroup --gid 901 polkitd

adduser --uid 901 --ingroup polkitd polkitd --no-create-home --shell /sbin/nologin --home /nonexistent --disabled-password

Finally,

dist-upgrade

This worked well for me and did not need me to take any additional action.
 
Same issue here upgrading from the latest 7.xx to 8.xx.
Creating group/user and running dpkg-reconfigure polkitd fixed the issue.