<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">I relied on the fact that man page/help of reclaim said it would not remove active installs. So, having read that, I assumed it was unable to damage the running setup and I assumed it would only remove everything inactive, compile stuff, etc.<div><br></div><div>That was a mistake I now know. Reclaim <i>will</i> remove active <i>unrequested</i> installs. But the help/man does not say so.<div><br></div><div><div>G<br><br><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On 9 May 2021, at 21:26, Daniel J. Luke <dluke@geeklair.net> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>On May 9, 2021, at 12:20 PM, Gerben Wierda via macports-users <macports-users@lists.macports.org> wrote:</span><br><blockquote type="cite"><span>Anyway, the hard lesson was: reclaim is not ’safe’. I  thought, reclaim would only remove inactive installs, but it removed active ones as well.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>It is not possible for me to retrace what went wrong exactly, sadly.</span><br></blockquote><span></span><br><span>The first thing reclaim does is this:</span><br><span></span><br><span>--->  Checking for unnecessary unrequested ports</span><br><span>Unrequested ports without requested dependents found:</span><br><span></span><br><span>If you (like me) have an MacPorts install that pre-dates the requested flag, you'll have a bunch of ports in that list that you don't actually want uninstalled. For reclaim to work best, you need to do `port setrequested` on the ports you want to always keep - then the list of ports you see there will be stuff that got installed that you no longer need. (You can also mark things 'unrequested', see the port manpage - so you can fix things up if you mistakenly mark something requested that you don't want).</span><br><span></span><br><span>Or, you can just hit 'n' for the first prompt.</span><br><span></span><br><span>-- </span><br><span>Daniel J. Luke</span><br><span></span><br></div></blockquote></div></div></div></body></html>