Opened 10 years ago

Closed 10 years ago

#43477 closed defect (wontfix)

subversion-perlbindings-5.16 Can't install because conflicting ports are installed

Reported by: trac.macports@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: blair (Blair Zajac)
Port: subversion-perlbindings-5.16

Description

OS: Snow Leopard 10.6.8

sudo port upgrade outdated fails to upgrade ports because of conflict of the ports:

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

I have tried uninstalling subversion-perlbindings-5.12 @1.8.1_0, but it is a dependency for p5.12-svn-simple @0.280.0_4 which in turn is dependency of git-core @1.8.3.4_0+credential_osxkeychain+doc+pcre+python27+svn

At this moment I stop trying to uninstall the conflicting port as I need git.

There is one simple solution suggested at superuser.com: http://superuser.com/questions/709590/macport-upgrade-fails-with-subversion-perlbindings-conflict The solution suggests forcefully deactivating the subversion-perlbindings-5.12 package via the folloging command:

sudo port deactivate -f subversion-perlbindings-5.12

Please solve the problem or advise on correct end-user solution.

Change History (5)

comment:1 Changed 10 years ago by trac.macports@…

Cc: trac.macports@… added

Cc Me!

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: blair@… added; trac.macports@… removed
Keywords: port conflict removed
Owner: changed from macports-tickets@… to dluke@…
Priority: HighNormal

Your ports appear to be outdated. The current version of git-core is 1.9.2, not 1.8.3.4. It has variants for which version of perl you want to use. The default is perl 5.16. The default used to be perl 5.12, and it appears that your git-core install dates from before there were variants for selecting which perl you want.

Your options are to either install git-core with the perl5_12 variant to stay with the old perl 5.12, or install git-core with the perl5_16 variant to move to the new perl 5.16. To do the former, you would:

sudo port install git-core +perl5_12

But the latter is probably better, and is what MacPorts is trying to do for you automatically when you run "sudo port upgrade outdated", only the subversion perl bindings ports conflict, so it can't do it for you automatically. Forcibly deactivating or uninstalling subversion-perlbindings-5.12 and p5.12-svn-simple should be fine, since after that MacPorts will be installing their perl 5.16 counterparts when git-core gets upgraded.

comment:3 Changed 10 years ago by trac.macports@…

Thank you.

I used the forced deactivation command and right now all remaining outdated ports are being upgraded.

I always wondered, is there a simple command that would delete all older versions of installed ports while retaining some of the older ports (and their dependencies) that I really wanted to use? And also, is there a way to install older versions of ports?

I know this is not a Q&A platform, but could you enlighten me since the docs are so complex and you are already talking to me?

:) Thanks again, Thomas

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

I did not see your above usage question because I am not Cc'd on this ticket. Please pose your question on the macports-users mailing list if you still need help.

comment:5 Changed 10 years ago by danielluke (Daniel J. Luke)

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