bash: /usr/bin/ucaresystem-core: cannot execute: required file not found (Ubuntu Server 24.04)
Closed this issue · 1 comments
cerebrux commented
When trying to run uCareSystem on Ubuntu Server 24.04 you will get:
bash: /usr/bin/ucaresystem-core: cannot execute: required file not found
This is currently only on Ubuntu Server 24.04. Something must have change in the polkit after the 22.04 server
a workaround until a fix is released is running the following command :
sed -i 's|#!/usr/bin/pkexec /bin/bash|#!/usr/bin/sudo /bin/bash|' /usr/bin/ucaresystem-core
cerebrux commented
On Ubuntu Server 22.04 and older versions the binary pkexec
is in place
$ whereis pkexec
pkexec: /usr/bin/pkexec /usr/share/man/man1/pkexec.1.gz
When checking it in Ubuntu Server 24.04 it is missing