Related: - https://answers.launchpad.net/ubuntu/+question/709594; - https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/2054716.
Fix was already provided [here](https://answers.launchpad.net/ubuntu/+question/709594#comment-5) and the following comments. Here is it once again: ```bash # Note: `--gecos` is deprecated (based on `man adduser`) and `--comment` should be used instead, # however, `/var/lib/dpkg/info/polkitd.postinst` still uses `--gecos` at the time of writing. adduser --group --system --quiet --comment 'polkit' --no-create-home --home /nonexistent polkitd addgroup --system --quiet polkitd service dbus reload dpkg --configure -a ``` This was called too by incorrectly configured `sss` in `/etc/nsswitch.log` (see [this comment](https://answers.launchpad.net/ubuntu/+question/709594#comment-12)). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2086785 Title: `do-release-upgrade` from 22.04 LTS to 24.04 LTS: package polkitd 124-2ubuntu1 failed to install/upgrade: installed polkitd package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/2086785/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
