[MacPorts] #41932: Mavericks 10.9 - Could not open Portfile
MacPorts
noreply at macports.org
Thu Dec 26 21:31:52 PST 2013
#41932: Mavericks 10.9 - Could not open Portfile
-------------------------+--------------------------------
Reporter: mkbriney@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: |
-------------------------+--------------------------------
Old description:
> 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.
New description:
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.
--
Comment (by ryandesign@…):
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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/41932#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list