[MacPorts] #53677: Strange error: macports user undefined

MacPorts noreply at macports.org
Thu Mar 2 17:27:28 UTC 2017


#53677: Strange error: macports user undefined
-------------------------------------+-------------------
 Reporter:  lucbouge                 |      Owner:
     Type:  defect                   |     Status:  new
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:  2.4.1
 Keywords:  Undefined Macports user  |       Port:
-------------------------------------+-------------------
 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.

--
Ticket URL: <https://trac.macports.org/ticket/53677>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list