Opened 10 years ago

Last modified 10 years ago

#41932 closed defect

Mavericks 10.9 - Could not open Portfile — at Version 1

Reported by: mkbriney@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When I try and install anything using sudo port install xxx I get the following error:

Error: Unable to execute port: Could not open file: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/xxx/Portfile

I am running the latest version of MacPorts (2.2.1) on OSX 10.9.1. I have tried performing a sync of the sources tree, even in debug mode.

Change History (2)

Changed 10 years ago by mkbriney@…

Attachment: debug.txt added

Debug log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Sounds like the permissions of your ports tree are incorrect. No idea why that would be, but you'll need to fix them. Reasonable permissions would be for directories to be 755 and files to be 644, so you could run:

sudo echo
find /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports -type d -print0 | xargs -0 sudo chmod 755
find /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports -type f -print0 | xargs -0 sudo chmod 644
Note: See TracTickets for help on using tickets.