Pkexec issues

Hi guys please excuse me if this isn’t the right forum, I know that pkexec has been removed from Ubuntu and other distros some time ago but I’m getting some issues with pkexec in my laptop Ubuntu Budgie 20.04 desktop this is from “/var/log/syslog”:

Sep 9 08:55:13 mbook update-notifier[16239]: failed to run /usr/lib/update-notifier/package-system-locked: Falló al ejecutar el proceso hijo «pkexec» (No existe el archivo o el directorio)
Sep 9 08:58:16 mbook update-notifier[16239]: failed to run /usr/lib/update-notifier/package-system-locked: Falló al ejecutar el proceso hijo «pkexec» (No existe el archivo o el directorio)
Sep 9 09:01:10 mbook update-notifier[16239]: failed to run /usr/lib/update-notifier/package-system-locked: Falló al ejecutar el proceso hijo «pkexec» (No existe el archivo o el directorio)
Sep 9 12:27:19 mbook budgie-panel.desktop[57540]: p = subprocess.Popen([‘pkexec’,
Sep 9 12:27:19 mbook budgie-panel.desktop[57540]: FileNotFoundError: [Errno 2] No existe el archivo o el directorio: ‘pkexec’
Sep 9 13:02:47 mbook budgie-panel.desktop[83121]: p = subprocess.Popen([‘pkexec’,
Sep 9 13:02:47 mbook budgie-panel.desktop[83121]: FileNotFoundError: [Errno 2] No existe el archivo o el directorio: ‘pkexec’
Sep 9 13:28:59 mbook budgie-panel.desktop[91930]: p = subprocess.Popen([‘pkexec’,
Sep 9 13:28:59 mbook budgie-panel.desktop[91930]: FileNotFoundError: [Errno 2] No existe el archivo o el directorio: ‘pkexec’

The last two lines with errors “budgie-panel.desktop” are trying to install packages using “Budgie Welcome” “Change appareance” options, I’ve been looking on Google and other forums without sucess IMHO its very strange because if the package has been removed from the repos then why budgie-panel.desktop and update-notifier are looking for pkexec? The versions are:

fgonzalez@mbook:~$ dpkg -l|grep update-notifier
ii update-notifier 3.192.30 amd64 Daemon which notifies about package updates
ii update-notifier-common 3.192.30 all Files shared between update-notifier and other packages

fgonzalez@mbook:~$ snap list | grep welcome
ubuntu-budgie-welcome 0.12.9 221 latest/stable ubuntubudgie classic

I tried to reset all the desktop with these commands without sucess:

dconf reset -f /org/gnome/control-center/
budgie-panel --reset --replace &!

If someone could point me in the right direction it will be great! :slight_smile:

Best regards and sorry for my poor english!

Francisco

Sorry for bother you finally I realize the problem, for a strange reason pkexec which is part of policykit-1 was not installed correctly, I don’t know why this by the way, running the command:

sudo apt install --reinstall policykit-1

Put the exec file in its path /usr/bin

Again thx and sorry for bother you!

Francisco

2 Likes