dbus activation problem caused by leftover files from ancient macports install

Lars Sonchocky-Helldorf lars.sonchocky-helldorf at hamburg.de
Sun Feb 24 12:07:28 PST 2013


Hi,

trying to install inkscape I got the following error:

Error: org.macports.activate for port dbus returned: Image error: /Library/LaunchAgents/org.freedesktop.dbus-session.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.
Warning: targets not executed for dbus: org.macports.activate
Error: Failed to install dbus
Please see the log file for port dbus for details:
    /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: gnome-vfs gconf dbus-glib dbus intltool p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser orbit2 libidl policykit eggdbus gnome-mime-data gsl gtkmm atkmm glibmm libsigcxx2 cairomm pangomm gtkspell2 enchant aspell texinfo hunspell readline gtk-doc docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 xmlcatmgr docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils iso-codes py27-libxml2 rarian lcms libwpg libwpd libgsf libbonobo poppler curl curl-ca-bundle poppler-data py27-lxml py27-numpy py27-nose nosetests_select py27-distribute
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port inkscape failed

I could activate dbus using: 

sudo port -f activate dbus

but I got the following warning:

Warning: File /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists.  Moving to: /Library/LaunchAgents/org.freedesktop.dbus-session.plist.mp_1361736070.
Warning: File /Library/LaunchDaemons/org.freedesktop.dbus-system.plist already exists.  Moving to: /Library/LaunchDaemons/org.freedesktop.dbus-system.plist.mp_1361736070.

This might be caused by the fact I had a very outdated macports installed before (from 10.4 something) which I wasn't able to upgrade. So I removed everything manually but did not look into /Library/LaunchAgents/ and /Library/LaunchDaemons/

Is there a way to uninstall everything from an ancient macports install?


cheers,

	Lars


More information about the macports-users mailing list