How to fix “The name org.freedesktop.Hal was not provided by any .service files”
Problem:
You want to use the pmi
tool from the powermanagement-interface
package, e.g. to standby your Linux computer using the command line, but you get an error message like this:
example.txt
Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files
Solution
PMI requires the hardware abstraction layer (HAL) library in order to use ACPI services.
Install the hal
package, e.g. by using
example.sh
sudo apt-get install hal
This solution might also apply to other tools beyond pmi
that yield the same error message.
Check out similar posts by category:
Allgemein
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow