Lubuntu mantic minotaur (23.10) issue tracker

FWIW you can also just hit enter at the password prompt (the password is blank) to proceed with the installation from the desktop.

Also just to put it somewhere, the man page for polkit covers rules. There are already some Ubuntu-specific rules in /usr/share/polkit-1/rules.d. Debian also has a wiki on the subject.

There is a bug report in Debian that is somewhat relevant here. It reveals a solution that can be dropped into /usr/share/polkit-1/rules.d/com.github.calamares.calamares.rules:

polkit.addRule(function(action, subject) {
        polkit.log(action.id);
        if ((action.id = "com.github.calamares.calamares.pkexec.run") && 
                subject.local && 
                subject.active && 
                subject.isInGroup ("sudo")) {
                return.polkit.Result.YES;
        }
});

Which is to say, it allows a local, active, user in group sudo to run pkexec on Calamares without further prompts. This may be our solution and we may want to go ahead and just do it.

3 Likes