direct mode uninstall broken under 1.9

Joshua Root jmr at macports.org
Thu Jun 10 08:52:57 PDT 2010


On 2010-6-11 00:59 , Daniel J. Luke wrote:
> % sudo port -dv uninstall libtool
> DEBUG: no portfile in registry for libtool @2.2.8_0+darwin
> DEBUG: no portfile in registry for libtool @2.2.8_0+darwin
> --->  Deactivating libtool @2.2.8_0+darwin
> DEBUG: Image error: libtool @2.2.8_0+darwin not installed as an image.
>     while executing
> "portimage::deactivate $portname $v [array get options]"
>     (procedure "registry_uninstall::uninstall" line 107)
>     invoked from within
> "registry_uninstall::uninstall $portname $composite_version [array get options]"
> Error: port uninstall failed: Image error: libtool @2.2.8_0+darwin not installed as an image.
> 
> (doing an upgrade gives the same error after generating the new version's archive).
> 
> Looks like portuninstall.tcl (line 149) just needs to check for image vs direct and do uninstall vs deactivate.

Try the tip of the 1.9 branch.

- Josh


More information about the macports-dev mailing list