Is it possible to uninstall MacPorts without doing a migration?

Evan Biederstedt evan.biederstedt at gmail.com
Sun Jun 3 22:26:04 UTC 2018


Hi Chris

Thank you for the help. This does indeed work---apologies for my confusion.



On Sun, Jun 3, 2018 at 3:31 PM, Chris Jones <jonesc at hep.phy.cam.ac.uk>
wrote:

>
>
> On 3 Jun 2018, at 8:23 pm, Evan Biederstedt <evan.biederstedt at gmail.com>
> wrote:
>
> I'm currently using MacOS High Sierra 10.13.5. I would like to uninstall
> MacPorts on my macbook.
>
> Based on the instructions here:
>
> https://guide.macports.org/chunked/installing.macports.uninstalling.html
>
> I should do the following
>
> ```
>     $ sudo port -fp uninstall installed
> ```
>
> Here is the response I see:
>
> ```
>     Error: Current platform "darwin 17" does not match expected platform
> "darwin 16"
>     Error: If you upgraded your OS, please follow the migration
> instructions: https://trac.macports.org/wiki/Migration
>     OS platform mismatch
>         while executing
>     "mportinit ui_options global_options global_variations"
>     Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform
> mismatch
> ```
>
> Do I really need to do a migration first before uninstalling? Is there a
> way to install directly now?
>
>
> The link you post above gives a second method of removing all traces of
> macports, just using an ‘rm -f’ command. Just do that ....
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180603/a7c11b28/attachment.html>


More information about the macports-users mailing list