Requested Ports

Michael Newman mgnewman at mac.com
Tue Sep 24 08:35:18 UTC 2024


Well, this is embarrassing.

I was surprised that the snapshot list had two items:

Fifteen:desktop mnewman$ port snapshot --list
ID  Created              Note
=======================================================
 2  2024-09-22 09:34:22  snapshot created for migration
 1  2024-09-22 00:22:41  snapshot created for migration

I’m usually in bed by 8:30 and asleep by 9:00. There’s little chance that I would ever be awake after midnight and even less chance that I would be doing a MacOS upgrade and MacPorts migration at that hour. 

However, it appears that’s exactly what I did. I have no recollection at all of doing this. 

In my defense, I had just been home for a few days after a 30+ hour journey across ten time zones from Portland, Oregon to our home in Northeast Thailand. I was tired, jet-lagged and fighting a nasty cold. I guess anything is possible.

Sorry for wasting everyone’s time. On the plus side, I learned a lot and appreciate the help.

Mike

> On Sep 24, 2024, at 10:00, Joshua Root <jmr at macports.org> wrote:
> 
> 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
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1370 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20240924/61fc02a6/attachment.bin>


More information about the macports-users mailing list