migration hickup

joerg van den hoff veedeehjay at gmail.com
Mon Mar 8 16:44:27 UTC 2021


hi there,

today I have set up a new macbook, using the "Migration Assistant" app to move my stuff from the old 
machine to the new one.

the only thing which I *excluded* from the offered list of user accounts and other data 
(Applications etc.) was the `macports' user since "Migration Assistant" indicated that it would move 
the macports user's home dir to /Users on the new machine -- which I assumed to be not desirable 
since on the old machine I see

Login: macports       			Name: MacPorts
Directory: /opt/local/var/macports/home	Shell: /usr/bin/false
Never logged in.
No Mail.
No Plan.

and I presume it should stay in that location...

Now, after the data transfer completed, on the new machine I do have a (seemingly/so far) working 
Macports installation: Migration Assistant actually transferred the stuff in /opt, too.

BUT, when now trying to selfupdate on the new machine, I get the message/warning:

Warning: Failed to copy com.apple.dt.Xcode.plist to 
/opt/local/var/macports/home/Library/Preferences: could not set owner for file 
"/opt/local/var/macports/home/Library/Preferences/com.apple.dt.Xcode.plist": user "macports" does 
not exist

although `finger macports' reports for the new machine that the user is known

Login: macports       			Name: MacPorts
Directory: /opt/local/var/macports/home	Shell: /usr/bin/false
Never logged in.
No Mail.
No Plan.

as does `id macports'.

what am I missing?

thanks,

joerg


More information about the macports-users mailing list