base: 'port uninstall' ignores subport when using 'current'

Bradley Giesbrecht pixilla at macports.org
Sun Jul 28 11:50:10 PDT 2013


On Jul 28, 2013, at 11:26 AM, Ryan Schmidt wrote:

> On Jul 28, 2013, at 09:52, Bradley Giesbrecht wrote:
> 
>> Is this intended?
>> 
>> $ cd $(port dir qt4-mac-mysql55-plugin)
>> $ for mysql in mysql5 mysql51 mysql55 mariadb percona ; do sudo port -dy uninstall subport=qt4-mac-${mysql}-plugin 2>/dev/null ; done
>> qt4-mac-mysql55-plugin is already uninstalled
>> qt4-mac-mysql55-plugin is already uninstalled
>> qt4-mac-mysql55-plugin is already uninstalled
>> qt4-mac-mysql55-plugin is already uninstalled
>> qt4-mac-mysql55-plugin is already uninstalled
>> $
> 
> I've noticed that too but you can just install them by name:
> 
> $ cd $(port dir qt4-mac-mysql55-plugin)
> $ for mysql in mysql5 mysql51 mysql55 mariadb percona ; do sudo port -dy uninstall qt4-mac-${mysql}-plugin 2>/dev/null ; done


This is what I did.

It makes sense that port would ignore 'current' and consult the registry for matches, though I was surprised uninstall support=foo didn't work.


Regards,
Bradley Giesbrecht (pixilla)



More information about the macports-dev mailing list