Opened 9 years ago

Last modified 9 years ago

#47353 closed defect

Can't update ports after upgrade to 2.3.3 — at Version 1

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

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

I have had MacPorts running successfully on this 10.7.5 box. I primarily use it for MRTG, and haven't updated in quite a while.

Yesterday, I ran the selfupdate and upgrade to 2.3.3 (not sure, of the previous version, but likely 2.2.?, or maybe older.) The update was successful, but when I ran 'sudo port upgrade outdated' I received an error:

Error: Unable to execute port: couldn't open "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/.macports.gettext.state": permission denied

I have searched for related issues and tried similar fixes, as well as trying to reinstall 2.3.3 over top of itself. I also looked for the "/opt/local/var/macports..." directory but it doesn't exist. Apparently something significant has changed from my older version.

Any help or guidance to repair would be greatly appreciated. I can still start MRTG, etc., but can't upgrade the ports.

Change History (1)

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

Description: modified (diff)
Keywords: ports upgrade rsync removed

The directory in question surely must exist, since the error message mentions it; it is possible you cannot see it in the Finder, however.

Try deleting the directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext, then trying again. You could do so by running:

sudo rm -rf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext
Note: See TracTickets for help on using tickets.