Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#53677 closed defect (invalid)

Strange error: macports user undefined

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

Description (last modified by mf2k (Frank Schima))

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 (3)

comment:1 Changed 8 years ago by lucbouge (Luc Bougé)

I downloaded the package from the MacPorts site and installed it. It went very well, and the problem appears to be solved.

Luc.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Component: portsbase
Keywords: Undefined Macports user removed
Resolution: invalid
Status: newclosed

In the future, please use WikiFormatting.

Glad you got it working.

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.