I did something stupid and now can't uninstall a port

Ken Cunningham ken.cunningham.webuse at gmail.com
Wed Dec 20 03:29:05 UTC 2017


No luck with either -- thanks for suggestion. K

On 2017-12-19, at 6:32 PM, Jeremy Lavergne wrote:

> Just a couple shell things to try:
> 
> Have you tried using single quotes around the portname?
> 
> How about using a double hyphen before portname e.g. `-- portname`?
> 
> On 12/19/2017 08:24 PM, Ken Cunningham wrote:
>> I have a port I'm working on, with a gui subport:
>> 
>> sheepshaver
>> sheepshaver-gui
>> 
>> I accidentally made a typo installing the subport, and I typed this:
>> 
>> sudo port -v install  subport=sheepshaver=gui
>> 
>> 
>> now I have a port installed like this:
>> 
>> $ port -v installed | grep sheep
>> sheepshaver=gui @20171215_0 (active) platform='darwin 10' archs='x86_64' date='2017-12-19T16:50:16-0800'
>> 
>> 
>> and I can't uninstall it:
>> 
>> $ sudo port uninstall sheepshaver=gui
>> 
>> (does nothing)
>> 
>> $ sudo port uninstall sheepshaver
>> 
>> (does nothing)
>> 
>> $ port -v installed | grep sheep
>> sheepshaver=gui @20171215_0 (active) platform='darwin 10' archs='x86_64' date='2017-12-19T16:50:16-0800'
>> 
>> 
>> I can't seem to uninstall, deactivate, or otherwise work with this port.
>> 
>> If I install sheepshaver, and then try to 
>> 
>> $ sudo port uninstall sheepshaver=gui
>> 
>> it uninstalls sheepshaver, but leaves sheepshaver=gui behind.
>> 
>> Weirdness.
>> 
>> Ken
>> 
> 



More information about the macports-dev mailing list