I did something stupid and now can't uninstall a port
Jeremy Lavergne
jeremy at lavergne.me
Wed Dec 20 02:32:38 UTC 2017
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