macports-users Digest, Vol 60, Issue 21

Rodolfo Aramayo raramayo at gmail.com
Sun Aug 21 11:03:16 PDT 2011


Frank,

Please see below...


> Message: 3
> Date: Sun, 21 Aug 2011 02:42:34 -0700
> From: "Frank J. R. Hanstick" <trog24 at comcast.net>
> To: MacPorts Users <macports-users at lists.macosforge.org>
> Subject: Active version error
> Message-ID: <2E5A2679-1C77-4FB6-B837-A102DFCBD384 at comcast.net>
> Content-Type: text/plain; charset="us-ascii"; Format="flowed";
>        DelSp="yes"
>
> Hello,
>        The following occurred during an upgrade:
>
> --->  Computing dependencies for p5.12-scalar-list-utils
> --->  Fetching archive for p5.12-scalar-list-utils
> --->  Attempting to fetch p5.12-scalar-list-
> utils-1.230.0_2.darwin_9.ppc.tgz from http://packages.macports.org/p5.12-scalar-list-utils
> --->  Fetching p5.12-scalar-list-utils
> --->  Verifying checksum(s) for p5.12-scalar-list-utils
> --->  Extracting p5.12-scalar-list-utils
> --->  Configuring p5.12-scalar-list-utils
> --->  Building p5.12-scalar-list-utils
> --->  Staging p5.12-scalar-list-utils into destroot
> --->  Installing p5.12-scalar-list-utils @1.230.0_2
> --->  Activating p5.12-scalar-list-utils @1.230.0_2
> Error: Target org.macports.deactivate returned: Active version of p5-
> scalar-list-utils is not 1.230.0_1 but 1.23_1.
> Log for p5-scalar-list-utils is at: /opt/local/var/macports/logs/
> _opt_local_var_macports_registry_portfiles_p5-scalar-list-utils_1.23_1/
> p5-scalar-list-utils/main.log
> Warning: Failed to execute portfile from registry for p5-scalar-list-
> utils @1.23_1
> --->  Deactivating p5-scalar-list-utils @1.23_1
> --->  Cleaning p5.12-scalar-list-utils


I have seen the same problem.
I believe there is a bug somewhere in the portfiles that update a
'p5-*' port to a 'p5.12-*' port
Let me explain;

Say I am upgrading:

p5-scalar-list-utils

the new port is:

p5.12-scalar-list-utils

The new port is fetched, verified, extracted, patched, configured,
built, installed and activated
but if you try to run 'port -u uninstall p5-scalar-list-utils'
you will run into trouble because ports does not recognize
'p5-scalar-list-utils' as installed and might complain about other
ports needing this port
If you then run the command:  'port -uf uninstall
p5-scalar-list-utils' ports does the uninstall

Is like at some point although ports knows that
p5.12-scalar-list-utils is installed, it does not know that the port
p5-scalar-list-utils can be uninstalled

Forcing the uninstall of all the ports 'p5-*' that have been updated
to 'p5.12-*' solves the problem and clean up the upgraded ports

In my case I had to write a script to clean the ~590 p5-* ports that
were upgraded to p5.12-*

Hope this helps

--R


>
>        This was not a show stopper.  A log is attached.
>
> Frank J. R. Hanstick
> trog24 at comcast.net
>
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: main.log
> Type: application/octet-stream
> Size: 965 bytes
> Desc: not available
> URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110821/950f8bf9/attachment-0001.obj>
>
> ------------------------------
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
>
> End of macports-users Digest, Vol 60, Issue 21
> **********************************************
>


More information about the macports-users mailing list