Selfupdate to MacPorts 2.8.0 Throws Error 'Couldn't change permissions of the MacPorts sources'

Chris Jones jonesc at
Sun Oct 23 10:55:43 UTC 2022


Already reported. See

which includes a link to


> On 22 Oct 2022, at 1:09 pm, Steven Smith <steve.t.smith at> wrote:
> I’m consistently getting this error across multiple boxes when doing a selfupdate to 2.8.0:
>> Congratulations, you have successfully upgraded the MacPorts system.
>> Error: Couldn't change permissions of the MacPorts sources at /opt/local/var/macports/sources/ to root: child killed: kill signal
> Another selfupdate command ignores the issue, but the ownership of base appears to be broken:
>> ls -ld /opt/local/var/macports/sources/
>> drwxr-xr-x  35 messagebus  polkitd  1120 Oct 22 07:57 /opt/local/var/macports/sources/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-dev mailing list