<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Mar 5, 2016 at 8:47 PM, Mark Brethen <span dir="ltr"><<a href="mailto:mark.brethen@gmail.com" target="_blank">mark.brethen@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">
> On Mar 5, 2016, at 7:38 PM, Brandon Allbery <<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>> wrote:<br>
><br>
> On Sat, Mar 5, 2016 at 8:35 PM, Mark Brethen <<a href="mailto:mark.brethen@gmail.com">mark.brethen@gmail.com</a>> wrote:<br>
> I had my hard drive wiped with a clean install of El Capitan. I noticed in the Time Machine checklist a MacPorts item with a message that MacPorts Home would moved to my user (size was zero kb). What is this and do I need to re-install macports? port command seems to work fine and I did not change operating systems.<br>
><br>
> MacPorts sets up a non-GUI user that it does builds under (instead of doing them as root). Apparently Time Machine doesn't like this and wants to make it match your user,<br>
><br>
> I would skip that part of it and reinstall MacPorts to make sure the user is set up properly. I don't know offhand if TM will restore things like launchd plists properly, or if you should follow Migration to make sure installed ports haven't lost anything.<br><br>
</div></div>Does that include all of the ports I have installed?<br></blockquote></div><div class="gmail_extra"><br></div>Just reinstalling MacPorts would not affect installed ports. The Migration stuff (<a href="https://trac.macports.org/wiki/Migration">https://trac.macports.org/wiki/Migration</a>) would involve removing and reinstalling ports.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I suppose you could just reinstall the MacPorts base and then verify that all active ports have all their files. Reinstall any ports that report missing files.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><span style="font-family:monospace,monospace"> oIFS="$IFS"</span><br></div><div class="gmail_extra"><font face="monospace, monospace"> # note that this is a single newline in single quotes</font></div><div class="gmail_extra"><font face="monospace, monospace"> IFS='</font></div><div class="gmail_extra"><font face="monospace, monospace">'</font></div><div class="gmail_extra"><span style="font-family:monospace,monospace"> </span><span style="font-family:monospace,monospace"> </span><span style="font-family:monospace,monospace">for port in $(port -q echo active); do</span><br></div><div class="gmail_extra"><span style="font-family:monospace,monospace"> for file in $(port -q contents "$port" | sed -n 's/^ //p'); do</span><br></div><div class="gmail_extra"><font face="monospace, monospace"> test -e "$file" || echo "MISSING from $port: $file"</font></div><div class="gmail_extra"><font face="monospace, monospace"> done</font></div><div class="gmail_extra"><font face="monospace, monospace"> done</font></div><div class="gmail_extra"><div><font face="monospace, monospace"> IFS="$oIFS"</font></div><div class="gmail_extra"><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>