[MacPorts] #47353: Can't update ports after upgrade to 2.3.3

MacPorts noreply at macports.org
Sun Apr 5 10:48:06 PDT 2015


#47353: Can't update ports after upgrade to 2.3.3
-----------------------+--------------------------------
  Reporter:  jczech@…  |      Owner:  macports-tickets@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:            |   Keywords:
      Port:            |
-----------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:  ports upgrade rsync =>


Old description:

> 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.

New description:

 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.

--

Comment:

 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/47353#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list