Opened 6 years ago

Closed 6 years ago

#47353 closed defect (invalid)

Can't update ports after upgrade to 2.3.3

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 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 (3)

comment:1 Changed 6 years ago by ryandesign (Ryan 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

comment:2 in reply to:  1 Changed 6 years ago by jczech@…

Replying to ryandesign@…:

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

Thank you, very much, for the assistance! The directory was visible in the terminal. Also, deleting the directory per your reply did the trick!

Ports were updated fine after the directory was removed. Please consider this issue resolved, and thank you again!

comment:3 Changed 6 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.