Opened 7 years ago

Last modified 7 years ago

#53677 closed defect

Strange error: macports user undefined — at Initial Version

Reported by: lucbouge (Luc Bougé) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.4.1
Keywords: Cc:
Port:

Description

Dear MacPorts,

I have just switched from an old Mac to a brand new one, with a new system image. The former user disk has been physically duplicated to the new one, so that all the applications have been transported, including MacPorts.

However, I got a failure message:

$ sudo port selfupdate

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

I realize that the MacPorts procedure has not been run on the new system image, so that the files are all right, but the additional hooks have not been run.

You might wish to add the relevant checks to detect this strange case.

Thanks for your very good work,

Luc.

Change History (0)

Note: See TracTickets for help on using tickets.