[MacPorts] #14774: Update of dbus instructions wrong

MacPorts trac at macosforge.org
Mon Mar 24 16:46:39 PDT 2008


#14774: Update of dbus instructions wrong
-----------------------------------+----------------------------------------
 Reporter:  dersh at alum.mit.edu     |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                 |      Status:  new                                  
 Priority:  Low                    |   Milestone:                                       
Component:  ports                  |     Version:  1.6.0                                
 Keywords:  dbus update launchctl  |  
-----------------------------------+----------------------------------------
 I did an upgrade to dbus (from 1.0.2_2 to 1.1.20_0) and when doing an
 upgrade or install dbus says:

 {{{
 ###########################################################
 # A startup item has been generated that will aid in
 # starting dbus with launchd. It is disabled
 # by default. Execute the following command to start it,
 # and to cause it to launch at startup:
 #
 # sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist
 ###########################################################
 }}}

 However, that will not work correctly if you already have dbus installed
 and running.  And it seems that the upgrade, without doing the install,
 will cause a bunch of continuous errors in the console logs.

 The solution that seems to have worked for me (and should be added to the
 upgrade instructions) is to do the upgrade, then to unload the old version
 (and remove the pid file, or the new one won't start), then load the new
 version:
 {{{
 sudo port upgrade dbus
 sudo launchctl unload /Library/LaunchDaemons/org.macports.dbus.plist
 sudo rm /opt/local/var/run/dbus/pid
 sudo launchctl load -w /Library/LaunchDaemons/org.macports.dbus.plist
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14774>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list