Michael Newman wrote:
I did what Arno suggested (thank you) and I now have a requested.txt file that,
as far as I can tell, is a good representation of both:
• The ports I migrated to this machine when I first set it up last October.
• The ports that I later installed.
What I still don’t understand is what happened to the ports that I either
migrated or installed?
Many of them simply disappeared after I upgraded to Sequoia and used the new
MacPorts migration procedure.
Fifteen:desktop mnewman$ xargs -n1 sudo port setrequested < old_requested.txt
Password:
Error: exiftool is not installed
Error: jshon is not installed
Error: lynx is not installed
Error: mailutils is not installed
Error: msmtp is not installed
Error: nano is not installed
Error: nbsmtp is not installed
Error: tree is not installed
(old_requested.txt is the file I used to migrate to the new machine and which I
recovered from TimeMachine.)
Where did they all go?
I don't know exactly what you did, but assuming you ran 'port migrate'
at some point in the process and didn't delete the snapshot afterwards,
you can compare the snapshot with your installation's current state by
finding the snapshot ID with 'port snapshot --list' and then running
'port snapshot --diff <ID> --all' where <ID> is the appropriate ID number.
Migration will only restore requested ports and their dependencies by
default (and there should have been a message telling you about any
ports that would not be restored, and a prompt asking if you want to
continue), so it's possible you will find that some of the ports you
want were not marked as requested when the snapshot was created. If
that's the case, you can run 'sudo port restore --last --all' to restore
all of the ports in the snapshot including unrequested ones.
- Josh