How upgrade p5.20-test, p5.20-module-build

Murray Eisenberg murrayeisenberg at gmail.com
Mon Dec 22 13:43:29 PST 2014


What about p5.*-test-output and p5.*-module-build, which seem to be giving similar errors on trying to upgrade?


On 22 Dec2014, at 3:53 PM, David Evans <devans at macports.org> wrote:

> On 12/22/14 12:34 PM, Murray Eisenberg wrote:
>> I'm trying to upgrade the indicated ports. I keep getting error messages like this:
>> 
>>   --->  Activating p5.20-test-simple @1.1.11_0
>> Error: org.macports.activate for port p5.20-test-simple returned: Image error: /opt/local/lib/perl5/vendor_perl/5.20/Test/Tester.pm is being used by the active p5.20-test-tester port.  Please deactivate this port first, or use 'port -f activate p5.20-test-simple' to force the activation.
>> 
>> I try deactivating or using the -f flag, but I still get similar errors. I've tried to uninstall but find myself in a morass of dependent modules.
>> 
>> How get out of this?
>> 
>> 
>> ---
>> Murray Eisenberg		murrayeisenberg at gmail.com
>> 503 King Farm Blvd #101		Home (240)-246-7240
>> Rockville, MD 20850-6667	Mobile (413)-427-5334
>> 
>> 
> 
> This is a known problem which has not as yet been fixed. Basicly, p5-test-tester (and p5-test-use-ok) have been integrated into p5-test-simple and are no longer
> required to build any port. See https://trac.macports.org/ticket/46300.
> 
> To work around this:
> 
>  1) make sure your ports are up-to-date
>        sudo port selfupdate
>  2) uninstall/deactivate p5.*-test-tester and p5.*-test-use-ok
>        sudo port -f uninstall p5.*-test-tester and installed
>        sudo port -f uninstall p5.*-test-use-ok and installed
>  3) clean and upgrade p5*-test-simple
>        sudo port clean p5*-test-simple
>        sudo port upgrade p5.20-test-simple
> 
> I believe this should work for you
> 
> Dave
> 
> 

---
Murray Eisenberg		murrayeisenberg at gmail.com
503 King Farm Blvd #101		Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334







More information about the macports-users mailing list