Upgrading PEAR - A moan and groan
Wednesday, March 12th, 2008Well, let’s say i want to do something stupid and upgrade my PEAR packages. I go to the command line and run..
pear upgrade-all
and it … well fails for some packages because they’re alpha or beta.
Now far be it from me to moan but surely it’s more important to upgrade alpha and beta packages than the other packages?
Anyway fix it by upgrading each independently. For example;
pear upgrade Validate
fails as it’s beta - so append “-beta” on the end and hey presto it works.
pear upgrade Validate-beta
Genius! I just hope that maybe one day logic will win out and upgrade-all will mean upgrade-all?