On Oct 29, 2007, at 15:52, paul beard wrote:

I got this error when I ran port upgrade:

Warning: Uninstall forced.
Proceeding despite dependencies.
--->  Deactivating avahi 0.6.17_1
--->  Uninstalling avahi 0.6.17_1
--->  Installing avahi 0.6.17_2
--->  Activating avahi 0.6.17_2
Error: Target org.macports.activate returned: no such file or directory

The port shows as active, but the plist files seem to be missing.

([EMAIL PROTECTED])-(01:45 PM / Mon Oct 29)
[/Library/LaunchDaemons]# ls
org.macports.apache2.plist  org.macports.mysql5.plist

I deactivated and reactivated to see if I could get them where they need to go. They seem to end up in destroot OK . . .

DEBUG: Adding file to file_map: /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_net_a vahi/work/destroot/Library/LaunchDaemons/org.freedesktop.avahi- daemon.plist for: avahi DEBUG: Adding file to file_map: /opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_net_a vahi/work/destroot/Library/LaunchDaemons/org.freedesktop.avahi- dnsconfd.plist for: avahi

([EMAIL PROTECTED])-(01:45 PM / Mon Oct 29)
[/Library/LaunchDaemons]# ls
org.macports.apache2.plist  org.macports.mysql5.plist

I was wondering if this part of the portfile would cause this problem:

        post-activate   {
                # remove cruft from versions < 0.6.17_2
delete /System/Library/LaunchDaemons/ org.freedesktop.avahi-dnsconfd.plist delete /System/Library/LaunchDaemons/ org.freedesktop.avahi-daemon.plist
        }

I think the files should only be removed if they actually exist. :)


_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to