Activating git-core 1.5.3.1_0 failed:

Ryan Schmidt ryandesign at macports.org
Fri Jun 13 13:47:56 PDT 2008


On Jun 13, 2008, at 13:48, Yvon Thoraval wrote:

>> No port should claim ownership of perllocal.pod. Any port that  
>> does needs to be fixed.
>>
>> git-core stopped claiming ownership of perllocal.pod in r34462  
>> (2008-02-25) so you should update your ports ("sudo port  
>> selfupdate"), clean git-core ("sudo port clean --work git-core")  
>> and try upgrading it again ("sudo port upgrade git-core").
>
> Unfortunately, i got about the same :
>
> ~%> sudo port selfupdate
> Password:
>
> MacPorts base version 1.600 installed
>
> Downloaded MacPorts base version 1.600
>
> The MacPorts installation is not outdated and so was not updated
> selfupdate done!
> ~%> sudo port clean --work git-core
> Password:
> Portfile changed since last build; discarding previous state.
> --->  Cleaning git-core
> ~%> sudo port upgrade git-core
> --->  Activating git-core 1.5.3.1_0+doc
> Error: Activating git-core 1.5.3.1_0 failed: Image error: /opt/ 
> local/lib/perl5/5.8.8/darwin-2level/perllocal.pod already exists  
> and does not belong to a registered port.  Unable to activate port  
> git-core.
> ~%>


Try uninstalling git-core @1.5.3.1_0+doc first.

sudo port -f uninstall git-core @1.5.3.1_0+doc

Better yet, uninstall all versions of git-core you have installed.  
Then "sudo port install git-core" and it should rebuild.



More information about the macports-users mailing list