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

MacPorts noreply at macports.org
Thu Mar 2 17:38:21 UTC 2017


#53677: Strange error: macports user undefined
-----------------------+--------------------
  Reporter:  lucbouge  |      Owner:
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  base      |    Version:  2.4.1
Resolution:  invalid   |   Keywords:
      Port:            |
-----------------------+--------------------
Description changed by mf2k:

Old 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.

New 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.

--

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


More information about the macports-tickets mailing list