org.freedesktop.PolicyKit1 was not provided by any .service files

Solution 1:

Consider to install the package with needed org.freedesktop.PolicyKit1 file:

sudo apt install policykit-1

Solution 2:

If you are not root, you will get the same error message even though policykit-1 is installed. In this case, you may prefix the command with sudo.