Can't update Macports (with Mac OS X Mavericks)

前端 未结 9 1657
独厮守ぢ
独厮守ぢ 2020-12-22 16:18

After upgrading Mac OS X to newest version Mavericks, I attempted to selfupdate my Macports, but it failed:

$ sudo port -v selfupdate
--->  Updating MacPo         


        
9条回答
  •  隐瞒了意图╮
    2020-12-22 16:58

    I mainly wanted to comment on @Brett's answer above (sorry, SO n00b still, not allowed) and share my experience upgrading... not really a new answer, but hopefully some useful info.

    I downloaded and installed the Mavericks MacPorts installer as described above, (but without removing /opt, as suggested by @King Julian did self update which was fine, and then upgrade outdated and it seems to be uninstalling and reinstalling all my ports with a message:

    Warning: Deactivate forced.  Proceeding despite dependencies.
    

    on each one. Luckily i made a copy of the etc and apache2/conf dirs, so should be able to get my config back when it eventually finishes... after 30 minutes or so it threw an error

    Unable to open port: extra characters after close-quote
    

    So i did self update again and upgrade outdated seems to run again...

    So looks like it can be done (LAMP all working anyway) - it might have been quicker to start again from scratch, but make sure you have at least a couple of hours spare for this (and be connected to mains power ;)

    Apologies if too much info, but hope it helps!

提交回复
热议问题