in reply to When cpan returns the dreaded "won't install without force"
I think that it certainly would be an improvement if the failed installation session would end with a synopsis of exactly why the process failed ... and if there were routinely a log or transcript. The output of any installation is extremely noisy.
However, it would not be particularly easy to do this, because packages vary in age as well as in the completeness of their designs, all of which are self-contributed by whomever owns the package (or owned it at the time). There is no single-standard. There’s even more than one module-building framework: when improvements to that process were introduced, package maintainers gradually over time (maybe) moved to it, but old packages that still work just fine were not re-written. The quality-assurance such as it is (and usually, it is just fine) is self-regulated by the CPAN community.
I have a few particular cases where the “won’t install without” scenario appears in some of the deployments that I maintain:
“Missing and unrealized prerequisites,” by-the-by, are a definite possibility to be dealt-with in the field. Success of an installation depends not only upon you correctly specifying all of the pre-requisites and co-requisites of your package, but that all of them have done the same and that they forever continue to do so. To some degree, manifests and so-forth are hand written. If a requisite is left-out but your system does have it, you don’t necessarily recognize the existence of the problem. On top of this, there are a few “co-dependency paradoxes” which actually oblige you to force installation of package A, in order that you can now install package B, in order that you can now properly re-install package A. You can see this clearly if you have to deal with a scenario that rarely occurs: installing a Perl application on an absolutely-naked system i.e. step #1 is compiling the Perl executable from scratch and so-on. And your task is to construct an absolutely hands-free installer/updater for that case. Attempt that, and you will find some amount of grief despite everyone else’s earnest efforts.
Replies are listed 'Best First'. | |
---|---|
Re^2: When cpan returns the dreaded "won't install without force"
by Anonymous Monk on Mar 18, 2013 at 14:04 UTC | |
Re^2: When cpan returns the dreaded "won't install without force"
by Intrepid (Curate) on Mar 23, 2013 at 03:56 UTC | |
Re^2: When cpan returns the dreaded "won't install without force"
by Lady_Aleena (Priest) on Mar 24, 2013 at 05:25 UTC |