I did something stupid and now can't uninstall a port
Ken Cunningham
ken.cunningham.webuse at gmail.com
Wed Dec 20 03:35:47 UTC 2017
On 2017-12-19, at 6:51 PM, Joshua Root wrote:
>
> Well, that's unfortunate. We probably shouldn't allow port names that
> parseFullPortSpec doesn't recognise as such. (Or add a syntax to
> explicitly specify name,version,revision,variants separately and
> unambiguously.)
>
> This particular case at least isn't possible in master any more, since
> specifying nonexistent subports causes an error.
>
> If you add the mistake-name to the index, you should be able to select
> it for uninstallation with an expression like "installed and
> sheepshaver\*". Just need to add
>
> subport sheepshaver=gui {}
>
> to the portfile and run portindex.
>
> - Josh
That worked, thanks!
I added the weird subport as you said, and then
sudo port uninstall sheepshaver\*
cleaned it out.
Much appreciated.
Ken
More information about the macports-dev
mailing list