#49569: selfupdate failed on El Capitan -----------------------------+-------------------------------- Reporter: axknightroad@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.3.4 Resolution: invalid | Keywords: Port: | -----------------------------+-------------------------------- Changes (by ryandesign): * status: new => closed * resolution: => invalid Comment: Replying to [comment:11 uncat]:
Replying to [comment:9 alfreditomora@…]:
Replying to [ticket:49569 axknightroad@…]:
I had the same error over a wifi connection, but when I moved to a wired connection it worked. Additionally I had to change the permissions (chmod 777) to this file (/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/). Finally I used sudo to run the command:
sudo port -v selfupdate
you are right ,but not 777 ,because it is a directory,so you should change the permissions (chmod 664) to that file
Directories need execute permission; 664 does not include execute permission. I'm going to close this ticket since the problem was determined to be due to wrong permissions on the user's system and problems specific to the user's network. -- Ticket URL: <https://trac.macports.org/ticket/49569#comment:12> MacPorts <https://www.macports.org/> Ports system for macOS