Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to do a port upgrade outdated, but it stops on a package conflict that I'm not able to fix.

Does anyone know how to fix this problem?

sudo port upgrade outdated
--->  Computing dependencies for subversion-perlbindings-5.16
Error: Unable to exec port: Can't install subversion-perlbindings-5.16 because 
conflicting ports are installed: subversion-perlbindings-5.12
share|improve this question
1  
Do you think my answer below is an acceptable answer to macports? while brew is an option, there are still people that prefer macports and my answer might be the right answer for them. –  Yehosef Feb 6 at 9:20
1  
Just accepted your answer. –  javsmo Feb 6 at 12:32

2 Answers 2

up vote 13 down vote accepted

I had the same problem. I did:

sudo port deactivate -f subversion-perlbindings-5.12

which allows me to install the new version of the perl bindings.

share|improve this answer
1  
I can't confirm that this works with my problem, because I removed macports and installed homebrew. However, if you are saying that you had the same problem, I think your answer should be accepted because it solves the problem. I'll search a little bit more to know if your answer could be accepted. –  javsmo Feb 3 at 18:35
1  
This worked for me. Thanks. –  Esko Luontola Feb 4 at 10:28
    
another note - right after the deactivate I ran "sudo port install subversion-perlbindings-5.16" and then did a "sudo port update outdated" and everything updated without problem (git, python, php54, mongodb, mysql, curl, etc) I haven't had any additional problems. –  Yehosef Feb 4 at 12:30
    
I'm not sure if they install of the 5_16 version is necessary or it'll happen automatically (I assume the latter) but I'm just including it for completeness. –  Yehosef Feb 4 at 12:33
    
Worked perfect. Thanks! –  plang Feb 18 at 15:56

I prefer brew: http://brew.sh

There are tutorials like this teaching how to port from macports to homebrew.

share|improve this answer
    
I've been told that brew is better than macports in many aspects. If nobody answer the question, suggesting some fix with macports, I think I'll be forced to migrate to brew. –  javsmo Jan 31 at 14:02
    
After one day without other comments, I'll accept your answer, give up macports and install homebrew... –  javsmo Feb 1 at 13:22
    
I had to accept Yehosef's answer, as it was related to macports, although your answer have solved my problem another way. –  javsmo Feb 6 at 12:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.