Opened 12 years ago

Closed 12 years ago

#34359 closed defect (invalid)

dbus: Image error: /Library/LaunchDaemons/org.freedesktop.dbus-system.plist already exists and does not belong to a registered port.

Reported by: erikzal@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), pixilla (Bradley Giesbrecht), erikzal@…
Port: dbus

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello, I am completely new to MacPorts. I am installing it in my MacBook Pro (10.6.8) I followed these steps to install Wine. I configured Macports. Introducing these commands:

echo export PATH=/opt/local/bin:/opt/local/sbin:\$PATH$'\n'export MANPATH=/opt/local/man:\$MANPATH | sudo tee -a /etc/profile

After this command i introduced this other command.

if [ `sysctl -n hw.cpu64bit_capable` -eq 1 ] ; then echo "+universal" | sudo tee -a /opt/local/etc/macports/variants.conf; else echo "not 64bit capable"; fi

I closed the terminal, and in order to install wine i entered this one:

sudo port install wine

After entering this the terminal displayed a lot of information until i encountered this error.

Error: Target org.macports.activate returned: Image error: /Library/LaunchDaemons/org.freedesktop.dbus-system.plist already exists and does not belong to a registered port.  Unable to activate port dbus. Use 'port -f activate dbus' to force the activation.
Error: Failed to install dbus
Log for dbus is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_dbus/dbus/main.log
Error: The following dependencies were not installed: gst-plugins-base gnome-vfs gconf dbus-glib dbus gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl docbook-xsl gnome-doc-utils intltool gnome-common p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser iso-codes libxslt libxml2 libxml2 libxslt libxslt py27-libxml2 python27 db46 libedit openssl openssl python_select sqlite3 python27 py27-libxml2 rarian getopt gtk2 atk gdk-pixbuf2 jasper jpeg jpeg libpng libpng tiff tiff hicolor-icon-theme pango Xft2 xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto xrender cairo libpixman xorg-xcb-util shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXext autoconf help2man p5.12-locale-gettext automake libtool xorg-util-macros xorg-libXfixes xorg-fixesproto xorg-libXcomposite xorg-libXcursor xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXinerama xorg-libXrandr xorg-randrproto xorg-libXrandr orbit2 libidl policykit eggdbus gnome-mime-data gstreamer gzip texinfo libtheora libvorbis libogg orc lcms mesa makedepend xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libsm xorg-libXxf86vm xorg-xf86vidmodeproto
Error: Status 1 encountered during processing.

I hope you can help me. Thank you.

Change History (7)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: dbus added
Summary: Problem installing Winedbus: Image error: /Library/LaunchDaemons/org.freedesktop.dbus-system.plist already exists and does not belong to a registered port.

Please remember to use WikiFormatting.

comment:2 in reply to:  description Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… mcalhoun@… added
Resolution: invalid
Status: newclosed

Replying to erikzal@…:

Error: Target org.macports.activate returned: Image error: /Library/LaunchDaemons/org.freedesktop.dbus-system.plist already exists and does not belong to a registered port.  Unable to activate port dbus. Use 'port -f activate dbus' to force the activation.

You'll have to answer for yourself why /Library/LaunchDaemons/org.freedesktop.dbus-system.plist already exists and does not belong to a registered port. Usually this happens when you install MacPorts (specifically the dbus port), then uninstall it incompletely / incorrectly, then install dbus again.

The solution is given in the error message: force the activation of dbus:

sudo port -f activate dbus

comment:3 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:4 in reply to:  3 Changed 12 years ago by erikzal@…

Resolution: invalid
Status: closedreopened

I used the command you said:

sudo port -f activate dbus

I inserted my password and the terminal displayed this information.

--->  The following versions of dbus are currently installed:
--->      dbus @1.4.18_0+universal
--->      dbus @1.4.20_0+startupitem+universal
Error: port activate failed: Registry error: Please specify the full version as recorded in the port registry.

Any suggestions? I'm sorry if these are basic things about MacPorts. I am very thankful for your help.

comment:5 Changed 12 years ago by erikzal@…

Cc: erikzal@… added

Cc Me!

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

You need to tell MacPorts which of the installed versions of dbus you want to activate, e.g.:

sudo port -f activate dbus @1.4.20_0+startupitem+universal

comment:7 Changed 12 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.