Thanks - that turned up some plist files in /Library/LaunchDaemons, all of 
which were soft links to files in /opt/local.  I’ve used CCC to make a copy of 
/opt/local onto a backup drive, so I think I’m OK to slash away.

Jim
3222 NE 89th St
Seattle, WA 98115
(206) 430-0109

> On May 7, 2022, at 3:33 PM, Richard L. Hamilton <[email protected]> wrote:
> 
> /opt/local and /Applications/MacPorts accounts for most, but by no means all 
> of the files installed.
> 
> Looking through the output of the command
> 
> port contents installed | egrep -v '^Port.*contains:$|^ */opt/local/|^ 
> */Applications/MacPorts/' | sort > macports_files_misc.txt
> 
> I see that SOME of the files in
> 
> /Library/Java/JavaVirtualMachines
> /Library/LaunchAgents
> /Library/LaunchDaemons
> 
> are part of ports (those are locations are used by various software) as well 
> as probably all of
> 
> /Library/TeX/Distributions/.FactoryDefaults/MacPorts-TeXLive
> /Library/TeX/Distributions/MacPorts-TeXLive.texdist
> 
> 
> You should perhaps run the above command yourself and examine the resulting 
> file; there may be other odd places used by ports you have installed and I 
> don't.
> 
> 
>> On May 7, 2022, at 14:28, James Secan <[email protected]> wrote:
>> 
>> Thanks, I’ll check those other items out.
>> 
>> Jim
>> Seattle, WA
>> 
>>> On May 7, 2022, at 11:24 AM, [email protected] wrote:
>>> 
>>> Sorry I did not address your question. Though I've never tried that method, 
>>> my understanding is that everything MacPorts is in /opt/local owned by 
>>> root:wheel and 755, so I have always assumed, for at least a decade now, 
>>> that what you intend should just work, because I've had those thoughts 
>>> before as well, I just prefer to watch code build for days rather than copy 
>>> a folder for a few minutes.
>>> 
>>> I always backup macports.conf separately, along with .bash_profile (not 
>>> really part of MacPorts but sourcing it keeps $PATHs how I want them).
>>> 
>>> Also, for the system proper, I install everything that is not required to 
>>> be installed in /Applications into ~/Applications, so when migrating I just 
>>> copy over my user folder and then nearly all my applications are already 
>>> installed.
>>> 
>>> Which reminds me, you may have some MacPorts application builds in 
>>> /Applications/MacPorts
>>> 
>>> 
>>> 
>>> 
>>>> On May 7, 2022, at 14:10, James Secan <[email protected]> wrote:
>>>> 
>>>> Should have mentioned I’ve already done that as my final fall-back, but 
>>>> I’d rather be able to get back to exactly where I was vis-a-vis MacPorts 
>>>> if I step on something I shouldn’t have.
>>>> 
>>>> Jim
>>>> Seattle, WA
>>>> 
>>>>> On May 7, 2022, at 11:00 AM, [email protected] wrote:
>>>>> 
>>>>> May want to save a copy of output of
>>>>> 
>>>>> port list requested
>>>>> 
>>>>> to make it easy to restore if it all goes South. When I'm migrating, I 
>>>>> take that list and turn it into an install script.
>>>>> 
>>>>>>> On May 7, 2022, at 13:55, Jim Secan <[email protected]> wrote:
>>>>>> 
>>>>>> I’m about to embark on a major mucking-out of my MacPorts installation 
>>>>>> on an El Capitan system.  I believe that if I make a copy of /opt/local 
>>>>>> that gives me everything I need to recover if I find myself with a 
>>>>>> non-working setup after this process.  Is that right, or are there other 
>>>>>> directories I should backup as well?
>>>>>> 
>>>>>> Jim
>>>>>> Seattle, WA
>>>>>> 
>>>> 
>> 
>> 
> 
> -- 
> eMail:                                mailto:[email protected]
> 
> 
> 
> 

Reply via email to