On Dec 12, 2007, at 13:51, Barry McInnes wrote:
We have a clean install of 10.5 and update to 10.5.1. macport version [mac27:~/sun/info] bmcinnes% port --version MacPorts 1.520
Some installs work, others don't
[mac27:~/sun/info] bmcinnes% sudo port uninstall gimp Error: port uninstall failed: Registry error: gimp not registered as installed.
That looks normal to me. Or did you believe you had the gimp port installed? What is the output of "port installed"?
[mac27:~/sun/info] bmcinnes% sudo port install gimp2 Error: Unable to execute port: invalid command name "destroot.violate_mtree" [mac27:~/sun/info] bmcinnes% sudo port install gnuplot Password: Error: Unable to execute port: invalid command name "destroot.violate_mtree" [mac27:~/sun/info] bmcinnes%
destroot.violate_mtree was added in MacPorts 1.5.1 and improved quickly in 1.5.2. You installed 1.5.0 from the disk image for Leopard, I presume? Did you then "sudo port selfupdate" to upgrade to 1.5.2? I mean, "port" says you're running 1.520, a.k.a. 1.5.2, but its behavior matches that of 1.5.0. So this is odd.
I have reinstalled Xcode 3.0, done port sync, looked through archives, but there seems to be no total solution ?
The total solution for 'invalid command name "destroot.violate_mtree"' should be to update to MacPorts 1.5.2 by using "sudo port selfupdate".