Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: ppm profile failed: Can't determine best

by syphilis (Canon)
on Sep 22, 2012 at 02:31 UTC ( #995024=note: print w/ replies, xml ) Need Help??


in reply to Re^4: ppm profile failed: Can't determine best
in thread ppm profile failed: Can't determine best

Funnily enough, the file in question was an old freind :)

/me withdraws the bat and impassively watches as the ball passes through to the keeper ... ;-)

It really is a pitfa that ActiveState decided to add this "feature" to PPM ... and that they implemented it in the way they have. There are a number of solutions, including the ones that you and bulk88 came up with - but none with which I'm (yet) all that comfortable.

Btw, PAR-Dist-InstallPPD will install the ppm packages without any problems - but it's not sophisiticated enough to deal automatically with pre-requisite modules and post install scripts. (Here's a demo script that installs PDL and dependencies using that module.)
Maybe I should get a version released that *does* understand how to handle post-install scripts and prerequisite modules. It's probably not of great interest to those who have ActivePerl, but is handy for any perl distros that don't have a satisfactory PPM utility.

Unfortunately, running it again means it re-downloads everything it had already downloaded

I would have hoped that it would be a simple editing operation to remove those packages that had already been installed from the profile file (prior to running again). Of course, if the upgrade doesn't process those packages in the same sequence as they are listed in the profile file, then such editing will not be so simple ...

Cheers,
Rob


Comment on Re^5: ppm profile failed: Can't determine best
Re^6: ppm profile failed: Can't determine best
by BrowserUk (Pope) on Sep 22, 2012 at 02:40 UTC
    I would have hoped that it would be a simple editing operation to remove those packages that had already been installed from the profile file

    It was unclear to me from the scant information displayed guring the first run whether the packages had been downloaded and installed; or just downloaded to then be installed. Mercifully, most ppms are relatively small and the process runs quite quickly < 10 minutes for close to 300 packages.

    Certainly a lot faster than rebuilding and installing all the cpan packages I am also transferring over.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995024]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2014-10-31 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (222 votes), past polls