Two comments: 1) the two dscl commands appear commented with # in your list. If that’s the case, they weren’t executed
2) On my system, not all the directories listed in the sudo rm -rf command existed. I would remove them one by one to be sure each existing one is properly removed Ciao Franco > On 14 Aug 2024, at 09:30, Raoul MEGELAS <[email protected]> wrote: > > Hello Franco, > > Here is exactly what I did: > sudo port -fp uninstall installed > # remove user and group > # sudo dscl . -delete /Users/macports > # sudo dscl . -delete /Groups/macports > sudo rm -rf \ > /opt/local \ > /Applications/DarwinPorts \ > /Applications/MacPorts \ > /Library/LaunchDaemons/org.macports.* \ > /Library/Receipts/DarwinPorts*.pkg \ > /Library/Receipts/MacPorts*.pkg \ > /Library/StartupItems/DarwinPortsStartup \ > /Library/Tcl/darwinports1.0 \ > /Library/Tcl/macports1.0 \ > ~/.macports > Hope this is fine! > Bests > Raoul > > > > >> On 14 Aug 2024, at 08:49, Franco Vaccari <[email protected]> wrote: >> >> Hi Raoul, >> >> just to be sure, did you remove MacPorts following the steps described in >> >> <https://guide.macports.org/#installing.macports.uninstalling> >> >> Ciao >> >> Franco >> >>> On 14 Aug 2024, at 08:13, Raoul MEGELAS <[email protected]> wrote: >>> >>> Hello macports, >>> >>> Still the same error: >>> As the subject says, >>> Platform mismatch error. >>> Some details: >>> Sonoma 14.6.1 on M1 Max 64Gb. >>> I reinstalled completely macports after removing all. >>> And I get the same error. >>> What to do in this case? >>> Thanks and bests >>> Raoul MEGELAS >>> >> >
