homebrew-kleopatra4mac icon indicating copy to clipboard operation
homebrew-kleopatra4mac copied to clipboard

Error: Formula `dbus` has not implemented #plist, #service or installed a locatable service file

Open cheongi opened this issue 2 years ago • 11 comments

Apparently, homebrew needs to be installed in Rosetta mode on Apple silicon (M1, M2).

Source: https://github.com/Homebrew/homebrew-services/issues/398

So at least: % arch -x86_64 zsh Before step 1.

Automator method runs Terminal in Rosetta mode. https://developer.apple.com/forums/thread/718722 See reply #5 by rsethc.

My Kleopatra is working. Thanks.

cheongi avatar Mar 07 '23 09:03 cheongi

Can you explain in more detail? I am using m1 without issue. I will gladly edit

algertc avatar Mar 07 '23 19:03 algertc

I ran into a similar error on ARM and was able to fix it by simply brew services stop dbus then brew services start dbus

Intel is proving much more complicated to fix. This was probably the best information I found, but I was still unable to get dbus to start on intel.

algertc avatar Mar 17 '23 02:03 algertc

I have the same error when starting the dbus service on macOS Ventura with M2 after installation.

$ brew services info --all
dbus (homebrew.mxcl.dbus)
Running: ✘
Loaded: ✘
Schedulable: ✘
unbound (homebrew.mxcl.unbound)
Running: ✘
Loaded: ✘
Schedulable: ✘

$ brew services start dbus
Error: Formula `dbus` has not implemented #plist, #service or installed a locatable service file

MichaelPak avatar May 02 '23 10:05 MichaelPak

On my m1 on monterey, brew stopping dbus then starting it again manually fixed this for some reason. I had tried restarting but not stop/start. Please let me know what happens on your system.

Dbus started with no issue about 6 months ago on any computer I tried. I have no idea what to do about this now...

launchd wizards pls help 🙏

algertc avatar May 03 '23 07:05 algertc

Taken from adymo/homebrew-kkde. May help...?

first:

brew uninstall dbus && brew install dbus --build-from-source

second:

mkdir -p ~/Library/LaunchAgents
# substitute Cellar/d-bus/1.8.0 below with your actual dbus installation dir
ln -s /usr/local/Cellar/d-bus/1.8.0/org.freedesktop.dbus-session.plist ~/Library/LaunchAgents
launchctl load -w ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist

algertc avatar Jul 22 '23 23:07 algertc