Following the instructions of migrating macports is a dead end to me right now.
all attempts to uninstall or do anything woth the port command ends with that: kuku@Christophs-MBP ~ % port -qv installed >myports.txt Error: Current platform "darwin 19" does not match expected platform "darwin 18" Error: If you upgraded your OS, please follow the migration instructions: https://trac.macports.org/wiki/Migration Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform mismatch kuku@Christophs-MBP ~ % sudo port -fp uninstall installed Password: Error: Current platform "darwin 19" does not match expected platform "darwin 18" 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 kuku@Christophs-MBP ~ %