pearのパッケージのインストールが失敗する
pearのパッケージをインストールしようとして「No releases available for package」というエラーが出る場合は、キャッシュをクリアすれば成功することがある。
$ pear install phpdoc/phpDocumentor No releases available for package "pear.phpdoc.org/phpDocumentor" install failed
キャッシュクリアのコマンドはpear clear-cacheだ。
$ pear clear-cache reading directory C:\Users\people\AppData\Local\Temp\pear\cache 126 cache entries cleared $ pear install phpdoc/phpDocumentor downloading phpDocumentor-2.1.0.tgz ... Starting to download phpDocumentor-2.1.0.tgz (2,512,395 bytes) ..........done: 2,512,395 bytes install ok: channel://pear.phpdoc.org/phpDocumentor-2.1.0