[MacPorts] #36650: db46: can't create work symlink: permission denied

MacPorts noreply at macports.org
Thu Oct 18 10:37:00 PDT 2012


#36650: db46: can't create work symlink: permission denied
--------------------------+--------------------------------
  Reporter:  l.hoffman@…  |      Owner:  macports-tickets@…
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.1.2
Resolution:  invalid      |   Keywords:
      Port:  db46         |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  reopened => closed
 * resolution:   => invalid


Comment:

 Replying to [comment:2 l.hoffman@…]:
 > I do use "sudo" to begin with.  I typed "sudo port selfupdate", which
 ran successfully. Then, when attempting "port update outdated", I received
 the error described above.  Since earlier, I have gone through the process
 again with identical results.  Any other suggestions?

 You needed to have used "sudo" in front of the "port update outdated"
 command too.


 Replying to [comment:3 l.hoffman@…]:
 > When I added the preface "sudo" to the latter command, I now receive the
 following error:
 >
 > {{{
 > Error: Unable to upgrade port: couldn't open
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_db46/db46/work/.macports.db46.state":
 permission denied
 > }}}

 Try cleaning the port, both with and without sudo:

 {{{
 port clean db46
 sudo port clean db46
 }}}

 Then try upgrading it again.

 If all else fails you can manually delete the directory
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_db46
 and then try again.

-- 
Ticket URL: <https://trac.macports.org/ticket/36650#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list